|
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 76 of file DenseLinAlgPack_DMatrixClass.hpp.
| void DenseLinAlgPack::DMatrixSlice::bind | ( | DMatrixSlice | gms | ) | [inline] |
Definition at line 812 of file DenseLinAlgPack_DMatrixClass.hpp.
| DMatrixSlice::size_type DenseLinAlgPack::DMatrixSlice::rows | ( | ) | const [inline] |
Return the number of rows.
Definition at line 822 of file DenseLinAlgPack_DMatrixClass.hpp.
| DMatrixSlice::size_type DenseLinAlgPack::DMatrixSlice::cols | ( | ) | const [inline] |
Return the number of columns.
Definition at line 827 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 836 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 844 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 854 of file DenseLinAlgPack_DMatrixClass.hpp.
| const DVectorSlice DenseLinAlgPack::DMatrixSlice::row | ( | size_type | i | ) | const [inline] |
Same as above.
Definition at line 860 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 866 of file DenseLinAlgPack_DMatrixClass.hpp.
| const DVectorSlice DenseLinAlgPack::DMatrixSlice::col | ( | size_type | j | ) | const [inline] |
Same as above.
Definition at line 872 of file DenseLinAlgPack_DMatrixClass.hpp.
| const DVectorSlice DenseLinAlgPack::DMatrixSlice::diag | ( | difference_type | k = 0 | ) | const [inline] |
Same as above.
Definition at line 883 of file DenseLinAlgPack_DMatrixClass.hpp.
| const DMatrixSlice DenseLinAlgPack::DMatrixSlice::operator() | ( | const Range1D & | I, |
| const Range1D & | J | ||
| ) | const [inline] |
Same as above.
Definition at line 893 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 906 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 286 of file DenseLinAlgPack_DMatrixClass.hpp.
| const DMatrixSlice* DenseLinAlgPack::DMatrixSlice::operator& | ( | ) | const [inline] |
Definition at line 290 of file DenseLinAlgPack_DMatrixClass.hpp.
| DMatrixSlice & DenseLinAlgPack::DMatrixSlice::operator() | ( | ) | [inline] |
Return reference of this. Included for iniformity with DMatrix.
Definition at line 914 of file DenseLinAlgPack_DMatrixClass.hpp.
| const DMatrixSlice & DenseLinAlgPack::DMatrixSlice::operator() | ( | ) | const [inline] |
Same as above.
Definition at line 919 of file DenseLinAlgPack_DMatrixClass.hpp.
| DMatrixSlice & DenseLinAlgPack::DMatrixSlice::operator= | ( | value_type | alpha | ) | [inline] |
Definition at line 926 of file DenseLinAlgPack_DMatrixClass.hpp.
| DMatrixSlice & DenseLinAlgPack::DMatrixSlice::operator= | ( | const DMatrixSlice & | gms_rhs | ) | [inline] |
Definition at line 932 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 940 of file DenseLinAlgPack_DMatrixClass.hpp.
| DMatrixSlice::value_type * DenseLinAlgPack::DMatrixSlice::col_ptr | ( | size_type | j | ) | [inline] |
Definition at line 944 of file DenseLinAlgPack_DMatrixClass.hpp.
| const DMatrixSlice::value_type * DenseLinAlgPack::DMatrixSlice::col_ptr | ( | size_type | j | ) | const [inline] |
Same as above.
Definition at line 951 of file DenseLinAlgPack_DMatrixClass.hpp.
1.7.6.1