VecsDuplicate#

Creates a new Vecs with the same size and layout as an existing Vecs, but does not copy the values

Synopsis#

Collective

Input Parameter#

  • x - the existing Vecs

Output Parameter#

  • y - the newly created Vecs

See Also#

Vecs, VecsCreateSeq(), VecsCreateSeqWithArray(), VecsDestroy(), VecDuplicate()

Level#

advanced

Location#

src/vec/vec/utils/vecs.c

Examples#

src/mat/tests/ex76.c


Index of all Vec routines
Table of Contents for all manual pages
Index of all manual pages