SLATE 2024.05.31
Software for Linear Algebra Targeting Exascale
|
Functions | |
template<typename scalar_t > | |
void | slate::scale (blas::real_type< scalar_t > numer, blas::real_type< scalar_t > denom, Matrix< scalar_t > &A, Options const &opts) |
Scale matrix entries by the real scalar numer/denom. | |
template<typename scalar_t > | |
void | slate::scale (blas::real_type< scalar_t > numer, blas::real_type< scalar_t > denom, BaseTrapezoidMatrix< scalar_t > &A, Options const &opts) |
Scale matrix entries by the real scalar numer/denom. | |
template<typename scalar_t > | |
void | slate::set (scalar_t offdiag_value, scalar_t diag_value, Matrix< scalar_t > &A, Options const &opts) |
Set matrix entries. | |
template<typename scalar_t > | |
void | slate::set (scalar_t offdiag_value, scalar_t diag_value, BaseTrapezoidMatrix< scalar_t > &A, Options const &opts) |
Set matrix entries. | |
template<typename scalar_t > | |
void | slate::set (std::function< scalar_t(int64_t i, int64_t j) > const &value, Matrix< scalar_t > &A, Options const &opts) |
Set matrix entries. | |
template<typename scalar_t > | |
void | slate::set (std::function< scalar_t(int64_t i, int64_t j) > const &value, BaseTrapezoidMatrix< scalar_t > &A, Options const &opts) |
Set matrix entries. | |
void slate::scale | ( | blas::real_type< scalar_t > | numer, |
blas::real_type< scalar_t > | denom, | ||
BaseTrapezoidMatrix< scalar_t > & | A, | ||
Options const & | opts | ||
) |
Scale matrix entries by the real scalar numer/denom.
Transposition is currently ignored. TODO: Inspect transposition?
scalar_t | One of float, double, std::complex<float>, std::complex<double>. |
[in] | A | The m-by-n matrix A. |
[in] | opts | Additional options, as map of name = value pairs. Possible options:
|
void slate::scale | ( | blas::real_type< scalar_t > | numer, |
blas::real_type< scalar_t > | denom, | ||
Matrix< scalar_t > & | A, | ||
Options const & | opts | ||
) |
Scale matrix entries by the real scalar numer/denom.
Transposition is currently ignored. TODO: Inspect transposition?
scalar_t | One of float, double, std::complex<float>, std::complex<double>. |
[in] | A | The m-by-n matrix A. |
[in] | opts | Additional options, as map of name = value pairs. Possible options:
|
void slate::set | ( | scalar_t | offdiag_value, |
scalar_t | diag_value, | ||
BaseTrapezoidMatrix< scalar_t > & | A, | ||
Options const & | opts | ||
) |
Set matrix entries.
Transposition is currently ignored. TODO: Inspect transposition?
scalar_t | One of float, double, std::complex<float>, std::complex<double>. |
[in] | offdiag_value | Value to set off-diagonal elements to. |
[in] | diag_value | Value to set diagonal elements to. |
[in,out] | A | The m-by-n matrix A. |
[in] | opts | Additional options, as map of name = value pairs. Possible options:
|
void slate::set | ( | scalar_t | offdiag_value, |
scalar_t | diag_value, | ||
Matrix< scalar_t > & | A, | ||
Options const & | opts | ||
) |
Set matrix entries.
Transposition is currently ignored. TODO: Inspect transposition?
scalar_t | One of float, double, std::complex<float>, std::complex<double>. |
[in] | offdiag_value | Value to set off-diagonal elements to. |
[in] | diag_value | Value to set diagonal elements to. |
[in,out] | A | The m-by-n matrix A. |
[in] | opts | Additional options, as map of name = value pairs. Possible options:
|
void slate::set | ( | std::function< scalar_t(int64_t i, int64_t j) > const & | value, |
BaseTrapezoidMatrix< scalar_t > & | A, | ||
Options const & | opts | ||
) |
Set matrix entries.
Transposition is automatically handled.
scalar_t | One of float, double, std::complex<float>, std::complex<double>. |
[in] | value | A function that takes global row and column indices i and j, and returns the scalar value for entry Aij. |
[in,out] | A | The m-by-n matrix A. |
[in] | opts | Additional options, as map of name = value pairs. Currently no options. It always uses Target = HostTask, since lambda is a CPU function. |
void slate::set | ( | std::function< scalar_t(int64_t i, int64_t j) > const & | value, |
Matrix< scalar_t > & | A, | ||
Options const & | opts | ||
) |
Set matrix entries.
Transposition is automatically handled.
scalar_t | One of float, double, std::complex<float>, std::complex<double>. |
[in] | value | A function that takes global row and column indices i and j, and returns the scalar value for entry Aij. |
[in,out] | A | The m-by-n matrix A. |
[in] | opts | Additional options, as map of name = value pairs. Currently no options. It always uses Target = HostTask, since lambda is a CPU function. |