![]() |
Fast Auxiliary Space Preconditioning 2.7.7 Aug/28/2022
|
BLAS1 operations for vectors. More...
Go to the source code of this file.
Functions | |
void | fasp_blas_dvec_axpy (const REAL a, const dvector *x, dvector *y) |
y = a*x + y More... | |
void | fasp_blas_dvec_axpyz (const REAL a, const dvector *x, const dvector *y, dvector *z) |
z = a*x + y, z is a third vector (z is cleared) More... | |
REAL | fasp_blas_dvec_norm1 (const dvector *x) |
L1 norm of dvector x. More... | |
REAL | fasp_blas_dvec_norm2 (const dvector *x) |
L2 norm of dvector x. More... | |
REAL | fasp_blas_dvec_norminf (const dvector *x) |
Linf norm of dvector x. More... | |
REAL | fasp_blas_dvec_dotprod (const dvector *x, const dvector *y) |
Inner product of two vectors (x,y) More... | |
REAL | fasp_blas_dvec_relerr (const dvector *x, const dvector *y) |
Relative difference between two dvector x and y. More... | |
BLAS1 operations for vectors.
Copyright (C) 2009–Present by the FASP team. All rights reserved.
Definition in file BlaVector.c.
y = a*x + y
a | REAL factor a |
x | Pointer to dvector x |
y | Pointer to dvector y |
Modified by Chunsheng Feng, Xiaoqiang Yue on 05/23/2012
Definition at line 41 of file BlaVector.c.
z = a*x + y, z is a third vector (z is cleared)
a | REAL factor a |
x | Pointer to dvector x |
y | Pointer to dvector y |
z | Pointer to dvector z |
Modified by Chunsheng Feng, Xiaoqiang Yue on 05/23/2012
Definition at line 96 of file BlaVector.c.
Inner product of two vectors (x,y)
x | Pointer to dvector x |
y | Pointer to dvector y |
Modified by Chunsheng Feng, Xiaoqiang Yue on 05/23/2012
Definition at line 236 of file BlaVector.c.
L1 norm of dvector x.
x | Pointer to dvector x |
Modified by Chunsheng Feng, Xiaoqiang Yue on 05/23/2012
Definition at line 130 of file BlaVector.c.
L2 norm of dvector x.
x | Pointer to dvector x |
Definition at line 170 of file BlaVector.c.
Linf norm of dvector x.
x | Pointer to dvector x |
Definition at line 208 of file BlaVector.c.
Relative difference between two dvector x and y.
x | Pointer to dvector x |
y | Pointer to dvector y |
Modified by Chunsheng Feng, Xiaoqiang Yue on 05/23/2012
Definition at line 278 of file BlaVector.c.