VecMAXPY
Computes x = x + sum alpha[j] y[j]
Synopsis
int VecMAXPY(int nv,Scalar *alpha,Vec x,Vec *y)
Collective on
Vec
Input Parameters
nv | - number of scalars and x-vectors
|
alpha | - array of scalars
|
x | - one vector
|
y | - array of vectors
|
Output Parameter
y -array of vectors
Keywords
vector, saxpy, maxpy, multiple
See Also
VecAXPY(), VecWAXPY(), VecAYPX()
Examples
src/vec/examples/tutorials/ex1f.F
src/vec/examples/tutorials/ex1f90.F
src/vec/examples/tutorials/ex1.c
Location: src/vec/interface/vector.c
Vector Index
Table of Contents