lagtm#
Functions
-
void slagtm(const char *trans, const INT n, const INT nrhs, const f32 alpha, const f32 *restrict DL, const f32 *restrict D, const f32 *restrict DU, const f32 *restrict X, const INT ldx, const f32 beta, f32 *restrict B, const INT ldb)#
SLAGTM performs a matrix-matrix product of the form.
B := alpha * A * X + beta * B
where A is a tridiagonal matrix of order N, B and X are N by NRHS matrices, and alpha and beta are real scalars, each of which may be 0., 1., or -1.
Parameters
intransSpecifies the operation applied to A. = ‘N’: No transpose, B := alpha * A * X + beta * B = ‘T’: Transpose, B := alpha * A’ * X + beta * B = ‘C’: Conjugate transpose = Transpose
innThe order of the matrix A. n >= 0.
innrhsThe number of right hand sides, i.e., the number of columns of the matrices X and B.
inalphaThe scalar alpha. ALPHA must be 0., 1., or -1.; otherwise, it is assumed to be 0.
inDLThe (n-1) sub-diagonal elements of A. Array of dimension (n-1).
inDThe diagonal elements of A. Array of dimension (n).
inDUThe (n-1) super-diagonal elements of A. Array of dimension (n-1).
inXThe N by NRHS matrix X. Array of dimension (ldx, nrhs).
inldxThe leading dimension of the array X. ldx >= max(n, 1).
inbetaThe scalar beta. BETA must be 0., 1., or -1.; otherwise, it is assumed to be 1.
inoutBOn entry, the N by NRHS matrix B. On exit, B is overwritten by the matrix expression B := alpha * A * X + beta * B. Array of dimension (ldb, nrhs).
inldbThe leading dimension of the array B. ldb >= max(n, 1).
void slagtm(
const char* trans,
const INT n,
const INT nrhs,
const f32 alpha,
const f32* restrict DL,
const f32* restrict D,
const f32* restrict DU,
const f32* restrict X,
const INT ldx,
const f32 beta,
f32* restrict B,
const INT ldb
);
Functions
-
void dlagtm(const char *trans, const INT n, const INT nrhs, const f64 alpha, const f64 *restrict DL, const f64 *restrict D, const f64 *restrict DU, const f64 *restrict X, const INT ldx, const f64 beta, f64 *restrict B, const INT ldb)#
DLAGTM performs a matrix-matrix product of the form.
B := alpha * A * X + beta * B
where A is a tridiagonal matrix of order N, B and X are N by NRHS matrices, and alpha and beta are real scalars, each of which may be 0., 1., or -1.
Parameters
intransSpecifies the operation applied to A. = ‘N’: No transpose, B := alpha * A * X + beta * B = ‘T’: Transpose, B := alpha * A’ * X + beta * B = ‘C’: Conjugate transpose = Transpose
innThe order of the matrix A. n >= 0.
innrhsThe number of right hand sides, i.e., the number of columns of the matrices X and B.
inalphaThe scalar alpha. ALPHA must be 0., 1., or -1.; otherwise, it is assumed to be 0.
inDLThe (n-1) sub-diagonal elements of A. Array of dimension (n-1).
inDThe diagonal elements of A. Array of dimension (n).
inDUThe (n-1) super-diagonal elements of A. Array of dimension (n-1).
inXThe N by NRHS matrix X. Array of dimension (ldx, nrhs).
inldxThe leading dimension of the array X. ldx >= max(n, 1).
inbetaThe scalar beta. BETA must be 0., 1., or -1.; otherwise, it is assumed to be 1.
inoutBOn entry, the N by NRHS matrix B. On exit, B is overwritten by the matrix expression B := alpha * A * X + beta * B. Array of dimension (ldb, nrhs).
inldbThe leading dimension of the array B. ldb >= max(n, 1).
void dlagtm(
const char* trans,
const INT n,
const INT nrhs,
const f64 alpha,
const f64* restrict DL,
const f64* restrict D,
const f64* restrict DU,
const f64* restrict X,
const INT ldx,
const f64 beta,
f64* restrict B,
const INT ldb
);
Functions
-
void clagtm(const char *trans, const INT n, const INT nrhs, const f32 alpha, const c64 *restrict DL, const c64 *restrict D, const c64 *restrict DU, const c64 *restrict X, const INT ldx, const f32 beta, c64 *restrict B, const INT ldb)#
CLAGTM performs a matrix-matrix product of the form.
B := alpha * A * X + beta * B
where A is a tridiagonal matrix of order N, B and X are N by NRHS matrices, and alpha and beta are real scalars, each of which may be 0., 1., or -1.
Parameters
intransSpecifies the operation applied to A. = ‘N’: No transpose, B := alpha * A * X + beta * B = ‘T’: Transpose, B := alpha * A**T * X + beta * B = ‘C’: Conjugate transpose, B := alpha * A**H * X + beta * B
innThe order of the matrix A. n >= 0.
innrhsThe number of right hand sides, i.e., the number of columns of the matrices X and B.
inalphaThe scalar alpha. ALPHA must be 0., 1., or -1.; otherwise, it is assumed to be 0.
inDLThe (n-1) sub-diagonal elements of T. Array of dimension (n-1).
inDThe diagonal elements of T. Array of dimension (n).
inDUThe (n-1) super-diagonal elements of T. Array of dimension (n-1).
inXThe N by NRHS matrix X. Array of dimension (ldx, nrhs).
inldxThe leading dimension of the array X. ldx >= max(n, 1).
inbetaThe scalar beta. BETA must be 0., 1., or -1.; otherwise, it is assumed to be 1.
inoutBOn entry, the N by NRHS matrix B. On exit, B is overwritten by the matrix expression B := alpha * A * X + beta * B. Array of dimension (ldb, nrhs).
inldbThe leading dimension of the array B. ldb >= max(n, 1).
void clagtm(
const char* trans,
const INT n,
const INT nrhs,
const f32 alpha,
const c64* restrict DL,
const c64* restrict D,
const c64* restrict DU,
const c64* restrict X,
const INT ldx,
const f32 beta,
c64* restrict B,
const INT ldb
);
Functions
-
void zlagtm(const char *trans, const INT n, const INT nrhs, const f64 alpha, const c128 *restrict DL, const c128 *restrict D, const c128 *restrict DU, const c128 *restrict X, const INT ldx, const f64 beta, c128 *restrict B, const INT ldb)#
ZLAGTM performs a matrix-matrix product of the form.
B := alpha * A * X + beta * B
where A is a tridiagonal matrix of order N, B and X are N by NRHS matrices, and alpha and beta are real scalars, each of which may be 0., 1., or -1.
Parameters
intransSpecifies the operation applied to A. = ‘N’: No transpose, B := alpha * A * X + beta * B = ‘T’: Transpose, B := alpha * A**T * X + beta * B = ‘C’: Conjugate transpose, B := alpha * A**H * X + beta * B
innThe order of the matrix A. n >= 0.
innrhsThe number of right hand sides, i.e., the number of columns of the matrices X and B.
inalphaThe scalar alpha. ALPHA must be 0., 1., or -1.; otherwise, it is assumed to be 0.
inDLThe (n-1) sub-diagonal elements of T. Array of dimension (n-1).
inDThe diagonal elements of T. Array of dimension (n).
inDUThe (n-1) super-diagonal elements of T. Array of dimension (n-1).
inXThe N by NRHS matrix X. Array of dimension (ldx, nrhs).
inldxThe leading dimension of the array X. ldx >= max(n, 1).
inbetaThe scalar beta. BETA must be 0., 1., or -1.; otherwise, it is assumed to be 1.
inoutBOn entry, the N by NRHS matrix B. On exit, B is overwritten by the matrix expression B := alpha * A * X + beta * B. Array of dimension (ldb, nrhs).
inldbThe leading dimension of the array B. ldb >= max(n, 1).
void zlagtm(
const char* trans,
const INT n,
const INT nrhs,
const f64 alpha,
const c128* restrict DL,
const c128* restrict D,
const c128* restrict DU,
const c128* restrict X,
const INT ldx,
const f64 beta,
c128* restrict B,
const INT ldb
);