|
template<TLAPACK_MATRIX matrix_t> |
void | colmajor_read (matrix_t &A, std::istream &is) const |
| Read a dense matrix from an input stream (file, stdin, etc).
|
|
template<TLAPACK_MATRIX matrix_t> |
void | hessenberg (matrix_t &A) |
| Generate a random upper Hessenberg matrix.
|
|
template<TLAPACK_MATRIX matrix_t> |
void | hilbert (matrix_t &A) const |
| Generate a Hilbert matrix.
|
|
template<TLAPACK_MATRIX matrix_t, class Distribution = typename std::conditional< (is_same_v<type_t<matrix_t>, float> || is_same_v<type_t<matrix_t>, double> || is_same_v<type_t<matrix_t>, long double>), std::normal_distribution<type_t<matrix_t>>, std::normal_distribution<double>>::type> |
void | randn (matrix_t &A) |
| Generate a random dense matrix based on a normal distribution.
|
|
template<TLAPACK_UPLO uplo_t, TLAPACK_MATRIX matrix_t, class Distribution = typename std::conditional< (is_same_v<type_t<matrix_t>, float> || is_same_v<type_t<matrix_t>, double> || is_same_v<type_t<matrix_t>, long double>), std::normal_distribution<type_t<matrix_t>>, std::normal_distribution<double>>::type> |
void | randn (uplo_t uplo, matrix_t &A) |
| Generate an upper- or lower-triangular random matrix.
|
|
template<TLAPACK_MATRIX matrix_t> |
void | random (matrix_t &A) |
| Generate a random dense matrix.
|
|
template<TLAPACK_UPLO uplo_t, TLAPACK_MATRIX matrix_t> |
void | random (uplo_t uplo, matrix_t &A) |
| Generate an upper- or lower-triangular random matrix.
|
|
template<TLAPACK_MATRIX matrix_t> |
void | single_value (matrix_t &A, const type_t< matrix_t > &val) const |
| Generate a matrix with a single value in all entries.
|
|
template<TLAPACK_UPLO uplo_t, TLAPACK_MATRIX matrix_t> |
void | single_value (uplo_t uplo, matrix_t &A, const type_t< matrix_t > &val) const |
| Generate an upper- or lower-triangular matrix with a single value in all entries.
|
|