LINEAR++ library: AFF to LAPACK

◆ LaLinearSolve()

void LaLinearSolve ( LaSymmBandFactDouble AF,
LaGenMatDouble &  X,
LaGenMatDouble &  B 
)
inline

Definition at line 138 of file sybfd.h.

References dpbtrs(), F77NAME, and LaSymmBandFactDouble::S().

140 {
141  char uplo = 'L';
142  integer n = AF.S().size(1), kd = AF.S().subdiags(), ldaf = AF.S().gdim(0),
143  info = 0, nrhs = X.size(1), ldb = B.size(0);
144 
145  X.inject(B);
146  F77NAME(dpbtrs)(&uplo, &n, &kd, &nrhs, &(AF.S()(0,0)), &ldaf,
147  &X(0,0), &ldb, &info);
148 }
long int integer
Definition: f77lapack.h:61
LaSymmBandMatDouble & S()
Definition: sybfd.h:71
#define F77NAME(x)
Definition: arch.h:17
void F77NAME() dpbtrs(char *UPLO, integer *N, integer *KD, integer *nrhs, doublereal *AB, integer *LDAB, doublereal *b, integer *ldb, integer *info)
Here is the call graph for this function: