VecSum

Computes the sum of all the components of a vector.

Synopsis

int VecSum(Vec v,Scalar *sum)
Collective on Vec

Input Parameter

v -the vector

Output Parameter

sum -the result

Keywords

vector, sum

See Also

VecNorm()

Location: src/vec/utils/vinv.c
Vector Index
Table of Contents