PyTrilinos  Development
 All Classes Functions
Public Member Functions | Public Attributes
PyTrilinos.Epetra.NumPyVector Class Reference
Inheritance diagram for PyTrilinos.Epetra.NumPyVector:
Inheritance graph
[legend]
Collaboration diagram for PyTrilinos.Epetra.NumPyVector:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def ExtractCopy
def ExtractView
def Dot
def Norm1
def Norm2
def NormInf
def NormWeighted
def MinValue
def MaxValue
def MeanValue
def ReplaceGlobalValues
def ReplaceMyValues
def SumIntoGlobalValues
def SumIntoMyValues
def cleanup
def __init__

Public Attributes

 this

Detailed Description

Proxy of C++ PyTrilinos::Epetra_NumPyVector class

Constructor & Destructor Documentation

def PyTrilinos.Epetra.NumPyVector.__init__ (   self,
  args 
)
Epetra_NumPyVector(Epetra_DataAccess CV, Epetra_MultiVector source, int index) -> NumPyVector
Epetra_NumPyVector(PyObject * arg1) -> NumPyVector
__init__(PyTrilinos::Epetra_NumPyVector self, PyObject * arg1, PyObject * arg2) -> NumPyVector

Reimplemented from PyTrilinos.Epetra.Epetra_Vector.

Reimplemented in PyTrilinos.Epetra.Vector, and PyTrilinos.Epetra.Vector.


Member Function Documentation

cleanup()
def PyTrilinos.Epetra.NumPyVector.Dot (   self,
  args 
)
Dot(NumPyVector self, Epetra_Vector A) -> double

Return the dot product of the Vector and a.
def PyTrilinos.Epetra.NumPyVector.ExtractCopy (   self,
  args 
)
ExtractCopy(NumPyVector self) -> PyObject *

Return a numpy.ndarray that is a copy of the Vector.
def PyTrilinos.Epetra.NumPyVector.ExtractView (   self,
  args 
)
ExtractView(NumPyVector self) -> PyObject *

Return a numpy.ndarray that is a view of the Vector.
def PyTrilinos.Epetra.NumPyVector.MaxValue (   self,
  args 
)
MaxValue(NumPyVector self) -> double

Return the maximum values in Vector.
def PyTrilinos.Epetra.NumPyVector.MeanValue (   self,
  args 
)
MeanValue(NumPyVector self) -> double

Return the mean value of the Vector.
def PyTrilinos.Epetra.NumPyVector.MinValue (   self,
  args 
)
MinValue(NumPyVector self) -> double

Return the minimum values in Vector.
def PyTrilinos.Epetra.NumPyVector.Norm1 (   self,
  args 
)
Norm1(NumPyVector self) -> double

Return the L-1 norm of Vector.
def PyTrilinos.Epetra.NumPyVector.Norm2 (   self,
  args 
)
Norm2(NumPyVector self) -> double

Return the the L-2 norm of Vector.
def PyTrilinos.Epetra.NumPyVector.NormInf (   self,
  args 
)
NormInf(NumPyVector self) -> double

Return the L-infinity norm of Vector.
def PyTrilinos.Epetra.NumPyVector.NormWeighted (   self,
  args 
)
NormWeighted(NumPyVector self, Epetra_Vector weights) -> double

Return the weighted norm of Vector.
ReplaceGlobalValues(NumPyVector self, PyObject * values, PyObject * indices) -> int
ReplaceGlobalValues(NumPyVector self, int blockOffset, PyObject * values, PyObject * indices) -> int

Replace global values at specified index (and offset)

Reimplemented from PyTrilinos.Epetra.Epetra_Vector.

ReplaceMyValues(NumPyVector self, PyObject * values, PyObject * indices) -> int
ReplaceMyValues(NumPyVector self, int blockOffset, PyObject * values, PyObject * indices) -> int

Replace local values at specified index (and offset)

Reimplemented from PyTrilinos.Epetra.Epetra_Vector.

SumIntoGlobalValues(NumPyVector self, PyObject * values, PyObject * indices) -> int
SumIntoGlobalValues(NumPyVector self, int blockOffset, PyObject * values, PyObject * indices) -> int

Sum into global values at specified indices (and offset)

Reimplemented from PyTrilinos.Epetra.Epetra_Vector.

SumIntoMyValues(NumPyVector self, PyObject * values, PyObject * indices) -> int
SumIntoMyValues(NumPyVector self, int blockOffset, PyObject * values, PyObject * indices) -> int

Sum into local values at specified indices (and offset)

Reimplemented from PyTrilinos.Epetra.Epetra_Vector.


The documentation for this class was generated from the following file:
 All Classes Functions