CppAD: A C++ Algorithmic Differentiation Package
20171217
|
Sparse matrices with elements of type Scalar. More...
Public Member Functions | |
const SizeVector & | col (void) const |
column indices More... | |
SizeVector | col_major (void) const |
column-major indices More... | |
size_t | nc (void) const |
number of columns in matrix More... | |
size_t | nnz (void) const |
number of possibly non-zero elements in matrix More... | |
size_t | nr (void) const |
number of rows in matrix More... | |
void | operator= (const sparse_rcv &matrix) |
assignment More... | |
const SizeVector & | row (void) const |
row indices More... | |
SizeVector | row_major (void) const |
row-major order More... | |
void | set (size_t k, const value_type &v) |
sparse_rcv (void) | |
default constructor More... | |
sparse_rcv (const sparse_rc< SizeVector > &pattern) | |
constructor More... | |
const ValueVector & | val (void) const |
value for possibly non-zero elements More... | |
Private Types | |
typedef ValueVector::value_type | value_type |
value_type More... | |
Private Attributes | |
sparse_rc< SizeVector > | pattern_ |
sparsity pattern More... | |
ValueVector | val_ |
val_[k] is the value for the k-th possibly non-zero entry in the matrix More... | |
Sparse matrices with elements of type Scalar.
Definition at line 212 of file sparse_rcv.hpp.