#include <DenseLinAlgPack_DMatrixClass.hpp>
| DMatrixSlice () | |
| DMatrixSlice (value_type *ptr, size_type size, size_type max_rows, size_type rows, size_type cols) | |
| DMatrixSlice (DMatrixSlice &gms, const Range1D &I, const Range1D &J) | |
| size_type | rows () const |
| Return the number of rows. | |
| size_type | cols () const |
| Return the number of columns. | |
| EOverLap | overlap (const DMatrixSlice &gms) const |
| reference | operator() (size_type i, size_type j) |
| Return element at row i, col j (i,j) (1-based) (throws std::out_of_range if i, j are out of bounds). | |
| const_reference | operator() (size_type i, size_type j) const |
| Return element at row i, col j (i,j) (1-based) (throws std::out_of_range if i, j are out of bounds). | |
| DVectorSlice | row (size_type i) |
| Return DVectorSlice object representing the ith row (1-based; 1,2,..,this->rows()#, or throw std::out_of_range). | |
| const DVectorSlice | row (size_type i) const |
| Same as above. | |
| DVectorSlice | col (size_type j) |
| Return DVectorSlice object representing the jth column (1-based; 1,2,..,this->cols()#, or throw std::out_of_range). | |
| const DVectorSlice | col (size_type j) const |
| Same as above. | |
| DVectorSlice | diag (difference_type k=0) |
| const DVectorSlice | diag (difference_type k=0) const |
| Same as above. | |
| DMatrixSlice | operator() (const Range1D &I, const Range1D &J) |
| const DMatrixSlice | operator() (const Range1D &I, const Range1D &J) const |
| Same as above. | |
| DMatrixSlice | operator() (size_type i1, size_type i2, size_type j1, size_type j2) |
| const DMatrixSlice | operator() (size_type i1, size_type i2, size_type j1, size_type j2) const |
| Same as above. | |
| DMatrixSlice * | operator & () |
| Allow the address to be taken of an rvalue of this object. | |
| const DMatrixSlice * | operator & () const |
| | |
| DMatrixSlice & | operator() () |
| Return reference of this. Included for iniformity with DMatrix. | |
| const DMatrixSlice & | operator() () const |
| Same as above. | |
| DMatrixSlice & | operator= (value_type alpha) |
| | |
| DMatrixSlice & | operator= (const DMatrixSlice &gms_rhs) |
| | |
| size_type | max_rows () const |
| Return the number of rows in the full matrix. Equivalent to BLAS LDA argument. | |
| value_type * | col_ptr (size_type j) |
| | |
| const value_type * | col_ptr (size_type j) const |
| Same as above. | |
Public Types | |
| typedef DenseLinAlgPack::value_type | value_type |
| typedef DenseLinAlgPack::size_type | size_type |
| typedef ptrdiff_t | difference_type |
| typedef value_type & | reference |
| typedef const value_type & | const_reference |
Public Member Functions | |
| void | bind (DMatrixSlice gms) |
| | |
Definition at line 63 of file DenseLinAlgPack_DMatrixClass.hpp.
| void DenseLinAlgPack::DMatrixSlice::bind | ( | DMatrixSlice | gms | ) | [inline] |
| DMatrixSlice::size_type DenseLinAlgPack::DMatrixSlice::rows | ( | ) | const [inline] |
| DMatrixSlice::size_type DenseLinAlgPack::DMatrixSlice::cols | ( | ) | const [inline] |
| DMatrixSlice::reference DenseLinAlgPack::DMatrixSlice::operator() | ( | size_type | i, | |
| size_type | j | |||
| ) | [inline] |
Return element at row i, col j (i,j) (1-based) (throws std::out_of_range if i, j are out of bounds).
Definition at line 823 of file DenseLinAlgPack_DMatrixClass.hpp.
| DMatrixSlice::const_reference DenseLinAlgPack::DMatrixSlice::operator() | ( | size_type | i, | |
| size_type | j | |||
| ) | const [inline] |
Return element at row i, col j (i,j) (1-based) (throws std::out_of_range if i, j are out of bounds).
Definition at line 831 of file DenseLinAlgPack_DMatrixClass.hpp.
| DVectorSlice DenseLinAlgPack::DMatrixSlice::row | ( | size_type | i | ) | [inline] |
Return DVectorSlice object representing the ith row (1-based; 1,2,..,this->rows()#, or throw std::out_of_range).
Definition at line 841 of file DenseLinAlgPack_DMatrixClass.hpp.
| const DVectorSlice DenseLinAlgPack::DMatrixSlice::row | ( | size_type | i | ) | const [inline] |
| DVectorSlice DenseLinAlgPack::DMatrixSlice::col | ( | size_type | j | ) | [inline] |
Return DVectorSlice object representing the jth column (1-based; 1,2,..,this->cols()#, or throw std::out_of_range).
Definition at line 853 of file DenseLinAlgPack_DMatrixClass.hpp.
| const DVectorSlice DenseLinAlgPack::DMatrixSlice::col | ( | size_type | j | ) | const [inline] |
| const DVectorSlice DenseLinAlgPack::DMatrixSlice::diag | ( | difference_type | k = 0 |
) | const [inline] |
| const DMatrixSlice DenseLinAlgPack::DMatrixSlice::operator() | ( | const Range1D & | I, | |
| const Range1D & | J | |||
| ) | const [inline] |
| const DMatrixSlice DenseLinAlgPack::DMatrixSlice::operator() | ( | size_type | i1, | |
| size_type | i2, | |||
| size_type | j1, | |||
| size_type | j2 | |||
| ) | const [inline] |
| DMatrixSlice* DenseLinAlgPack::DMatrixSlice::operator & | ( | ) | [inline] |
Allow the address to be taken of an rvalue of this object.
Definition at line 273 of file DenseLinAlgPack_DMatrixClass.hpp.
| const DMatrixSlice* DenseLinAlgPack::DMatrixSlice::operator & | ( | ) | const [inline] |
| DMatrixSlice & DenseLinAlgPack::DMatrixSlice::operator() | ( | ) | [inline] |
Return reference of this. Included for iniformity with DMatrix.
Definition at line 901 of file DenseLinAlgPack_DMatrixClass.hpp.
| const DMatrixSlice & DenseLinAlgPack::DMatrixSlice::operator() | ( | ) | const [inline] |
| DMatrixSlice & DenseLinAlgPack::DMatrixSlice::operator= | ( | value_type | alpha | ) | [inline] |
| DMatrixSlice & DenseLinAlgPack::DMatrixSlice::operator= | ( | const DMatrixSlice & | gms_rhs | ) | [inline] |
| DMatrixSlice::size_type DenseLinAlgPack::DMatrixSlice::max_rows | ( | ) | const [inline] |
Return the number of rows in the full matrix. Equivalent to BLAS LDA argument.
Definition at line 927 of file DenseLinAlgPack_DMatrixClass.hpp.
| DMatrixSlice::value_type * DenseLinAlgPack::DMatrixSlice::col_ptr | ( | size_type | j | ) | [inline] |
| const DMatrixSlice::value_type * DenseLinAlgPack::DMatrixSlice::col_ptr | ( | size_type | j | ) | const [inline] |
1.4.7