

Public Member Functions | |
| def | __init__ |
| def | __call__ |
| def | Shape |
| def | Reshape |
| def | A |
| def | cleanup |
Public Attributes | |
| this | |
Proxy of C++ PyTrilinos::Epetra_NumPySerialDenseMatrix class
| def PyTrilinos.Epetra.NumPySerialDenseMatrix.__init__ | ( | self, | |
| args | |||
| ) |
Epetra_NumPySerialDenseMatrix(int set_object_label=1) -> NumPySerialDenseMatrix Epetra_NumPySerialDenseMatrix() -> NumPySerialDenseMatrix Epetra_NumPySerialDenseMatrix(int numRows, int numCols, int set_object_label=1) -> NumPySerialDenseMatrix Epetra_NumPySerialDenseMatrix(int numRows, int numCols) -> NumPySerialDenseMatrix Epetra_NumPySerialDenseMatrix(PyObject * pyObject, int set_object_label=1) -> NumPySerialDenseMatrix Epetra_NumPySerialDenseMatrix(PyObject * pyObject) -> NumPySerialDenseMatrix __init__(PyTrilinos::Epetra_NumPySerialDenseMatrix self, Epetra_SerialDenseMatrix src) -> NumPySerialDenseMatrix
Reimplemented from PyTrilinos.Epetra.Epetra_SerialDenseMatrix.
Reimplemented in PyTrilinos.Epetra.SerialDenseMatrix, and PyTrilinos.Epetra.SerialDenseMatrix.
| def PyTrilinos.Epetra.NumPySerialDenseMatrix.__call__ | ( | self, | |
| args | |||
| ) |
__call__(NumPySerialDenseMatrix self, int rowIndex, int colIndex) -> double
Reimplemented from PyTrilinos.Epetra.Epetra_SerialDenseMatrix.
| def PyTrilinos.Epetra.NumPySerialDenseMatrix.A | ( | self | ) |
A(NumPySerialDenseMatrix self) -> PyObject * double* Epetra_SerialDenseMatrix::A() Returns pointer to the this matrix.
Reimplemented from PyTrilinos.Epetra.Epetra_SerialDenseMatrix.
cleanup()
| def PyTrilinos.Epetra.NumPySerialDenseMatrix.Reshape | ( | self, | |
| args | |||
| ) |
Reshape(NumPySerialDenseMatrix self, int numRows, int numCols) -> int int Epetra_SerialDenseMatrix::Reshape(int NumRows, int NumCols) Reshape a Epetra_SerialDenseMatrix object. Parameters: ----------- In: NumRows - Number of rows in object. In: NumCols - Number of columns in object. Allows user to define the dimensions of a Epetra_SerialDenseMatrix at any point. This function can be called at any point after construction. Any values that were previously in this object are copied into the new shape. If the new shape is smaller than the original, the upper left portion of the original matrix (the principal submatrix) is copied to the new matrix. Integer error code, set to 0 if successful.
Reimplemented from PyTrilinos.Epetra.Epetra_SerialDenseMatrix.
| def PyTrilinos.Epetra.NumPySerialDenseMatrix.Shape | ( | self, | |
| args | |||
| ) |
Shape(NumPySerialDenseMatrix self, int numRows, int numCols) -> int int Epetra_SerialDenseMatrix::Shape(int NumRows, int NumCols) Set dimensions of a Epetra_SerialDenseMatrix object; init values to zero. Parameters: ----------- In: NumRows - Number of rows in object. In: NumCols - Number of columns in object. Allows user to define the dimensions of a Epetra_SerialDenseMatrix at any point. This function can be called at any point after construction. Any values that were previously in this object are destroyed and the resized matrix starts off with all zero values. Integer error code, set to 0 if successful.
Reimplemented from PyTrilinos.Epetra.Epetra_SerialDenseMatrix.
1.7.6.1