VecsDestroy — PETSc 3.25.4 documentation

Skip to main content
`Ctrl`+`K`

# VecsDestroy

Destroys a `Vecs` collection of vectors

## Synopsis

    PetscErrorCode VecsDestroy(Vecs x)

Collective

## Input Parameter

- x - the `Vecs` object to destroy

## See Also

`Vecs`, `VecsCreateSeq()`, `VecsCreateSeqWithArray()`, `VecsDuplicate()`

## Level

advanced

## Location

src/vec/vec/utils/vecs.c

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