template<class T > | |
void | bitpit::linearalgebra::zeros (std::vector< std::vector< T > > &, int, int) |
template<class T , size_t m, size_t n> | |
void | bitpit::linearalgebra::zeros (std::array< std::array< T, n >, m > &) |
template<class T > | |
void | bitpit::linearalgebra::ones (std::vector< std::vector< T > > &, int, int) |
template<class T , size_t m, size_t n> | |
void | bitpit::linearalgebra::ones (std::array< std::array< T, n >, m > &) |
template<class T > | |
void | bitpit::linearalgebra::eye (std::vector< std::vector< T > > &, int, int) |
template<class T , size_t m, size_t n> | |
void | bitpit::linearalgebra::eye (std::array< std::array< T, n >, m > &) |
void bitpit::linearalgebra::eye | ( | std::array< std::array< T, n >, m > & | A | ) |
Initialize a m-by-n identity matrix having. All the entries on the main diagonal are set to 1. Overloading of eye() function for container array.
[in,out] | A | container for matrix storage |
T | data type |
m | number of matrix rows |
n | number of matrix columns |
Definition at line 615 of file matrix_utilities.tpp.
void bitpit::linearalgebra::eye | ( | std::vector< std::vector< T > > & | A, |
int | m, | ||
int | n ) |
Initialize a m-by-n identity matrix having. All the entries on the main diagonal are set to 1.
T | data type |
[in,out] | A | container for matrix storage |
[in] | m | number of matrix rows |
[in] | n | number of matrix columns |
Definition at line 571 of file matrix_utilities.tpp.
void bitpit::linearalgebra::ones | ( | std::array< std::array< T, n >, m > & | A | ) |
Initialize a m-by-n matrix of ones. Overloading of ones() function for container array.
[in,out] | A | container for matrix storage |
T | data type |
m | number of matrix rows |
n | number of matrix columns |
Definition at line 531 of file matrix_utilities.tpp.
void bitpit::linearalgebra::ones | ( | std::vector< std::vector< T > > & | A, |
int | m, | ||
int | n ) |
Initialize a m-by-n matrix of ones.
[in,out] | A | container for matrix storage |
[in] | m | number of matrix rows |
[in] | n | number of matrix columns |
Definition at line 484 of file matrix_utilities.tpp.
void bitpit::linearalgebra::zeros | ( | std::array< std::array< T, n >, m > & | A | ) |
Initalize a m-by-n matrix with 0-entries. Overloading of zeros() function for container array.
[in,out] | A | container for matrix storage |
T | data type |
m | number of matrix rows |
n | number of matrix columns |
Definition at line 428 of file matrix_utilities.tpp.
void bitpit::linearalgebra::zeros | ( | std::vector< std::vector< T > > & | A, |
int | m, | ||
int | n ) |
Initialize a m-by-n matrix with 0 entries
[in,out] | A | container for matrix storage |
[in] | m | number of matrix rows |
[in] | n | number of matrix columns |
Definition at line 381 of file matrix_utilities.tpp.