petsc4py.PETSc.Vec
==================

.. autoclass:: petsc4py.PETSc.Vec
   :show-inheritance:

   
   .. rubric:: Enumerations
   .. autosummary::
      :toctree:
   
      ~petsc4py.PETSc.Vec.Option
      ~petsc4py.PETSc.Vec.Type

   
   .. rubric:: Methods Summary
   .. autosummary::
   
      ~petsc4py.PETSc.Vec.abs
      ~petsc4py.PETSc.Vec.appendOptionsPrefix
      ~petsc4py.PETSc.Vec.assemble
      ~petsc4py.PETSc.Vec.assemblyBegin
      ~petsc4py.PETSc.Vec.assemblyEnd
      ~petsc4py.PETSc.Vec.attachDLPackInfo
      ~petsc4py.PETSc.Vec.axpby
      ~petsc4py.PETSc.Vec.axpy
      ~petsc4py.PETSc.Vec.aypx
      ~petsc4py.PETSc.Vec.bindToCPU
      ~petsc4py.PETSc.Vec.boundToCPU
      ~petsc4py.PETSc.Vec.chop
      ~petsc4py.PETSc.Vec.clearDLPackInfo
      ~petsc4py.PETSc.Vec.conjugate
      ~petsc4py.PETSc.Vec.copy
      ~petsc4py.PETSc.Vec.create
      ~petsc4py.PETSc.Vec.createCUDAWithArrays
      ~petsc4py.PETSc.Vec.createGhost
      ~petsc4py.PETSc.Vec.createGhostWithArray
      ~petsc4py.PETSc.Vec.createHIPWithArrays
      ~petsc4py.PETSc.Vec.createLocalVector
      ~petsc4py.PETSc.Vec.createMPI
      ~petsc4py.PETSc.Vec.createNest
      ~petsc4py.PETSc.Vec.createSeq
      ~petsc4py.PETSc.Vec.createShared
      ~petsc4py.PETSc.Vec.createViennaCLWithArrays
      ~petsc4py.PETSc.Vec.createWithArray
      ~petsc4py.PETSc.Vec.createWithDLPack
      ~petsc4py.PETSc.Vec.destroy
      ~petsc4py.PETSc.Vec.dot
      ~petsc4py.PETSc.Vec.dotBegin
      ~petsc4py.PETSc.Vec.dotEnd
      ~petsc4py.PETSc.Vec.dotNorm2
      ~petsc4py.PETSc.Vec.duplicate
      ~petsc4py.PETSc.Vec.equal
      ~petsc4py.PETSc.Vec.exp
      ~petsc4py.PETSc.Vec.getArray
      ~petsc4py.PETSc.Vec.getBlockSize
      ~petsc4py.PETSc.Vec.getBuffer
      ~petsc4py.PETSc.Vec.getCLContextHandle
      ~petsc4py.PETSc.Vec.getCLMemHandle
      ~petsc4py.PETSc.Vec.getCLQueueHandle
      ~petsc4py.PETSc.Vec.getCUDAHandle
      ~petsc4py.PETSc.Vec.getDM
      ~petsc4py.PETSc.Vec.getHIPHandle
      ~petsc4py.PETSc.Vec.getLGMap
      ~petsc4py.PETSc.Vec.getLocalSize
      ~petsc4py.PETSc.Vec.getLocalVector
      ~petsc4py.PETSc.Vec.getNestSubVecs
      ~petsc4py.PETSc.Vec.getOffloadMask
      ~petsc4py.PETSc.Vec.getOptionsPrefix
      ~petsc4py.PETSc.Vec.getOwnershipRange
      ~petsc4py.PETSc.Vec.getOwnershipRanges
      ~petsc4py.PETSc.Vec.getSize
      ~petsc4py.PETSc.Vec.getSizes
      ~petsc4py.PETSc.Vec.getSubVector
      ~petsc4py.PETSc.Vec.getType
      ~petsc4py.PETSc.Vec.getValue
      ~petsc4py.PETSc.Vec.getValues
      ~petsc4py.PETSc.Vec.getValuesStagStencil
      ~petsc4py.PETSc.Vec.ghostUpdate
      ~petsc4py.PETSc.Vec.ghostUpdateBegin
      ~petsc4py.PETSc.Vec.ghostUpdateEnd
      ~petsc4py.PETSc.Vec.isaxpy
      ~petsc4py.PETSc.Vec.isset
      ~petsc4py.PETSc.Vec.load
      ~petsc4py.PETSc.Vec.localForm
      ~petsc4py.PETSc.Vec.log
      ~petsc4py.PETSc.Vec.mDot
      ~petsc4py.PETSc.Vec.mDotBegin
      ~petsc4py.PETSc.Vec.mDotEnd
      ~petsc4py.PETSc.Vec.max
      ~petsc4py.PETSc.Vec.maxPointwiseDivide
      ~petsc4py.PETSc.Vec.maxpy
      ~petsc4py.PETSc.Vec.min
      ~petsc4py.PETSc.Vec.mtDot
      ~petsc4py.PETSc.Vec.mtDotBegin
      ~petsc4py.PETSc.Vec.mtDotEnd
      ~petsc4py.PETSc.Vec.norm
      ~petsc4py.PETSc.Vec.normBegin
      ~petsc4py.PETSc.Vec.normEnd
      ~petsc4py.PETSc.Vec.normalize
      ~petsc4py.PETSc.Vec.permute
      ~petsc4py.PETSc.Vec.placeArray
      ~petsc4py.PETSc.Vec.pointwiseDivide
      ~petsc4py.PETSc.Vec.pointwiseMax
      ~petsc4py.PETSc.Vec.pointwiseMaxAbs
      ~petsc4py.PETSc.Vec.pointwiseMin
      ~petsc4py.PETSc.Vec.pointwiseMult
      ~petsc4py.PETSc.Vec.reciprocal
      ~petsc4py.PETSc.Vec.resetArray
      ~petsc4py.PETSc.Vec.restoreCLMemHandle
      ~petsc4py.PETSc.Vec.restoreCUDAHandle
      ~petsc4py.PETSc.Vec.restoreHIPHandle
      ~petsc4py.PETSc.Vec.restoreLocalVector
      ~petsc4py.PETSc.Vec.restoreSubVector
      ~petsc4py.PETSc.Vec.scale
      ~petsc4py.PETSc.Vec.set
      ~petsc4py.PETSc.Vec.setArray
      ~petsc4py.PETSc.Vec.setBlockSize
      ~petsc4py.PETSc.Vec.setDM
      ~petsc4py.PETSc.Vec.setFromOptions
      ~petsc4py.PETSc.Vec.setLGMap
      ~petsc4py.PETSc.Vec.setMPIGhost
      ~petsc4py.PETSc.Vec.setNestSubVecs
      ~petsc4py.PETSc.Vec.setOption
      ~petsc4py.PETSc.Vec.setOptionsPrefix
      ~petsc4py.PETSc.Vec.setRandom
      ~petsc4py.PETSc.Vec.setSizes
      ~petsc4py.PETSc.Vec.setType
      ~petsc4py.PETSc.Vec.setUp
      ~petsc4py.PETSc.Vec.setValue
      ~petsc4py.PETSc.Vec.setValueLocal
      ~petsc4py.PETSc.Vec.setValues
      ~petsc4py.PETSc.Vec.setValuesBlocked
      ~petsc4py.PETSc.Vec.setValuesBlockedLocal
      ~petsc4py.PETSc.Vec.setValuesLocal
      ~petsc4py.PETSc.Vec.setValuesStagStencil
      ~petsc4py.PETSc.Vec.shift
      ~petsc4py.PETSc.Vec.sqrtabs
      ~petsc4py.PETSc.Vec.strideGather
      ~petsc4py.PETSc.Vec.strideMax
      ~petsc4py.PETSc.Vec.strideMin
      ~petsc4py.PETSc.Vec.strideNorm
      ~petsc4py.PETSc.Vec.strideScale
      ~petsc4py.PETSc.Vec.strideScatter
      ~petsc4py.PETSc.Vec.strideSum
      ~petsc4py.PETSc.Vec.sum
      ~petsc4py.PETSc.Vec.swap
      ~petsc4py.PETSc.Vec.tDot
      ~petsc4py.PETSc.Vec.tDotBegin
      ~petsc4py.PETSc.Vec.tDotEnd
      ~petsc4py.PETSc.Vec.toDLPack
      ~petsc4py.PETSc.Vec.view
      ~petsc4py.PETSc.Vec.waxpy
      ~petsc4py.PETSc.Vec.zeroEntries

   
   .. rubric:: Attributes Summary
   .. autosummary::
   
      ~petsc4py.PETSc.Vec.array
      ~petsc4py.PETSc.Vec.array_r
      ~petsc4py.PETSc.Vec.array_w
      ~petsc4py.PETSc.Vec.block_size
      ~petsc4py.PETSc.Vec.buffer
      ~petsc4py.PETSc.Vec.buffer_r
      ~petsc4py.PETSc.Vec.buffer_w
      ~petsc4py.PETSc.Vec.local_size
      ~petsc4py.PETSc.Vec.owner_range
      ~petsc4py.PETSc.Vec.owner_ranges
      ~petsc4py.PETSc.Vec.size
      ~petsc4py.PETSc.Vec.sizes

   
   .. rubric:: Methods Documentation
   
   .. automethod:: abs
   .. automethod:: appendOptionsPrefix
   .. automethod:: assemble
   .. automethod:: assemblyBegin
   .. automethod:: assemblyEnd
   .. automethod:: attachDLPackInfo
   .. automethod:: axpby
   .. automethod:: axpy
   .. automethod:: aypx
   .. automethod:: bindToCPU
   .. automethod:: boundToCPU
   .. automethod:: chop
   .. automethod:: clearDLPackInfo
   .. automethod:: conjugate
   .. automethod:: copy
   .. automethod:: create
   .. automethod:: createCUDAWithArrays
   .. automethod:: createGhost
   .. automethod:: createGhostWithArray
   .. automethod:: createHIPWithArrays
   .. automethod:: createLocalVector
   .. automethod:: createMPI
   .. automethod:: createNest
   .. automethod:: createSeq
   .. automethod:: createShared
   .. automethod:: createViennaCLWithArrays
   .. automethod:: createWithArray
   .. automethod:: createWithDLPack
   .. automethod:: destroy
   .. automethod:: dot
   .. automethod:: dotBegin
   .. automethod:: dotEnd
   .. automethod:: dotNorm2
   .. automethod:: duplicate
   .. automethod:: equal
   .. automethod:: exp
   .. automethod:: getArray
   .. automethod:: getBlockSize
   .. automethod:: getBuffer
   .. automethod:: getCLContextHandle
   .. automethod:: getCLMemHandle
   .. automethod:: getCLQueueHandle
   .. automethod:: getCUDAHandle
   .. automethod:: getDM
   .. automethod:: getHIPHandle
   .. automethod:: getLGMap
   .. automethod:: getLocalSize
   .. automethod:: getLocalVector
   .. automethod:: getNestSubVecs
   .. automethod:: getOffloadMask
   .. automethod:: getOptionsPrefix
   .. automethod:: getOwnershipRange
   .. automethod:: getOwnershipRanges
   .. automethod:: getSize
   .. automethod:: getSizes
   .. automethod:: getSubVector
   .. automethod:: getType
   .. automethod:: getValue
   .. automethod:: getValues
   .. automethod:: getValuesStagStencil
   .. automethod:: ghostUpdate
   .. automethod:: ghostUpdateBegin
   .. automethod:: ghostUpdateEnd
   .. automethod:: isaxpy
   .. automethod:: isset
   .. automethod:: load
   .. automethod:: localForm
   .. automethod:: log
   .. automethod:: mDot
   .. automethod:: mDotBegin
   .. automethod:: mDotEnd
   .. automethod:: max
   .. automethod:: maxPointwiseDivide
   .. automethod:: maxpy
   .. automethod:: min
   .. automethod:: mtDot
   .. automethod:: mtDotBegin
   .. automethod:: mtDotEnd
   .. automethod:: norm
   .. automethod:: normBegin
   .. automethod:: normEnd
   .. automethod:: normalize
   .. automethod:: permute
   .. automethod:: placeArray
   .. automethod:: pointwiseDivide
   .. automethod:: pointwiseMax
   .. automethod:: pointwiseMaxAbs
   .. automethod:: pointwiseMin
   .. automethod:: pointwiseMult
   .. automethod:: reciprocal
   .. automethod:: resetArray
   .. automethod:: restoreCLMemHandle
   .. automethod:: restoreCUDAHandle
   .. automethod:: restoreHIPHandle
   .. automethod:: restoreLocalVector
   .. automethod:: restoreSubVector
   .. automethod:: scale
   .. automethod:: set
   .. automethod:: setArray
   .. automethod:: setBlockSize
   .. automethod:: setDM
   .. automethod:: setFromOptions
   .. automethod:: setLGMap
   .. automethod:: setMPIGhost
   .. automethod:: setNestSubVecs
   .. automethod:: setOption
   .. automethod:: setOptionsPrefix
   .. automethod:: setRandom
   .. automethod:: setSizes
   .. automethod:: setType
   .. automethod:: setUp
   .. automethod:: setValue
   .. automethod:: setValueLocal
   .. automethod:: setValues
   .. automethod:: setValuesBlocked
   .. automethod:: setValuesBlockedLocal
   .. automethod:: setValuesLocal
   .. automethod:: setValuesStagStencil
   .. automethod:: shift
   .. automethod:: sqrtabs
   .. automethod:: strideGather
   .. automethod:: strideMax
   .. automethod:: strideMin
   .. automethod:: strideNorm
   .. automethod:: strideScale
   .. automethod:: strideScatter
   .. automethod:: strideSum
   .. automethod:: sum
   .. automethod:: swap
   .. automethod:: tDot
   .. automethod:: tDotBegin
   .. automethod:: tDotEnd
   .. automethod:: toDLPack
   .. automethod:: view
   .. automethod:: waxpy
   .. automethod:: zeroEntries

   
   .. rubric:: Attributes Documentation
   
   .. autoattribute:: array
   .. autoattribute:: array_r
   .. autoattribute:: array_w
   .. autoattribute:: block_size
   .. autoattribute:: buffer
   .. autoattribute:: buffer_r
   .. autoattribute:: buffer_w
   .. autoattribute:: local_size
   .. autoattribute:: owner_range
   .. autoattribute:: owner_ranges
   .. autoattribute:: size
   .. autoattribute:: sizes
