C++ main module for mmsd Package
1.0
|
#include "lapack_functions.h"
Go to the source code of this file.
Functions | |
void | DoubleFullUpperMatrixVectorProduct (const tBoolean &isTransA, const tLVectorIndex &nRowsA, const tLVectorIndex &ldA, const double *A, const tLVectorIndex &nX, const tLVectorIncrement &incX, double *x) |
compute X=op(A). X where op(A)=A or op(A)=tA where A is Upper matrix More... | |
void | DoubleFullUpperMatrixMatrixProduct (const tBoolean &isLeft, const tBoolean &isTransA, const tLVectorIndex &ldA, const double *A, const double &alpha, const tLVectorIndex &nRowsB, const tLVectorIndex &nColsB, const tLVectorIndex &ldB, double *B) |
coompute B:=alpha op(A).B or B:=alpha B . op(A) More... | |
void | DoubleFullUpperMatrixVectorSolve (const tBoolean &isTransA, const tLVectorIndex &nARows, const tLVectorIndex &ldA, const double *A, const tLVectorIndex &nB, const tLVectorIncrement &incB, double *B) |
solve op(A).X=Y and Y:=X More... | |
tBoolean | DoubleFullUpperMatrixSolve (const tBoolean &isLeft, const tBoolean &isTransA, const tLVectorIndex &ldA, const double *A, const double &alpha, const tLVectorIndex &nBRows, const tLVectorIndex &nBCols, const tLVectorIndex &ldB, double *B) |
bool | DoubleFullUpperMatrixInverse (const tLVectorIndex &nRowsA, const tLVectorIndex &ldA, double *A) |
compute the inverse of the matrix More... | |
bool | DoubleFullUpperMatrixEigenVector (const lapack_int &nRowsT, const lapack_int &ldT, const double *T, const lapack_int &ldlev, double *lev, const lapack_int &ldrev, double *rev) |
compute the eigen vector of the matrix More... | |
bool DoubleFullUpperMatrixEigenVector | ( | const lapack_int & | nRowsT, |
const lapack_int & | ldT, | ||
const double * | T, | ||
const lapack_int & | ldlev, | ||
double * | lev, | ||
const lapack_int & | ldrev, | ||
double * | rev | ||
) |
compute the eigen vector of the matrix
References dtrevc(), F77NAME, lapack_bool, lapack_char, lapack_int, lapack_real, null, and CORE_Integer::toString().
Referenced by LAP_DoubleFullUpperMatrix::computeEigenValueDecomposition().
bool DoubleFullUpperMatrixInverse | ( | const tLVectorIndex & | nRowsA, |
const tLVectorIndex & | ldA, | ||
double * | A | ||
) |
compute the inverse of the matrix
References dtrtri(), F77NAME, lapack_char, lapack_int, CORE_String::toString(), and tString.
Referenced by LAP_DoubleFullUpperMatrix::inverse().
void DoubleFullUpperMatrixMatrixProduct | ( | const tBoolean & | isLeft, |
const tBoolean & | isTransA, | ||
const tLVectorIndex & | ldA, | ||
const double * | A, | ||
const double & | alpha, | ||
const tLVectorIndex & | nRowsB, | ||
const tLVectorIndex & | nColsB, | ||
const tLVectorIndex & | ldB, | ||
double * | B | ||
) |
coompute B:=alpha op(A).B or B:=alpha B . op(A)
References dtrmm(), F77NAME, lapack_char, and lapack_int.
Referenced by LAP_DoubleFullUpperMatrix::matrixProduct().
tBoolean DoubleFullUpperMatrixSolve | ( | const tBoolean & | isLeft, |
const tBoolean & | isTransA, | ||
const tLVectorIndex & | ldA, | ||
const double * | A, | ||
const double & | alpha, | ||
const tLVectorIndex & | nBRows, | ||
const tLVectorIndex & | nBCols, | ||
const tLVectorIndex & | ldB, | ||
double * | B | ||
) |
References dtrsm(), F77NAME, lapack_char, and lapack_int.
Referenced by LAP_DoubleFullUpperMatrix::solve().
void DoubleFullUpperMatrixVectorProduct | ( | const tBoolean & | isTransA, |
const tLVectorIndex & | nRowsA, | ||
const tLVectorIndex & | ldA, | ||
const double * | A, | ||
const tLVectorIndex & | nX, | ||
const tLVectorIncrement & | incX, | ||
double * | x | ||
) |
compute X=op(A). X where op(A)=A or op(A)=tA where A is Upper matrix
isTransA | if true op(A)=tA otherwise op(A)=A |
nRowsA | number of rows of A |
ldA | distance in memory netween A[i][j] and A[i][j+1] |
A | values of A stored by column |
nX | size of x |
incX:increment | of x |
x | values of x |
References dtrmv(), F77NAME, lapack_char, and lapack_int.
void DoubleFullUpperMatrixVectorSolve | ( | const tBoolean & | isTransA, |
const tLVectorIndex & | nARows, | ||
const tLVectorIndex & | ldA, | ||
const double * | A, | ||
const tLVectorIndex & | nB, | ||
const tLVectorIncrement & | incB, | ||
double * | B | ||
) |
solve op(A).X=Y and Y:=X
References dtrsv(), F77NAME, lapack_char, and lapack_int.
Referenced by LAP_DoubleFullUpperMatrix::solve().