NCBI C++ ToolKit
Public Member Functions | List of all members
AMatrix Class Reference

Search Toolkit Book for AMatrix

#include <algo/structure/cd_utils/cuMatrix.hpp>

+ Inheritance diagram for AMatrix:
+ Collaboration diagram for AMatrix:

Public Member Functions

 AMatrix ()
 
 AMatrix (const int NumRows, const int NumCols)
 
 AMatrix (const AMatrix &Matrix)
 
AMatrix_baseoperator[] (int RowIndex)
 
- Public Member Functions inherited from AMatrix_base
 AMatrix_base ()
 
 AMatrix_base (const int NumRows, const int NumCols)
 
 AMatrix_base (const AMatrix_base &Matrix)
 
AMatrix_baseoperator= (const AMatrix_base &Matrix)
 
 ~AMatrix_base ()
 
void GetSize (int &NumRows, int &NumCols)
 
int GetNumRows () const
 
int GetNumCols () const
 
double FastGet (const int RowIndex, const int ColIndex) const
 
bool IsColSet (int ColIndex) const
 
bool Shrink (const int NumRows, const int NumCols)
 
void ReSize (const int NumRows, const int NumCols)
 
double & operator[] (int ColIndex)
 
double Get (int RowIndex, int ColIndex)
 
void Set (int RowIndex, int ColIndex, double Val)
 
void LinearTransform (double b, double m, bool ignoreDiagonal=false)
 
void GetExtremalEntries (double &max, double &min, bool ignoreDiagonal=false)
 
void DeAllocate ()
 

Additional Inherited Members

- Protected Member Functions inherited from AMatrix_base
int Max (int Val1, int Val2)
 
- Protected Attributes inherited from AMatrix_base
double ** m_Array
 
boolm_ColumnFlags
 
int m_NumRows
 
int m_NumCols
 
int m_RowIndex
 

Detailed Description

Definition at line 155 of file cuMatrix.hpp.

Constructor & Destructor Documentation

◆ AMatrix() [1/3]

AMatrix::AMatrix ( )
inline

Definition at line 163 of file cuMatrix.hpp.

◆ AMatrix() [2/3]

AMatrix::AMatrix ( const int  NumRows,
const int  NumCols 
)
inline

Definition at line 165 of file cuMatrix.hpp.

◆ AMatrix() [3/3]

AMatrix::AMatrix ( const AMatrix Matrix)
inline

Definition at line 167 of file cuMatrix.hpp.

Member Function Documentation

◆ operator[]()

AMatrix_base& AMatrix::operator[] ( int  RowIndex)
inline

Definition at line 170 of file cuMatrix.hpp.

References assert, and AMatrix_base::m_RowIndex.


The documentation for this class was generated from the following file:
Modified on Fri Sep 20 14:57:43 2024 by modify_doxy.py rev. 669887