Jpetra  Development
 All Classes Functions Variables
Public Member Functions | List of all members
Jpetra.MatrixMarketIO.MatrixSize Class Reference

Public Member Functions

 MatrixSize (int numRows, int numColumns, MatrixInfo info)
 
 MatrixSize (int numRows, int numColumns, int numEntries)
 
int numRows ()
 
int numColumns ()
 
int numEntries ()
 
boolean isSquare ()
 

Detailed Description

Contains the size of a matrix stored in the Matrix Market exchange format

Constructor & Destructor Documentation

Jpetra.MatrixMarketIO.MatrixSize.MatrixSize ( int  numRows,
int  numColumns,
MatrixInfo  info 
)
inline
Jpetra.MatrixMarketIO.MatrixSize.MatrixSize ( int  numRows,
int  numColumns,
int  numEntries 
)
inline

Constructor for MatrixSize

Parameters
numRowsNumber of rows in the matrix
numColumnsNumber of columns in the matrix
numEntriesNumber of entries stored

References Jpetra.MatrixMarketIO.MatrixSize.numColumns(), Jpetra.MatrixMarketIO.MatrixSize.numEntries(), and Jpetra.MatrixMarketIO.MatrixSize.numRows().

Member Function Documentation

boolean Jpetra.MatrixMarketIO.MatrixSize.isSquare ( )
inline

Returns true if the matrix is square, else false

References Jpetra.MatrixMarketIO.MatrixSize.numColumns(), and Jpetra.MatrixMarketIO.MatrixSize.numRows().

int Jpetra.MatrixMarketIO.MatrixSize.numColumns ( )
inline

Returns the number of columns in the matrix

Referenced by Jpetra.MatrixMarketIO.MatrixSize.isSquare(), and Jpetra.MatrixMarketIO.MatrixSize.MatrixSize().

int Jpetra.MatrixMarketIO.MatrixSize.numEntries ( )
inline

Returns the number of entries stored

Referenced by Jpetra.MatrixMarketIO.MatrixSize.MatrixSize().

int Jpetra.MatrixMarketIO.MatrixSize.numRows ( )
inline

Returns the number of rows in the matrix

Referenced by Jpetra.MatrixMarketIO.MatrixSize.isSquare(), and Jpetra.MatrixMarketIO.MatrixSize.MatrixSize().


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