# Vec

Abstract PETSc vector object

### Synopsis

    typedef struct _p_Vec*         Vec;

### See Also

VecCreate(), VecType, VecSetType()

Level:beginner
Location: src/vec/../../include/petscvec.h
Index of all Vec routines
Table of Contents for all manual pages
Index of all manual pages

### Examples

src/vec/examples/tutorials/ex7.c.html
src/vec/examples/tutorials/ex1f90.F.html
src/mat/examples/tutorials/ex4.c.html
src/ksp/examples/tutorials/ex9.c.html
src/ksp/examples/tutorials/ex15.c.html
src/ksp/examples/tutorials/ex22.c.html
src/ksp/examples/tutorials/ex25.c.html
src/ksp/examples/tutorials/ex28.c.html
src/ksp/examples/tutorials/ex2f.F.html
src/snes/examples/tutorials/ex1.c.html
src/snes/examples/tutorials/ex2.c.html