![]() |
Fast Auxiliary Space Preconditioning 2.7.7 Aug/28/2022
|
BLAS operations for small dense matrices. More...
Go to the source code of this file.
Functions | |
void | fasp_blas_smat_axm (REAL *a, const INT n, const REAL alpha) |
Compute a = alpha*a (in place) More... | |
void | fasp_blas_smat_axm1 (REAL *a, const INT n, const REAL alpha, REAL *b) |
Compute b = alpha*a (in place) More... | |
void | fasp_blas_smat_add (const REAL *a, const REAL *b, const INT n, const REAL alpha, const REAL beta, REAL *c) |
Compute c = alpha*a + beta*b. More... | |
void | fasp_blas_smat_mxv_nc2 (const REAL *a, const REAL *b, REAL *c) |
Compute the product of a 2*2 matrix a and a array b, stored in c. More... | |
void | fasp_blas_smat_mxv_nc3 (const REAL *a, const REAL *b, REAL *c) |
Compute the product of a 3*3 matrix a and a array b, stored in c. More... | |
void | fasp_blas_smat_mxv_nc4 (const REAL *a, const REAL *b, REAL *c) |
Compute the product of a 4*4 matrix a and a array b, stored in c. More... | |
void | fasp_blas_smat_mxv_nc5 (const REAL *a, const REAL *b, REAL *c) |
Compute the product of a 5*5 matrix a and a array b, stored in c. More... | |
void | fasp_blas_smat_mxv_nc7 (const REAL *a, const REAL *b, REAL *c) |
Compute the product of a 7*7 matrix a and a array b, stored in c. More... | |
void | fasp_blas_smat_mxv (const REAL *a, const REAL *b, REAL *c, const INT n) |
Compute the product of a small full matrix a and a array b, stored in c. More... | |
void | fasp_blas_smat_mul_nc2 (const REAL *a, const REAL *b, REAL *c) |
Compute the matrix product of two 2* matrices a and b, stored in c. More... | |
void | fasp_blas_smat_mul_nc3 (const REAL *a, const REAL *b, REAL *c) |
Compute the matrix product of two 3*3 matrices a and b, stored in c. More... | |
void | fasp_blas_smat_mul_nc4 (const REAL *a, const REAL *b, REAL *c) |
Compute the matrix product of two 4*4 matrices a and b, stored in c. More... | |
void | fasp_blas_smat_mul_nc5 (const REAL *a, const REAL *b, REAL *c) |
Compute the matrix product of two 5*5 matrices a and b, stored in c. More... | |
void | fasp_blas_smat_mul_nc7 (const REAL *a, const REAL *b, REAL *c) |
Compute the matrix product of two 7*7 matrices a and b, stored in c. More... | |
void | fasp_blas_smat_mul (const REAL *a, const REAL *b, REAL *c, const INT n) |
Compute the matrix product of two small full matrices a and b, stored in c. More... | |
void | fasp_blas_smat_ypAx_nc2 (const REAL *A, const REAL *x, REAL *y) |
Compute y := y + Ax, where 'A' is a 2*2 dense matrix. More... | |
void | fasp_blas_smat_ypAx_nc3 (const REAL *A, const REAL *x, REAL *y) |
Compute y := y + Ax, where 'A' is a 3*3 dense matrix. More... | |
void | fasp_blas_smat_ypAx_nc4 (const REAL *A, const REAL *x, REAL *y) |
Compute y := y + Ax, where 'A' is a 4*4 dense matrix. More... | |
void | fasp_blas_smat_ypAx_nc5 (const REAL *A, const REAL *x, REAL *y) |
Compute y := y + Ax, where 'A' is a 5*5 dense matrix. More... | |
void | fasp_blas_smat_ypAx_nc7 (const REAL *A, const REAL *x, REAL *y) |
Compute y := y + Ax, where 'A' is a 7*7 dense matrix. More... | |
void | fasp_blas_smat_ypAx (const REAL *A, const REAL *x, REAL *y, const INT n) |
Compute y := y + Ax, where 'A' is a n*n dense matrix. More... | |
void | fasp_blas_smat_ymAx_nc2 (const REAL *A, const REAL *x, REAL *y) |
Compute y := y - Ax, where 'A' is a 2*2 dense matrix. More... | |
void | fasp_blas_smat_ymAx_nc3 (const REAL *A, const REAL *x, REAL *y) |
Compute y := y - Ax, where 'A' is a 3*3 dense matrix. More... | |
void | fasp_blas_smat_ymAx_nc4 (const REAL *A, const REAL *x, REAL *y) |
Compute y := y - Ax, where 'A' is a 4*4 dense matrix. More... | |
void | fasp_blas_smat_ymAx_nc5 (const REAL *A, const REAL *x, REAL *y) |
Compute y := y - Ax, where 'A' is a 5*5 dense matrix. More... | |
void | fasp_blas_smat_ymAx_nc7 (const REAL *A, const REAL *x, REAL *y) |
Compute y := y - Ax, where 'A' is a 7*7 dense matrix. More... | |
void | fasp_blas_smat_ymAx (const REAL *A, const REAL *x, REAL *y, const INT n) |
Compute y := y - Ax, where 'A' is a n*n dense matrix. More... | |
void | fasp_blas_smat_aAxpby (const REAL alpha, const REAL *A, const REAL *x, const REAL beta, REAL *y, const INT n) |
Compute y:=alpha*A*x + beta*y. More... | |
BLAS operations for small dense matrices.
Copyright (C) 2009–Present by the FASP team. All rights reserved.
Definition in file BlaSmallMat.c.
void fasp_blas_smat_aAxpby | ( | const REAL | alpha, |
const REAL * | A, | ||
const REAL * | x, | ||
const REAL | beta, | ||
REAL * | y, | ||
const INT | n | ||
) |
Compute y:=alpha*A*x + beta*y.
alpha | REAL factor alpha |
A | Pointer to the REAL array which stands for a n*n full matrix |
x | Pointer to the REAL array with length n |
beta | REAL factor beta |
y | Pointer to the REAL array with length n |
n | Length of array x and y |
Definition at line 1140 of file BlaSmallMat.c.
void fasp_blas_smat_add | ( | const REAL * | a, |
const REAL * | b, | ||
const INT | n, | ||
const REAL | alpha, | ||
const REAL | beta, | ||
REAL * | c | ||
) |
Compute c = alpha*a + beta*b.
a | Pointer to the REAL array which stands a n*n matrix |
b | Pointer to the REAL array which stands a n*n matrix |
n | Dimension of the matrix |
alpha | Scalar |
beta | Scalar |
c | Pointer to the REAL array which stands a n*n matrix |
Definition at line 86 of file BlaSmallMat.c.
Compute a = alpha*a (in place)
a | Pointer to the REAL array which stands a n*n matrix |
n | Dimension of the matrix |
alpha | Scalar |
Definition at line 37 of file BlaSmallMat.c.
Compute b = alpha*a (in place)
a | Pointer to the REAL array which stands a n*n matrix |
b | OUT: Pointer to the REAL array which stands a n*n matrix |
n | Dimension of the matrix |
alpha | Scalar |
Definition at line 60 of file BlaSmallMat.c.
Compute the matrix product of two small full matrices a and b, stored in c.
a | Pointer to the REAL array which stands a n*n matrix |
b | Pointer to the REAL array which stands a n*n matrix |
c | Pointer to the REAL array which stands a n*n matrix |
n | Dimension of the matrix |
Definition at line 596 of file BlaSmallMat.c.
Compute the matrix product of two 2* matrices a and b, stored in c.
a | Pointer to the REAL array which stands a n*n matrix |
b | Pointer to the REAL array which stands a n*n matrix |
c | Pointer to the REAL array which stands a n*n matrix |
Definition at line 289 of file BlaSmallMat.c.
Compute the matrix product of two 3*3 matrices a and b, stored in c.
a | Pointer to the REAL array which stands a n*n matrix |
b | Pointer to the REAL array which stands a n*n matrix |
c | Pointer to the REAL array which stands a n*n matrix |
Definition at line 315 of file BlaSmallMat.c.
Compute the matrix product of two 4*4 matrices a and b, stored in c.
a | Pointer to the REAL array which stands a n*n matrix |
b | Pointer to the REAL array which stands a n*n matrix |
c | Pointer to the REAL array which stands a n*n matrix |
Definition at line 350 of file BlaSmallMat.c.
Compute the matrix product of two 5*5 matrices a and b, stored in c.
a | Pointer to the REAL array which stands a 5*5 matrix |
b | Pointer to the REAL array which stands a 5*5 matrix |
c | Pointer to the REAL array which stands a 5*5 matrix |
Definition at line 395 of file BlaSmallMat.c.
Compute the matrix product of two 7*7 matrices a and b, stored in c.
a | Pointer to the REAL array which stands a 7*7 matrix |
b | Pointer to the REAL array which stands a 7*7 matrix |
c | Pointer to the REAL array which stands a 7*7 matrix |
Definition at line 452 of file BlaSmallMat.c.
Compute the product of a small full matrix a and a array b, stored in c.
a | Pointer to the REAL array which stands a n*n matrix |
b | Pointer to the REAL array with length n |
c | Pointer to the REAL array with length n |
n | Dimension of the matrix |
Definition at line 238 of file BlaSmallMat.c.
Compute the product of a 2*2 matrix a and a array b, stored in c.
a | Pointer to the REAL array which stands a 2*2 matrix |
b | Pointer to the REAL array with length 2 |
c | Pointer to the REAL array with length 2 |
Definition at line 113 of file BlaSmallMat.c.
Compute the product of a 3*3 matrix a and a array b, stored in c.
a | Pointer to the REAL array which stands a 3*3 matrix |
b | Pointer to the REAL array with length 3 |
c | Pointer to the REAL array with length 3 |
Definition at line 133 of file BlaSmallMat.c.
Compute the product of a 4*4 matrix a and a array b, stored in c.
a | Pointer to the REAL array which stands a 4*4 matrix |
b | Pointer to the REAL array with length 4 |
c | Pointer to the REAL array with length 4 |
Definition at line 154 of file BlaSmallMat.c.
Compute the product of a 5*5 matrix a and a array b, stored in c.
a | Pointer to the REAL array which stands a 5*5 matrix |
b | Pointer to the REAL array with length 5 |
c | Pointer to the REAL array with length 5 |
Definition at line 176 of file BlaSmallMat.c.
Compute the product of a 7*7 matrix a and a array b, stored in c.
a | Pointer to the REAL array which stands a 7*7 matrix |
b | Pointer to the REAL array with length 7 |
c | Pointer to the REAL array with length 7 |
Definition at line 200 of file BlaSmallMat.c.
Compute y := y - Ax, where 'A' is a n*n dense matrix.
A | Pointer to the n*n dense matrix |
x | Pointer to the REAL array with length n |
y | Pointer to the REAL array with length n |
n | the dimension of the dense matrix |
Modified by Chensong Zhang on 01/25/2017
Definition at line 1028 of file BlaSmallMat.c.
Compute y := y - Ax, where 'A' is a 2*2 dense matrix.
A | Pointer to the 2*2 dense matrix |
x | Pointer to the REAL array with length 3 |
y | Pointer to the REAL array with length 3 |
Definition at line 889 of file BlaSmallMat.c.
Compute y := y - Ax, where 'A' is a 3*3 dense matrix.
A | Pointer to the 3*3 dense matrix |
x | Pointer to the REAL array with length 3 |
y | Pointer to the REAL array with length 3 |
Definition at line 913 of file BlaSmallMat.c.
Compute y := y - Ax, where 'A' is a 4*4 dense matrix.
A | Pointer to the 4*4 dense matrix |
x | Pointer to the REAL array with length 4 |
y | Pointer to the REAL array with length 4 |
Definition at line 938 of file BlaSmallMat.c.
Compute y := y - Ax, where 'A' is a 5*5 dense matrix.
A | Pointer to the 5*5 dense matrix |
x | Pointer to the REAL array with length 5 |
y | Pointer to the REAL array with length 5 |
Definition at line 963 of file BlaSmallMat.c.
Compute y := y - Ax, where 'A' is a 7*7 dense matrix.
A | Pointer to the 7*7 dense matrix |
x | Pointer to the REAL array with length 7 |
y | Pointer to the REAL array with length 7 |
Definition at line 990 of file BlaSmallMat.c.
Compute y := y + Ax, where 'A' is a n*n dense matrix.
A | Pointer to the n*n dense matrix |
x | Pointer to the REAL array with length n |
y | Pointer to the REAL array with length n |
n | Dimension of the dense matrix |
Modified by Chensong Zhang on 01/25/2017
Definition at line 779 of file BlaSmallMat.c.
Compute y := y + Ax, where 'A' is a 2*2 dense matrix.
A | Pointer to the 3*3 dense matrix |
x | Pointer to the REAL array with length 3 |
y | Pointer to the REAL array with length 3 |
Definition at line 651 of file BlaSmallMat.c.
Compute y := y + Ax, where 'A' is a 3*3 dense matrix.
A | Pointer to the 3*3 dense matrix |
x | Pointer to the REAL array with length 3 |
y | Pointer to the REAL array with length 3 |
Definition at line 673 of file BlaSmallMat.c.
Compute y := y + Ax, where 'A' is a 4*4 dense matrix.
A | Pointer to the 4*4 dense matrix |
x | Pointer to the REAL array with length 4 |
y | Pointer to the REAL array with length 4 |
Definition at line 695 of file BlaSmallMat.c.
Compute y := y + Ax, where 'A' is a 5*5 dense matrix.
A | Pointer to the 5*5 dense matrix |
x | Pointer to the REAL array with length 5 |
y | Pointer to the REAL array with length 5 |
Definition at line 718 of file BlaSmallMat.c.
Compute y := y + Ax, where 'A' is a 7*7 dense matrix.
A | Pointer to the 7*7 dense matrix |
x | Pointer to the REAL array with length 7 |
y | Pointer to the REAL array with length 7 |
Definition at line 742 of file BlaSmallMat.c.