|
DenseLinAlgPack: Concreate C++ Classes for Dense Blas-Compatible Linear Algebra Version of the Day
|
#include <DenseLinAlgPack_DMatrixClass.hpp>
Public Member Functions | |
| void | bind (DMatrixSlice gms) |
| | |
| size_type | rows () const |
| Return the number of rows. | |
| size_type | cols () const |
| Return the number of columns. | |
| 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. | |
| const DVectorSlice | diag (difference_type k=0) const |
| Same as above. | |
| const DMatrixSlice | operator() (const Range1D &I, const Range1D &J) const |
| Same as above. | |
| 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. | |
Definition at line 63 of file DenseLinAlgPack_DMatrixClass.hpp.
| void DenseLinAlgPack::DMatrixSlice::bind | ( | DMatrixSlice | gms | ) | [inline] |
Definition at line 799 of file DenseLinAlgPack_DMatrixClass.hpp.
| DMatrixSlice::size_type DenseLinAlgPack::DMatrixSlice::rows | ( | ) | const [inline] |
Return the number of rows.
Definition at line 809 of file DenseLinAlgPack_DMatrixClass.hpp.
| DMatrixSlice::size_type DenseLinAlgPack::DMatrixSlice::cols | ( | ) | const [inline] |
Return the number of columns.
Definition at line 814 of file DenseLinAlgPack_DMatrixClass.hpp.
| 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] |
Same as above.
Definition at line 847 of file DenseLinAlgPack_DMatrixClass.hpp.
| 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] |
Same as above.
Definition at line 859 of file DenseLinAlgPack_DMatrixClass.hpp.
| const DVectorSlice DenseLinAlgPack::DMatrixSlice::diag | ( | difference_type | k = 0 | ) | const [inline] |
Same as above.
Definition at line 870 of file DenseLinAlgPack_DMatrixClass.hpp.
| const DMatrixSlice DenseLinAlgPack::DMatrixSlice::operator() | ( | const Range1D & | I, |
| const Range1D & | J | ||
| ) | const [inline] |
Same as above.
Definition at line 880 of file DenseLinAlgPack_DMatrixClass.hpp.
| const DMatrixSlice DenseLinAlgPack::DMatrixSlice::operator() | ( | size_type | i1, |
| size_type | i2, | ||
| size_type | j1, | ||
| size_type | j2 | ||
| ) | const [inline] |
Same as above.
Definition at line 893 of file DenseLinAlgPack_DMatrixClass.hpp.
| 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] |
Definition at line 277 of file DenseLinAlgPack_DMatrixClass.hpp.
| 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] |
Same as above.
Definition at line 906 of file DenseLinAlgPack_DMatrixClass.hpp.
| DMatrixSlice & DenseLinAlgPack::DMatrixSlice::operator= | ( | value_type | alpha | ) | [inline] |
Definition at line 913 of file DenseLinAlgPack_DMatrixClass.hpp.
| DMatrixSlice & DenseLinAlgPack::DMatrixSlice::operator= | ( | const DMatrixSlice & | gms_rhs | ) | [inline] |
Definition at line 919 of file DenseLinAlgPack_DMatrixClass.hpp.
| 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] |
Definition at line 931 of file DenseLinAlgPack_DMatrixClass.hpp.
| const DMatrixSlice::value_type * DenseLinAlgPack::DMatrixSlice::col_ptr | ( | size_type | j | ) | const [inline] |
Same as above.
Definition at line 938 of file DenseLinAlgPack_DMatrixClass.hpp.
1.7.4