
template<class T> | |
void | bitpit::linearalgebra::display (std::ostream &, std::vector< std::vector< T > > &) |
template<class T, size_t m, size_t n> | |
void | bitpit::linearalgebra::display (std::ostream &, std::array< std::array< T, n >, m > &) |
template<class T> | |
void | bitpit::linearalgebra::displayColMajor (std::ostream &out, T *A, int nRows, int nCols) |
template<class T> | |
void | bitpit::linearalgebra::displayRowMajor (std::ostream &out, T *A, int nRows, int nCols) |
template<class T> | |
void | bitpit::linearalgebra::displayColMajorSymmetric (std::ostream &out, T *A, int nRows, int nCols, char uplo) |
template<class T> | |
void | bitpit::linearalgebra::displayRowMajorSymmetric (std::ostream &out, T *A, int nRows, int nCols, char uplo) |
Detailed Description
Function Documentation
◆ display() [1/2]
void bitpit::linearalgebra::display | ( | std::ostream & | out, |
std::array< std::array< T, n >, m > & | A ) |
Display matrix to output stream in a nicely formatted form. Overloading of display() function for container array.
- Parameters
-
[in,out] out output stream [in] A matrix to be displayed
Definition at line 88 of file matrix_utilities.tpp.
◆ display() [2/2]
void bitpit::linearalgebra::display | ( | std::ostream & | out, |
std::vector< std::vector< T > > & | A ) |
Display matrix to output stream in a nicely formatted form.
- Parameters
-
[in,out] out output stream [in] A matrix to be displayed
Definition at line 55 of file matrix_utilities.tpp.
◆ displayColMajor()
void bitpit::linearalgebra::displayColMajor | ( | std::ostream & | out, |
T * | A, | ||
int | nRows, | ||
int | nCols ) |
Display matrix stored in column major ordering to output stream in a nicely formatted form.
- Parameters
-
[in,out] out is the output stream [in] A is the matrix to be displayed [in] nRows is the number of rows [in] nCols is the number of columns
Definition at line 123 of file matrix_utilities.tpp.
◆ displayColMajorSymmetric()
void bitpit::linearalgebra::displayColMajorSymmetric | ( | std::ostream & | out, |
T * | A, | ||
int | nRows, | ||
int | nCols, | ||
char | uplo ) |
Display matrix stored in column major ordering to output stream in a nicely formatted form.
- Parameters
-
[in,out] out is the output stream [in] A is the matrix to be displayed [in] nRows is the number of rows [in] nCols is the number of columns [in] uplo defines if the matrix is an upper triangle ('U') or a lower triangle ('L')
Definition at line 175 of file matrix_utilities.tpp.
◆ displayRowMajor()
void bitpit::linearalgebra::displayRowMajor | ( | std::ostream & | out, |
T * | A, | ||
int | nRows, | ||
int | nCols ) |
Display matrix stored in row major ordering to output stream in a nicely formatted form.
- Parameters
-
[in,out] out is the output stream [in] A is the matrix to be displayed [in] nRows is the number of rows [in] nCols is the number of columns
Definition at line 148 of file matrix_utilities.tpp.
◆ displayRowMajorSymmetric()
void bitpit::linearalgebra::displayRowMajorSymmetric | ( | std::ostream & | out, |
T * | A, | ||
int | nRows, | ||
int | nCols, | ||
char | uplo ) |
Display symmteric matrix stored in row major ordering to output stream in a nicely formatted form.
- Parameters
-
[in,out] out is the output stream [in] A is the matrix to be displayed [in] nRows is the number of rows [in] nCols is the number of columns [in] uplo defines if the matrix is an upper triangle ('U') or a lower triangle ('L')
Definition at line 204 of file matrix_utilities.tpp.
