VecMAXPY
Computes y = y + sum alpha[j] x[j]
Synopsis
#include "vec.h"
int VecMAXPY(int nv,const Scalar *alpha,Vec y,Vec *x)
Collective on Vec
Input Parameters
| nv | - number of scalars and x-vectors
|
| alpha | - array of scalars
|
| y | - one vector
|
| x | - 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
src/vec/examples/tutorials/ex10.c
src/vec/examples/tutorials/ex1e.c
Level:intermediate
Location:src/vec/interface/vector.c
Vector Index
Table of Contents