ʻOhana
Population structure, admixture history, and selection using learning methods.
|
A template for a class providing access to LAPACK. More...
#include <jade.lapack.hpp>
Public Types | |
enum | layout_type { col_major = LAPACK_COL_MAJOR, row_major = LAPACK_ROW_MAJOR } |
A type indicating whether the elements of a matrix are in row-major or column-major order. More... | |
typedef TValue | value_type |
The value type. More... | |
Static Public Member Functions | |
static int | gesv (layout_type layout, int n, int nrhs, value_type *a, int lda, int *ipiv, value_type *b, int ldb) |
Computes the solution to the system of linear equations with a square coefficient matrix A and multiple right-hand sides. More... | |
static int | potrf (layout_type layout, char uplo, int n, value_type *a, int lda) |
Computes the Cholesky factorization of a symmetric (Hermitian) positive-definite matrix. More... | |
static int | potri (layout_type layout, char uplo, int n, value_type *a, int lda) |
Computes the inverse of a symmetric (Hermitian) positive-definite matrix using the Cholesky factorization. More... | |
A template for a class providing access to LAPACK.
Definition at line 18 of file jade.lapack.hpp.
typedef TValue jade::basic_lapack< TValue >::value_type |
The value type.
Definition at line 22 of file jade.lapack.hpp.
enum jade::basic_lapack::layout_type |
A type indicating whether the elements of a matrix are in row-major or column-major order.
Enumerator | |
---|---|
col_major | A column-major order. |
row_major | A row-major order. |
Definition at line 34 of file jade.lapack.hpp.
|
static |
Computes the solution to the system of linear equations with a square coefficient matrix A and multiple right-hand sides.
Matrices must be in column-major order.
layout | The matrix layout. |
n | The number of equations. |
nrhs | The number of right-hand sides. |
a | The coefficient matrix. |
lda | The leading dimension of a. |
ipiv | The pivot table. |
b | The right-hand sides. |
ldb | The leading dimension of b. |
|
static |
Computes the Cholesky factorization of a symmetric (Hermitian) positive-definite matrix.
Matrices must be in column-major order.
layout | The matrix layout. |
uplo | The upper-lower flag. |
n | The order of the matrix. |
a | The matrix data. |
lda | The stride of the matrix. |
|
static |
Computes the inverse of a symmetric (Hermitian) positive-definite matrix using the Cholesky factorization.
Matrices must be in column-major order.
layout | The matrix layout. |
uplo | The upper-lower flag. |
n | The order of the matrix. |
a | The matrix data. |
lda | The stride of the matrix. |