#include "petscvec.h" PetscErrorCode VecStrideScale(Vec v,PetscInt start,PetscScalar scale)Logically Collective on Vec
v | - the vector | |
start | - starting point of the subvector (defined by a stride) | |
scale | - value to multiply each subvector entry by |
This will only work if the desire subvector is a stride subvector
Level:advanced
Location:src/vec/vec/utils/vinv.c
Index of all Vec routines
Table of Contents for all manual pages
Index of all manual pages