1DLAGTM(1) LAPACK auxiliary routine (version 3.1) DLAGTM(1)
2
3
4
6 DLAGTM - a matrix-vector product of the form B := alpha * A * X +
7 beta * B where A is a tridiagonal matrix of order N, B and X are N by
8 NRHS matrices, and alpha and beta are real scalars, each of which may
9 be 0., 1., or -1
10
12 SUBROUTINE DLAGTM( TRANS, N, NRHS, ALPHA, DL, D, DU, X, LDX, BETA, B,
13 LDB )
14
15 CHARACTER TRANS
16
17 INTEGER LDB, LDX, N, NRHS
18
19 DOUBLE PRECISION ALPHA, BETA
20
21 DOUBLE PRECISION B( LDB, * ), D( * ), DL( * ), DU( * ), X(
22 LDX, * )
23
25 DLAGTM performs a matrix-vector product of the form
26
27
29 TRANS (input) CHARACTER*1
30 Specifies the operation applied to A. = 'N': No transpose, B
31 := alpha * A * X + beta * B
32 = 'T': Transpose, B := alpha * A'* X + beta * B
33 = 'C': Conjugate transpose = Transpose
34
35 N (input) INTEGER
36 The order of the matrix A. N >= 0.
37
38 NRHS (input) INTEGER
39 The number of right hand sides, i.e., the number of columns of
40 the matrices X and B.
41
42 ALPHA (input) DOUBLE PRECISION
43 The scalar alpha. ALPHA must be 0., 1., or -1.; otherwise, it
44 is assumed to be 0.
45
46 DL (input) DOUBLE PRECISION array, dimension (N-1)
47 The (n-1) sub-diagonal elements of T.
48
49 D (input) DOUBLE PRECISION array, dimension (N)
50 The diagonal elements of T.
51
52 DU (input) DOUBLE PRECISION array, dimension (N-1)
53 The (n-1) super-diagonal elements of T.
54
55 X (input) DOUBLE PRECISION array, dimension (LDX,NRHS)
56 The N by NRHS matrix X. LDX (input) INTEGER The leading
57 dimension of the array X. LDX >= max(N,1).
58
59 BETA (input) DOUBLE PRECISION
60 The scalar beta. BETA must be 0., 1., or -1.; otherwise, it is
61 assumed to be 1.
62
63 B (input/output) DOUBLE PRECISION array, dimension (LDB,NRHS)
64 On entry, the N by NRHS matrix B. On exit, B is overwritten by
65 the matrix expression B := alpha * A * X + beta * B.
66
67 LDB (input) INTEGER
68 The leading dimension of the array B. LDB >= max(N,1).
69
70
71
72 LAPACK auxiliary routine (versionNo3v.e1m)ber 2006 DLAGTM(1)