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

List of all members.

Public Member Functions

def __init__
def Size
def Resize
def Values
def cleanup

Public Attributes

 this

Detailed Description

Proxy of C++ PyTrilinos::Epetra_NumPyIntSerialDenseVector class

Constructor & Destructor Documentation

Epetra_NumPyIntSerialDenseVector() -> NumPyIntSerialDenseVector
Epetra_NumPyIntSerialDenseVector(int length) -> NumPyIntSerialDenseVector
Epetra_NumPyIntSerialDenseVector(PyObject * pyObject) -> NumPyIntSerialDenseVector
__init__(PyTrilinos::Epetra_NumPyIntSerialDenseVector self, Epetra_IntSerialDenseVector src) -> NumPyIntSerialDenseVector

Reimplemented from PyTrilinos.Epetra.Epetra_IntSerialDenseVector.

Reimplemented in PyTrilinos.Epetra.IntSerialDenseVector, and PyTrilinos.Epetra.IntSerialDenseVector.


Member Function Documentation

cleanup()
Resize(NumPyIntSerialDenseVector self, int length) -> int

int
Epetra_IntSerialDenseVector::Resize(int Length_in)

Resize a Epetra_IntSerialDenseVector object.

Parameters:
-----------

In:  Length - Length of vector object.

Allows user to define the dimension of a Epetra_IntSerialDenseVector.
This function can be called at any point after construction. Any
values that were previously in this object are copied into the new
size. If the new shape is smaller than the original, the first Length
values are copied to the new vector.

Integer error code, set to 0 if successful. 

Reimplemented from PyTrilinos.Epetra.Epetra_IntSerialDenseVector.

Reimplemented in PyTrilinos.Epetra.IntSerialDenseVector.

Size(NumPyIntSerialDenseVector self, int length) -> int

int
Epetra_IntSerialDenseVector::Size(int Length_in)

Set length of a Epetra_IntSerialDenseVector object; init values to
zero.

Parameters:
-----------

In:  Length - Length of vector object.

Allows user to define the dimension of a Epetra_IntSerialDenseVector.
This function can be called at any point after construction. Any
values that were previously in this object are destroyed and the
resized vector starts off with all zero values.

Integer error code, set to 0 if successful. 

Reimplemented from PyTrilinos.Epetra.Epetra_IntSerialDenseVector.

Reimplemented in PyTrilinos.Epetra.IntSerialDenseVector.

Values(NumPyIntSerialDenseVector self) -> PyObject *

const
int* Epetra_IntSerialDenseVector::Values() const

Returns const pointer to the values in vector. 

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