linalg 1.6.1
A linear algebra library that provides a user-friendly interface to several BLAS and LAPACK routines.
|
Multiplies a diagonal matrix with another matrix or array. More...
Multiplies a diagonal matrix with another matrix or array.
[in] | lside | Set to true to apply matrix A from the left; else, set to false to apply matrix A from the left. |
[in] | trans | Set to true if \( op(B) = B^T \); else, set to false for \( op(B) = B\). In the complex case set to LA_TRANSPOSE if \( op(B) = B^T \), set to LA_HERMITIAN_TRANSPOSE if \( op(B) = B^H \), otherwise set to LA_NO_OPERATION if \( op(B) = B \). |
[in] | alpha | A scalar multiplier. |
[in] | a | A K-element array containing the diagonal elements of A where K = MIN(M,P) if lside is true; else, if lside is false, K = MIN(N,P). |
[in] | b | The LDB-by-TDB matrix B where (LDB = leading dimension of B, and TDB = trailing dimension of B):
|
[in] | beta | A scalar multiplier. |
[in,out] | c | On input, the M-by-N matrix C. On output, the resulting M-by-N matrix. |
[in,out] | err | An optional errors-based object that if provided can be used to retrieve information relating to any errors encountered during execution. If not provided, a default implementation of the errors class is used internally to provide error handling. Possible errors and warning messages that may be encountered are as follows.
|
[in] | lside | Set to true to apply matrix A from the left; else, set to false to apply matrix A from the left. |
[in] | alpha | A scalar multiplier. |
[in] | a | A K-element array containing the diagonal elements of A where K = MIN(M,P) if lside is true; else, if lside is false, K = MIN(N,P). |
[in] | b | On input, the M-by-N matrix B. On output, the resulting M-by-N matrix. |
[in,out] | err | An optional errors-based object that if provided can be used to retrieve information relating to any errors encountered during execution. If not provided, a default implementation of the errors class is used internally to provide error handling. Possible errors and warning messages that may be encountered are as follows.
|
Definition at line 289 of file linalg_core.f90.