求助:DGBTRS# Computation - 科学计算
w*t
1 楼
我要解一个线性方程组,矩阵是条形的,想用Lapack里的DGBTRS solver, 如下
DGBTRS( TRANS, N, KL, KU, NRHS, AB, LDAB, IPIV, B, LDB, INFO )
KL (input) INTEGER
* The number of subdiagonals within the band of A. KL >= 0.
KU (input) INTEGER
* The number of superdiagonals within the band of A. KU >= 0.
LDAB (input) INTEGER
* The leading dimension of the array AB. LDAB >= 2*KL+KU+1.
LDAB 这个不懂,大家可以解释一下 怎样确定一个matrix的 LDAB 吗?比如我要解
1 1 1 0
1 1 1 0
0 1 1 0
0 0 0 1
KL=1, KU=2, 对吗,LDAB是多少?
另外,听说
DGBTRS( TRANS, N, KL, KU, NRHS, AB, LDAB, IPIV, B, LDB, INFO )
KL (input) INTEGER
* The number of subdiagonals within the band of A. KL >= 0.
KU (input) INTEGER
* The number of superdiagonals within the band of A. KU >= 0.
LDAB (input) INTEGER
* The leading dimension of the array AB. LDAB >= 2*KL+KU+1.
LDAB 这个不懂,大家可以解释一下 怎样确定一个matrix的 LDAB 吗?比如我要解
1 1 1 0
1 1 1 0
0 1 1 0
0 0 0 1
KL=1, KU=2, 对吗,LDAB是多少?
另外,听说