# VecInitializePackage#

This function initializes everything in the Vec package. It is called from PetscDLLibraryRegister_petscvec() when using dynamic libraries, and on the first call to VecCreate() when using shared or static libraries.

## Synopsis#

PetscErrorCode VecInitializePackage(void)


PetscInitialize()