#include <iostream>
#include "lapack_wrapper.h"
#include "DMatrix.h"
#include "DVector.h"
#include "SMatrix.h"
#include "SVector.h"
Go to the source code of this file.
Defines | |
#define | MyLapack "@(#)MyLapack.h $Revision$" |
Functions | |
int | DLU_decomp (DMatrix &A, int *ipiv) |
int | DLU_invert (DMatrix &A, int *ipiv, double *work, int &lwork) |
double | DLU_det (DMatrix &A, int *ipiv) |
int | DLU_solve (DMatrix &M, int *ipiv, DVector &b) |
int | DSYEV (char jobz, char uplo, DMatrix &M, DVector &V, double *work, int &lwork) |
int | SLU_decomp (SMatrix &A, int *ipiv) |
int | SLU_invert (SMatrix &A, int *ipiv, float *work, int &lwork) |
float | SLU_det (SMatrix &A, int *ipiv) |
int | SLU_solve (SMatrix &M, int *ipiv, DVector &b) |
int | SSYEV (char jobz, char uplo, SMatrix &M, SVector &V, float *work, int &lwork) |
|
Definition at line 23 of file MyLapack.h. |
|
LU decomposition for a dense matrix.
Definition at line 41 of file MyLapack.cpp. References DMatrix::array(), DMatrix::dim1(), F77_FUNC, info, and n. |
|
Calculates th determinant of a matrix using its LU decomposed matrix Definition at line 27 of file MyLapack.cpp. References DMatrix::dim1(). |
|
Calculates the inverse and determinant of a matrix using a dense LU solver. This method scales as . Definition at line 49 of file MyLapack.cpp. References DMatrix::array(), DMatrix::dim1(), DMatrix::dim2(), F77_FUNC, info, lda, and n. |
|
Solves a system of linear equations using a dense LU solver. this method scales as . Definition at line 68 of file MyLapack.cpp. References DVector::array(), DMatrix::array(), DMatrix::dim1(), F77_FUNC, info, and n. |
|
Calculate Eigenvalues and also Eigenvector of a symmetric matrix Definition at line 59 of file MyLapack.cpp. References DVector::array(), DMatrix::array(), DMatrix::dim1(), DMatrix::dim2(), DSYEV(), F77_FUNC, info, lda, and n. |
|
Single Precision Definition at line 93 of file MyLapack.cpp. References SMatrix::array(), SMatrix::dim1(), F77_FUNC, info, and n. |
|
Definition at line 79 of file MyLapack.cpp. References SMatrix::dim1(). |
|
Definition at line 101 of file MyLapack.cpp. References SMatrix::array(), SMatrix::dim1(), SMatrix::dim2(), F77_FUNC, info, lda, and n. |
|
|
|
Definition at line 111 of file MyLapack.cpp. References SVector::array(), SMatrix::array(), SMatrix::dim1(), SMatrix::dim2(), F77_FUNC, info, lda, n, and SSYEV(). |