ʻOhana
Population structure, admixture history, and selection using learning methods.
|
A template for a class providing access to BLAS. More...
#include <jade.blas.hpp>
Public Types | |
typedef TValue | value_type |
The value type. More... | |
typedef CBLAS_ORDER | layout_type |
A type indicating whether the elements of a matrix are in row-major or column-major order. More... | |
typedef CBLAS_TRANSPOSE | transpose_type |
A type indicating a kind of transpose operation to perform on a matrix. More... | |
Static Public Member Functions | |
static value_type | dot (const int n, const value_type *x, const int incx, const value_type *y, const int incy) |
Computes a vector-vector dot product. More... | |
static void | gemm (const layout_type Order, const transpose_type TransA, const transpose_type TransB, const int M, const int N, const int K, const value_type alpha, const value_type *A, const int lda, const value_type *B, const int ldb, const value_type beta, value_type *C, const int ldc) |
Computes a matrix-matrix product with general matrices. More... | |
static void | gemv (const layout_type order, const transpose_type trans, const int m, const int n, const value_type alpha, const value_type *a, const int lda, const value_type *x, const int incx, const value_type beta, value_type *y, const int incy) |
Computes a matrix-vector product using a general matrix. More... | |
A template for a class providing access to BLAS.
Definition at line 18 of file jade.blas.hpp.
typedef CBLAS_ORDER jade::basic_blas< TValue >::layout_type |
A type indicating whether the elements of a matrix are in row-major or column-major order.
Definition at line 26 of file jade.blas.hpp.
typedef CBLAS_TRANSPOSE jade::basic_blas< TValue >::transpose_type |
A type indicating a kind of transpose operation to perform on a matrix.
Definition at line 30 of file jade.blas.hpp.
typedef TValue jade::basic_blas< TValue >::value_type |
The value type.
Definition at line 22 of file jade.blas.hpp.
|
static |
Computes a vector-vector dot product.
n | The number of elements. |
x | The X array. |
incx | The X increment. |
y | The Y array. |
incy | The Y increment. |
|
static |
Computes a matrix-matrix product with general matrices.
Order | The order. |
TransA | Transpose A. |
TransB | Transpose B. |
M | Rows of A. |
N | Columns of B. |
K | The order. |
alpha | Alpha scalar. |
A | A matrix. |
lda | Stride of A. |
B | B matrix. |
ldb | Stride of B. |
beta | Beta scalar. |
C | C matrix. |
ldc | Stride of C. |
|
static |
Computes a matrix-vector product using a general matrix.
order | The layout. |
trans | Transpose. |
m | Rows of A. |
n | Columns of A. |
alpha | Alpha scalar. |
a | A matrix. |
lda | Stride of A. |
x | X vector. |
incx | Stride of X. |
beta | Beta scalar. |
y | Y vector. |
incy | Stride of Y. |