org.ojalgo.access
Interface Access2D<N extends Number>

All Known Subinterfaces:
DecompositionStore<N>, MatrixStore<N>, PhysicalStore<N>
All Known Implementing Classes:
Array2D, BigDenseStore, BigMatrix, ComplexDenseStore, ComplexMatrix, ConjugatedStore, IdentityStore, JamaMatrix, LowerHessenbergStore, LowerTriangularStore, MergedColumnsStore, MergedRowsStore, PrimitiveDenseStore, PrimitiveMatrix, SelectedColumnsStore, SelectedRowsStore, SingleStore, SuperimposedStore, TransposedStore, UpperHessenbergStore, UpperTriangularStore, WrapperStore, ZeroStore

public interface Access2D<N extends Number>


Method Summary
 double doubleValue(int aRow, int aCol)
          Extracts one element of this matrix as a double.
 N get(int aRow, int aCol)
           
 int getColDim()
          The size of this structure in the column-direction/dimension
 int getRowDim()
          The size of this structure in the row-direction/dimension
 int size()
           
 

Method Detail

doubleValue

double doubleValue(int aRow,
                   int aCol)
Extracts one element of this matrix as a double.

Parameters:
aRow - A row index.
aCol - A column index.
Returns:
One matrix element

get

N get(int aRow,
      int aCol)

getColDim

int getColDim()
The size of this structure in the column-direction/dimension

Returns:
The number of columns

getRowDim

int getRowDim()
The size of this structure in the row-direction/dimension

Returns:
The number of rows

size

int size()
Returns:
The total number of elements contained in this structure