linalg 1.8.2
A linear algebra library that provides a user-friendly interface to several BLAS and LAPACK routines.
Loading...
Searching...
No Matches
linalg::tri_mtx_mult Interface Reference

Computes the triangular matrix operation: \( B = \alpha A^T A + \beta B \), or \( B = \alpha A A^T + \beta B \), where A is a triangular matrix. More...

Public Member Functions

 tri_mtx_mult_dbl
 
 tri_mtx_mult_cmplx
 

Detailed Description

Computes the triangular matrix operation: \( B = \alpha A^T A + \beta B \), or \( B = \alpha A A^T + \beta B \), where A is a triangular matrix.

Syntax
subroutine tri_mtx_mult(logical upper, real(real64) alpha, real(real64) a(:,:), real(real64) beta, real(real64) b(:,:), optional class(errors) err)
subroutine tri_mtx_mult(logical upper, complex(real64) alpha, complex(real64) a(:,:), complex(real64) beta, complex(real64) b(:,:), optional class(errors) err)
Parameters
[in]upperSet to true if matrix A is upper triangular, and \( B = \alpha A^T A + \beta B \) is to be calculated; else, set to false if A is lower triangular, and \( B = \alpha A A^T + \beta B \) is to be computed.
[in]alphaA scalar multiplier.
[in]aThe N-by-N triangular matrix. Notice, if upper is true only the upper triangular portion of this matrix is referenced; else, if upper is false, only the lower triangular portion of this matrix is referenced.
[in]betaA scalar multiplier.
[in,out]bOn input, the N-by-N matrix B. On output, the N-by-N solution matrix.
[in,out]errAn 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.
  • LA_ARRAY_SIZE_ERROR: Occurs if any of the input arrays are not sized appropriately.

Definition at line 734 of file linalg.f90.


The documentation for this interface was generated from the following file: