CppAD: A C++ Algorithmic Differentiation Package
20171217
|
sparsity pattern for a matrix with indices of type size_t 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_rc &pattern) |
assignment More... | |
void | resize (size_t nr, size_t nc, size_t nnz) |
resize More... | |
const SizeVector & | row (void) const |
row indices More... | |
SizeVector | row_major (void) const |
row-major order More... | |
void | set (size_t k, size_t r, size_t c) |
set row and column for a possibly non-zero element More... | |
sparse_rc (void) | |
default constructor Eigen vector is ambiguous for row_(0), col_(0) so use default ctor More... | |
sparse_rc (size_t nr, size_t nc, size_t nnz) | |
sizing constructor Eigen vector is ambiguous for row_(0), col_(0) so use default ctor More... | |
sparse_rc (const sparse_rc &other) | |
copy constructor More... | |
Private Attributes | |
SizeVector | col_ |
col_[k] is the column index for the k-th possibly non-zero entry More... | |
size_t | nc_ |
number of columns in the sparsity pattern More... | |
size_t | nnz_ |
number of possibly non-zero index pairs More... | |
size_t | nr_ |
number of rows in the sparsity pattern More... | |
SizeVector | row_ |
row_[k] is the row index for the k-th possibly non-zero entry More... | |
sparsity pattern for a matrix with indices of type size_t
Definition at line 212 of file sparse_rc.hpp.