![]() |
Fast Auxiliary Space Preconditioning 2.7.7 Aug/28/2022
|
BLAS1 operations for arrays. More...
Go to the source code of this file.
Functions | |
void | fasp_blas_darray_ax (const INT n, const REAL a, REAL *x) |
x = a*x More... | |
void | fasp_blas_darray_axpy (const INT n, const REAL a, const REAL *x, REAL *y) |
y = a*x + y More... | |
void | fasp_blas_ldarray_axpy (const INT n, const REAL a, const REAL *x, LONGREAL *y) |
y = a*x + y More... | |
void | fasp_blas_darray_axpy_nc2 (const REAL a, const REAL *x, REAL *y) |
y = a*x + y, length of x and y should be 2 More... | |
void | fasp_blas_darray_axpy_nc3 (const REAL a, const REAL *x, REAL *y) |
y = a*x + y, length of x and y should be 3 More... | |
void | fasp_blas_darray_axpy_nc5 (const REAL a, const REAL *x, REAL *y) |
y = a*x + y, length of x and y should be 5 More... | |
void | fasp_blas_darray_axpy_nc7 (const REAL a, const REAL *x, REAL *y) |
y = a*x + y, length of x and y should be 7 More... | |
void | fasp_blas_darray_axpyz (const INT n, const REAL a, const REAL *x, const REAL *y, REAL *z) |
z = a*x + y More... | |
void | fasp_blas_darray_axpyz_nc2 (const REAL a, const REAL *x, const REAL *y, REAL *z) |
z = a*x + y, length of x, y and z should be 2 More... | |
void | fasp_blas_darray_axpyz_nc3 (const REAL a, const REAL *x, const REAL *y, REAL *z) |
z = a*x + y, length of x, y and z should be 3 More... | |
void | fasp_blas_darray_axpyz_nc5 (const REAL a, const REAL *x, const REAL *y, REAL *z) |
z = a*x + y, length of x, y and z should be 5 More... | |
void | fasp_blas_darray_axpyz_nc7 (const REAL a, const REAL *x, const REAL *y, REAL *z) |
z = a*x + y, length of x, y and z should be 7 More... | |
void | fasp_blas_darray_axpby (const INT n, const REAL a, const REAL *x, const REAL b, REAL *y) |
y = a*x + b*y More... | |
REAL | fasp_blas_darray_norm1 (const INT n, const REAL *x) |
L1 norm of array x. More... | |
REAL | fasp_blas_darray_norm2 (const INT n, const REAL *x) |
L2 norm of array x. More... | |
REAL | fasp_blas_darray_norminf (const INT n, const REAL *x) |
Linf norm of array x. More... | |
REAL | fasp_blas_darray_dotprod (const INT n, const REAL *x, const REAL *y) |
Inner product of two arraies x and y. More... | |
BLAS1 operations for arrays.
Copyright (C) 2009–Present by the FASP team. All rights reserved.
Definition in file BlaArray.c.
x = a*x
n | Number of variables |
a | Factor a |
x | Pointer to x |
Modified by Chunsheng Feng, Xiaoqiang Yue on 05/23/2012
Definition at line 43 of file BlaArray.c.
y = a*x + b*y
n | Number of variables |
a | Factor a |
x | Pointer to x |
b | Factor b |
y | Pointer to y, reused to store the resulting array |
Modified by Chunsheng Feng, Xiaoqiang Yue on 05/23/2012
Definition at line 620 of file BlaArray.c.
y = a*x + y
n | Number of variables |
a | Factor a |
x | Pointer to x |
y | Pointer to y, reused to store the resulting array |
Modified by Chunsheng Feng, Xiaoqiang Yue on 05/23/2012
Definition at line 90 of file BlaArray.c.
y = a*x + y, length of x and y should be 2
a | REAL factor a |
x | Pointer to the original array |
y | Pointer to the destination array |
Definition at line 234 of file BlaArray.c.
y = a*x + y, length of x and y should be 3
a | REAL factor a |
x | Pointer to the original array |
y | Pointer to the destination array |
Definition at line 255 of file BlaArray.c.
y = a*x + y, length of x and y should be 5
a | REAL factor a |
x | Pointer to the original array |
y | Pointer to the destination array |
Definition at line 282 of file BlaArray.c.
y = a*x + y, length of x and y should be 7
a | REAL factor a |
x | Pointer to the original array |
y | Pointer to the destination array |
Definition at line 327 of file BlaArray.c.
z = a*x + y
n | Number of variables |
a | Factor a |
x | Pointer to x |
y | Pointer to y |
z | Pointer to z |
Modified by Chunsheng Feng, Xiaoqiang Yue on 05/23/2012
Definition at line 403 of file BlaArray.c.
z = a*x + y, length of x, y and z should be 2
a | REAL factor a |
x | Pointer to the original array 1 |
y | Pointer to the original array 2 |
z | Pointer to the destination array |
Definition at line 445 of file BlaArray.c.
z = a*x + y, length of x, y and z should be 3
a | REAL factor a |
x | Pointer to the original array 1 |
y | Pointer to the original array 2 |
z | Pointer to the destination array |
Definition at line 468 of file BlaArray.c.
z = a*x + y, length of x, y and z should be 5
a | REAL factor a |
x | Pointer to the original array 1 |
y | Pointer to the original array 2 |
z | Pointer to the destination array |
Definition at line 497 of file BlaArray.c.
z = a*x + y, length of x, y and z should be 7
a | REAL factor a |
x | Pointer to the original array 1 |
y | Pointer to the original array 2 |
z | Pointer to the destination array |
Definition at line 544 of file BlaArray.c.
Inner product of two arraies x and y.
n | Number of variables |
x | Pointer to x |
y | Pointer to y |
Modified by Chunsheng Feng, Xiaoqiang Yue on 05/23/2012
Definition at line 771 of file BlaArray.c.
L1 norm of array x.
n | Number of variables |
x | Pointer to x |
Modified by Chunsheng Feng, Xiaoqiang Yue on 05/23/2012
Definition at line 663 of file BlaArray.c.
L2 norm of array x.
n | Number of variables |
x | Pointer to x |
Modified by Chunsheng Feng, Xiaoqiang Yue on 05/23/2012
Definition at line 691 of file BlaArray.c.
Linf norm of array x.
n | Number of variables |
x | Pointer to x |
Modified by Chunsheng Feng, Zheng Li on 06/28/2012
Definition at line 719 of file BlaArray.c.