C++ main module for mmsd Package
1.0
|
#include "dfullmatrix_functions.h"
Functions | |
void F77NAME() | dgemv (lapack_char *trans, lapack_int *M, lapack_int *N, const lapack_real *alpha, const lapack_real *A, lapack_int *lda, const lapack_real *dx, lapack_int *incx, const lapack_real *beta, lapack_real *dy, lapack_int *incy) |
void F77NAME() | dgemm (lapack_char *transA, lapack_char *transB, lapack_int *M, lapack_int *N, lapack_int *K, const lapack_real *alpha, const lapack_real *A, lapack_int *lda, const lapack_real *B, lapack_int *ldb, const lapack_real *beta, lapack_real *C, lapack_int *ldc) |
void F77NAME() | dgeev (lapack_char *jobvl, lapack_char *jobvr, lapack_int *N, lapack_real *A, lapack_int *lda, lapack_real *wr, lapack_real *wi, lapack_real *vl, lapack_int *ldvl, lapack_real *vr, lapack_int *ldvr, lapack_real *work, lapack_int *lwork, lapack_int *info) |
void F77NAME() | dgetri (const lapack_int *N, lapack_real *A, const lapack_int *lda, const lapack_int *ipiv, lapack_real *work, const lapack_int *lwork, const lapack_int *info) |
void F77NAME() | dgetrf (const lapack_int *M, const lapack_int *N, lapack_real *A, const lapack_int *lda, lapack_int *ipiv, lapack_int *info) |
void F77NAME() | dgetrs (const lapack_char *trans, const lapack_int *N, const lapack_int *nrhs, const lapack_real *A, const lapack_int *lda, const lapack_int *ipiv, lapack_real *B, const lapack_int *ldb, lapack_int *info) |
void F77NAME() | dgeqrf (const lapack_int *M, const lapack_int *N, lapack_real *A, const lapack_int *lda, lapack_real *tau, lapack_real *work, const lapack_int *lwork, lapack_int *info) |
void F77NAME() | dgeqp3 (const lapack_int *M, const lapack_int *N, lapack_real *A, const lapack_int *lda, lapack_int *jpvt, lapack_real *tau, lapack_real *work, const lapack_int *lwork, lapack_int *info) |
void F77NAME() | dorgqr (const lapack_int *M, const lapack_int *N, const lapack_int *K, lapack_real *A, const lapack_int *lda, lapack_real *tau, lapack_real *work, const lapack_int *lwork, lapack_int *info) |
void F77NAME() | dormqr (const lapack_char *side, const lapack_char *trans, const lapack_int *M, const lapack_int *N, const lapack_int *K, const lapack_real *A, const lapack_int *lda, const lapack_real *tau, lapack_real *C, const lapack_int *ldc, lapack_real *work, const lapack_int *lwork, lapack_int *info) |
void | DoubleFullMatrixVectorProduct (const tLVectorIndex &lv, const tLVectorIncrement &incv, const double *v, const tBoolean &isTransposed, const tLVectorIndex &nRows, const tLVectorIndex &nCols, const tLVectorIndex &ldA, const double *A, const lapack_real &alpha, const lapack_real &beta, const tLVectorIndex &lr, const tLVectorIncrement &incr, double *result) |
compute Y=beta.Y + alpha op(A). X where op(A)=A or op(A)=tA More... | |
void | DoubleFullMatrixMatrixProduct (const tLVectorIndex &nARows, const tLVectorIndex &nACols, const tLVectorIndex &ldA, const double *A, const tLVectorIndex &nBRows, const tLVectorIndex &nBCols, const tLVectorIndex &ldB, const double *B, const tBoolean &isTrA, const tBoolean &isTrB, const lapack_real &alpha, const lapack_real &beta, const tLVectorIndex &nCRows, const tLVectorIndex &nCCols, const tLVectorIndex &ldC, double *C) |
int | DoubleFullMatrixEigenValues (const tLVectorIndex &nRows, const tLVectorIndex &nCols, const tLVectorIndex &ld, double *A, const tLVectorIndex &nU, double *U, double *C) |
int | DoubleFullMatrixLUFactorization (const tLVectorIndex &nRows, const tLVectorIndex &nCols, const tLVectorIndex &ld, double *A, lapack_int *ipiv) |
tBoolean | DoubleFullMatrixInverse (const tLVectorIndex &nRows, const tLVectorIndex &nCols, const tLVectorIndex &ld, const lapack_int *ipiv, double *A) |
tBoolean | DoubleFullMatrixSolveMatrixEquation (const tLVectorIndex &nARows, const tLVectorIndex &nACols, const tLVectorIndex &nAMaxRows, const tLVectorIndex &nAMaxCols, const tLVectorIndex &ldA, const tBoolean &isTransA, const lapack_int *ipiv, const double *A, const tLVectorIndex &nBRows, const tLVectorIndex &nBCols, const tLVectorIndex &ldB, double *B) |
int | DoubleFullMatrixQRFactorization (const tLVectorIndex &nRows, const tLVectorIndex &nCols, const tLVectorIndex &nMaxRows, const tLVectorIndex &nMaxCols, const tLVectorIndex &ldA, double *A, const tBoolean &isOnlyQ) |
int | DoubleFullMatrixPQRFactorization (const tLVectorIndex &nRows, const tLVectorIndex &nCols, const tLVectorIndex &nMaxRows, const tLVectorIndex &nMaxCols, const tLVectorIndex &ld, double *A, const tBoolean &isOnlyQ) |
void F77NAME() dgeev | ( | lapack_char * | jobvl, |
lapack_char * | jobvr, | ||
lapack_int * | N, | ||
lapack_real * | A, | ||
lapack_int * | lda, | ||
lapack_real * | wr, | ||
lapack_real * | wi, | ||
lapack_real * | vl, | ||
lapack_int * | ldvl, | ||
lapack_real * | vr, | ||
lapack_int * | ldvr, | ||
lapack_real * | work, | ||
lapack_int * | lwork, | ||
lapack_int * | info | ||
) |
void F77NAME() dgemm | ( | lapack_char * | transA, |
lapack_char * | transB, | ||
lapack_int * | M, | ||
lapack_int * | N, | ||
lapack_int * | K, | ||
const lapack_real * | alpha, | ||
const lapack_real * | A, | ||
lapack_int * | lda, | ||
const lapack_real * | B, | ||
lapack_int * | ldb, | ||
const lapack_real * | beta, | ||
lapack_real * | C, | ||
lapack_int * | ldc | ||
) |
void F77NAME() dgemv | ( | lapack_char * | trans, |
lapack_int * | M, | ||
lapack_int * | N, | ||
const lapack_real * | alpha, | ||
const lapack_real * | A, | ||
lapack_int * | lda, | ||
const lapack_real * | dx, | ||
lapack_int * | incx, | ||
const lapack_real * | beta, | ||
lapack_real * | dy, | ||
lapack_int * | incy | ||
) |
void F77NAME() dgeqp3 | ( | const lapack_int * | M, |
const lapack_int * | N, | ||
lapack_real * | A, | ||
const lapack_int * | lda, | ||
lapack_int * | jpvt, | ||
lapack_real * | tau, | ||
lapack_real * | work, | ||
const lapack_int * | lwork, | ||
lapack_int * | info | ||
) |
void F77NAME() dgeqrf | ( | const lapack_int * | M, |
const lapack_int * | N, | ||
lapack_real * | A, | ||
const lapack_int * | lda, | ||
lapack_real * | tau, | ||
lapack_real * | work, | ||
const lapack_int * | lwork, | ||
lapack_int * | info | ||
) |
void F77NAME() dgetrf | ( | const lapack_int * | M, |
const lapack_int * | N, | ||
lapack_real * | A, | ||
const lapack_int * | lda, | ||
lapack_int * | ipiv, | ||
lapack_int * | info | ||
) |
void F77NAME() dgetri | ( | const lapack_int * | N, |
lapack_real * | A, | ||
const lapack_int * | lda, | ||
const lapack_int * | ipiv, | ||
lapack_real * | work, | ||
const lapack_int * | lwork, | ||
const lapack_int * | info | ||
) |
void F77NAME() dgetrs | ( | const lapack_char * | trans, |
const lapack_int * | N, | ||
const lapack_int * | nrhs, | ||
const lapack_real * | A, | ||
const lapack_int * | lda, | ||
const lapack_int * | ipiv, | ||
lapack_real * | B, | ||
const lapack_int * | ldb, | ||
lapack_int * | info | ||
) |
void F77NAME() dorgqr | ( | const lapack_int * | M, |
const lapack_int * | N, | ||
const lapack_int * | K, | ||
lapack_real * | A, | ||
const lapack_int * | lda, | ||
lapack_real * | tau, | ||
lapack_real * | work, | ||
const lapack_int * | lwork, | ||
lapack_int * | info | ||
) |
Referenced by DoubleFullMatrixPQRFactorization(), and DoubleFullMatrixQRFactorization().
void F77NAME() dormqr | ( | const lapack_char * | side, |
const lapack_char * | trans, | ||
const lapack_int * | M, | ||
const lapack_int * | N, | ||
const lapack_int * | K, | ||
const lapack_real * | A, | ||
const lapack_int * | lda, | ||
const lapack_real * | tau, | ||
lapack_real * | C, | ||
const lapack_int * | ldc, | ||
lapack_real * | work, | ||
const lapack_int * | lwork, | ||
lapack_int * | info | ||
) |
int DoubleFullMatrixEigenValues | ( | const tLVectorIndex & | nRows, |
const tLVectorIndex & | nCols, | ||
const tLVectorIndex & | ld, | ||
double * | A, | ||
const tLVectorIndex & | nU, | ||
double * | U, | ||
double * | C | ||
) |
References dgeev(), F77NAME, lapack_char, lapack_int, lapack_real, and null.
Referenced by LAP_DoubleFullGeneralMatrix::computeEigenValueDecomposition(), and LAP_DoubleFullGeneralMatrix::computeEigenValues().
tBoolean DoubleFullMatrixInverse | ( | const tLVectorIndex & | nRows, |
const tLVectorIndex & | nCols, | ||
const tLVectorIndex & | ld, | ||
const lapack_int * | ipiv, | ||
double * | A | ||
) |
References dgetri(), F77NAME, getBlockSizeEnvironment(), lapack_int, and lapack_real.
Referenced by LAP_DoubleFullGeneralMatrix::inverse().
int DoubleFullMatrixLUFactorization | ( | const tLVectorIndex & | nRows, |
const tLVectorIndex & | nCols, | ||
const tLVectorIndex & | ld, | ||
double * | A, | ||
lapack_int * | ipiv | ||
) |
void DoubleFullMatrixMatrixProduct | ( | const tLVectorIndex & | nARows, |
const tLVectorIndex & | nACols, | ||
const tLVectorIndex & | ldA, | ||
const double * | A, | ||
const tLVectorIndex & | nBRows, | ||
const tLVectorIndex & | nBCols, | ||
const tLVectorIndex & | ldB, | ||
const double * | B, | ||
const tBoolean & | isTrA, | ||
const tBoolean & | isTrB, | ||
const lapack_real & | alpha, | ||
const lapack_real & | beta, | ||
const tLVectorIndex & | nCRows, | ||
const tLVectorIndex & | nCCols, | ||
const tLVectorIndex & | ldC, | ||
double * | C | ||
) |
References dgemm(), F77NAME, lapack_char, lapack_int, and tLVectorIndex.
Referenced by LAP_DoubleFullGeneralMatrix::matrixProduct().
int DoubleFullMatrixPQRFactorization | ( | const tLVectorIndex & | nRows, |
const tLVectorIndex & | nCols, | ||
const tLVectorIndex & | nMaxRows, | ||
const tLVectorIndex & | nMaxCols, | ||
const tLVectorIndex & | ld, | ||
double * | A, | ||
const tBoolean & | isOnlyQ | ||
) |
References dgeqp3(), dorgqr(), F77NAME, getBlockSizeEnvironment(), lapack_int, and lapack_real.
int DoubleFullMatrixQRFactorization | ( | const tLVectorIndex & | nRows, |
const tLVectorIndex & | nCols, | ||
const tLVectorIndex & | nMaxRows, | ||
const tLVectorIndex & | nMaxCols, | ||
const tLVectorIndex & | ldA, | ||
double * | A, | ||
const tBoolean & | isOnlyQ | ||
) |
References dgeqrf(), dorgqr(), F77NAME, getBlockSizeEnvironment(), lapack_int, and lapack_real.
tBoolean DoubleFullMatrixSolveMatrixEquation | ( | const tLVectorIndex & | nARows, |
const tLVectorIndex & | nACols, | ||
const tLVectorIndex & | nAMaxRows, | ||
const tLVectorIndex & | nAMaxCols, | ||
const tLVectorIndex & | ldA, | ||
const tBoolean & | isTransA, | ||
const lapack_int * | ipiv, | ||
const double * | A, | ||
const tLVectorIndex & | nBRows, | ||
const tLVectorIndex & | nBCols, | ||
const tLVectorIndex & | ldB, | ||
double * | B | ||
) |
References dgetrs(), F77NAME, lapack_char, and lapack_int.
Referenced by LAP_DoubleFullGeneralMatrix::solve().
void DoubleFullMatrixVectorProduct | ( | const tLVectorIndex & | lx, |
const tLVectorIncrement & | incx, | ||
const double * | x, | ||
const tBoolean & | isTransposed, | ||
const tLVectorIndex & | nRows, | ||
const tLVectorIndex & | nCols, | ||
const tLVectorIndex & | ldaA, | ||
const double * | A, | ||
const lapack_real & | alpha, | ||
const lapack_real & | beta, | ||
const tLVectorIndex & | ly, | ||
const tLVectorIncrement & | incy, | ||
double * | y | ||
) |
compute Y=beta.Y + alpha op(A). X where op(A)=A or op(A)=tA
lx | size of x |
incx | increment of x |
x | : values of x |
isTransposed | if true op(A)=tA otherwise op(A)=A |
nRows | number of rows of A |
nCols | number of cols of A |
ldA | distance in memory netween A[i][j] and A[i][j+1] |
A | values of A stored by column |
alpha | alpha value |
beta | beta value |
ly | size of y |
incy:increment | of y |
y | values of y |
if (op(A)=A)
References dgemv(), F77NAME, lapack_char, and lapack_int.
Referenced by LAP_DoubleFullGeneralMatrix::vectorProduct().