imate
C++/CUDA Reference
|
#include <c_dense_matrix.h>
Public Member Functions | |
cDenseMatrix () | |
cDenseMatrix (const DataType *A_, const LongIndexType num_rows_, const LongIndexType num_columns_, const FlagType A_is_row_major_) | |
virtual | ~cDenseMatrix () |
virtual FlagType | is_identity_matrix () const |
Checks whether the matrix is identity. More... | |
virtual void | dot (const DataType *vector, DataType *product) |
virtual void | dot_plus (const DataType *vector, const DataType alpha, DataType *product) |
virtual void | transpose_dot (const DataType *vector, DataType *product) |
virtual void | transpose_dot_plus (const DataType *vector, const DataType alpha, DataType *product) |
Public Member Functions inherited from cMatrix< DataType > | |
cMatrix () | |
Default constructor. More... | |
virtual | ~cMatrix () |
DataType | get_eigenvalue (const DataType *known_parameters, const DataType known_eigenvalue, const DataType *inquiry_parameters) const |
This virtual function is implemented from its pure virtual function of the base class. In this class, this functio has no use and was only implemented so that this class be able to be instantiated (due to the pure virtual function). More... | |
Public Member Functions inherited from cLinearOperator< DataType > | |
cLinearOperator () | |
Default constructor. More... | |
cLinearOperator (const LongIndexType num_rows_, const LongIndexType num_columns_) | |
Constructor with setting num_rows and num_columns . More... | |
virtual | ~cLinearOperator () |
LongIndexType | get_num_rows () const |
LongIndexType | get_num_columns () const |
void | set_parameters (DataType *parameters_) |
Sets the scalar parameter this->parameters . Parameter is initialized to NULL . However, before calling dot or transpose_dot functions, the parameters must be set. More... | |
IndexType | get_num_parameters () const |
FlagType | is_eigenvalue_relation_known () const |
Returns a flag that determines whether a relation between the parameters of the operator and its eigenvalue(s) is known. More... | |
Protected Attributes | |
const DataType * | A |
const FlagType | A_is_row_major |
Protected Attributes inherited from cLinearOperator< DataType > | |
const LongIndexType | num_rows |
const LongIndexType | num_columns |
FlagType | eigenvalue_relation_known |
DataType * | parameters |
IndexType | num_parameters |
Definition at line 29 of file c_dense_matrix.h.
cDenseMatrix< DataType >::cDenseMatrix |
Definition at line 26 of file c_dense_matrix.cpp.
cDenseMatrix< DataType >::cDenseMatrix | ( | const DataType * | A_, |
const LongIndexType | num_rows_, | ||
const LongIndexType | num_columns_, | ||
const FlagType | A_is_row_major_ | ||
) |
Definition at line 38 of file c_dense_matrix.cpp.
|
virtual |
Definition at line 60 of file c_dense_matrix.cpp.
|
virtual |
Implements cLinearOperator< DataType >.
Reimplemented in cuDenseMatrix< DataType >.
Definition at line 122 of file c_dense_matrix.cpp.
References cMatrixOperations< DataType >::dense_matvec().
|
virtual |
Implements cMatrix< DataType >.
Reimplemented in cuDenseMatrix< DataType >.
Definition at line 141 of file c_dense_matrix.cpp.
References cMatrixOperations< DataType >::dense_matvec_plus().
|
virtual |
Checks whether the matrix is identity.
The identity check is primarily performed in the cAffineMatrixFunction
class.
1
if the input matrix is identity, and 0
otherwise.Implements cMatrix< DataType >.
Definition at line 79 of file c_dense_matrix.cpp.
|
virtual |
Implements cLinearOperator< DataType >.
Reimplemented in cuDenseMatrix< DataType >.
Definition at line 162 of file c_dense_matrix.cpp.
References cMatrixOperations< DataType >::dense_transposed_matvec().
|
virtual |
Implements cMatrix< DataType >.
Reimplemented in cuDenseMatrix< DataType >.
Definition at line 181 of file c_dense_matrix.cpp.
References cMatrixOperations< DataType >::dense_transposed_matvec_plus().
|
protected |
Definition at line 67 of file c_dense_matrix.h.
|
protected |
Definition at line 68 of file c_dense_matrix.h.