Loading...
Searching...
No Matches
Collaboration diagram for Display:
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]

template<class T , size_t m, size_t n>
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]outoutput stream
[in]Amatrix to be displayed

Definition at line 88 of file matrix_utilities.tpp.

◆ display() [2/2]

template<class T >
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]outoutput stream
[in]Amatrix to be displayed

Definition at line 55 of file matrix_utilities.tpp.

◆ displayColMajor()

template<class T >
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]outis the output stream
[in]Ais the matrix to be displayed
[in]nRowsis the number of rows
[in]nColsis the number of columns

Definition at line 123 of file matrix_utilities.tpp.

◆ displayColMajorSymmetric()

template<class T >
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]outis the output stream
[in]Ais the matrix to be displayed
[in]nRowsis the number of rows
[in]nColsis the number of columns
[in]uplodefines if the matrix is an upper triangle ('U') or a lower triangle ('L')

Definition at line 175 of file matrix_utilities.tpp.

◆ displayRowMajor()

template<class T >
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]outis the output stream
[in]Ais the matrix to be displayed
[in]nRowsis the number of rows
[in]nColsis the number of columns

Definition at line 148 of file matrix_utilities.tpp.

◆ displayRowMajorSymmetric()

template<class T >
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]outis the output stream
[in]Ais the matrix to be displayed
[in]nRowsis the number of rows
[in]nColsis the number of columns
[in]uplodefines if the matrix is an upper triangle ('U') or a lower triangle ('L')

Definition at line 204 of file matrix_utilities.tpp.

--- layout: doxygen_footer ---