VecShift

Shifts all of the components of a vector by computing x[i] = x[i] + shift.

Synopsis

int VecShift(const Scalar *shift,Vec v)
Collective on Vec

Input Parameters

v - the vector
shift - the shift

Output Parameter

v -the shifted vector

Keywords

vector, shift

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