VecSwap

Swaps the vectors x and y.

Synopsis

#include "petscvec.h"   
PetscErrorCode  VecSwap(Vec x,Vec y)
Logically Collective on Vec

Input Parameters

x, y - the vectors

Level: advanced

Location:vector.c