![]() |
Fast Auxiliary Space Preconditioning 2.7.7 Aug/28/2022
|
Simple array operations – init, set, copy, etc. More...
Go to the source code of this file.
Functions | |
void | fasp_darray_set (const INT n, REAL *x, const REAL val) |
Set initial value for an array to be x=val. More... | |
void | fasp_iarray_set (const INT n, INT *x, const INT val) |
Set initial value for an array to be x=val. More... | |
void | fasp_ldarray_set (const INT n, LONGREAL *x, const LONGREAL val) |
Set initial value for an array to be x=val. More... | |
void | fasp_darray_cp (const INT n, const REAL *x, REAL *y) |
Copy an array to the other y=x. More... | |
void | fasp_iarray_cp (const INT n, const INT *x, INT *y) |
Copy an array to the other y=x. More... | |
Simple array operations – init, set, copy, etc.
Copyright (C) 2009–Present by the FASP team. All rights reserved.
Definition in file AuxArray.c.
Copy an array to the other y=x.
n | Number of variables |
x | Pointer to the original vector |
y | Pointer to the destination vector |
Definition at line 210 of file AuxArray.c.
Set initial value for an array to be x=val.
n | Number of variables |
x | Pointer to the vector |
val | Initial value for the REAL array |
Modified by Chunsheng Feng, Xiaoqiang Yue on 05/23/2012
Definition at line 41 of file AuxArray.c.
Copy an array to the other y=x.
n | Number of variables |
x | Pointer to the original vector |
y | Pointer to the destination vector |
Definition at line 227 of file AuxArray.c.
Set initial value for an array to be x=val.
n | Number of variables |
x | Pointer to the vector |
val | Initial value for the REAL array |
Modified by Chunsheng Feng, Xiaoqiang Yue on 05/25/2012
Definition at line 98 of file AuxArray.c.
Set initial value for an array to be x=val.
n | Number of variables |
x | Pointer to the vector |
val | Initial value for the LONGREAL array |
Definition at line 154 of file AuxArray.c.