Class DataFrameRealMatrix<R,C>
- java.lang.Object
-
- org.apache.commons.math3.linear.RealLinearOperator
-
- org.apache.commons.math3.linear.AbstractRealMatrix
-
- com.macrofocus.molap.dataframe.math.DataFrameRealMatrix<R,C>
-
- All Implemented Interfaces:
org.apache.commons.math3.linear.AnyMatrix
,org.apache.commons.math3.linear.RealMatrix
public class DataFrameRealMatrix<R,C> extends org.apache.commons.math3.linear.AbstractRealMatrix
-
-
Constructor Summary
Constructors Constructor Description DataFrameRealMatrix(DataFrame<R,C,java.lang.Number> dataFrame)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.commons.math3.linear.RealMatrix
copy()
org.apache.commons.math3.linear.RealMatrix
createMatrix(int rowDimension, int columnDimension)
int
getColumnDimension()
double
getEntry(int row, int column)
int
getRowDimension()
void
setEntry(int row, int column, double value)
-
Methods inherited from class org.apache.commons.math3.linear.AbstractRealMatrix
add, addToEntry, copySubMatrix, copySubMatrix, equals, getColumn, getColumnMatrix, getColumnVector, getData, getFrobeniusNorm, getNorm, getRow, getRowMatrix, getRowVector, getSubMatrix, getSubMatrix, getTrace, hashCode, isSquare, multiply, multiplyEntry, operate, operate, power, preMultiply, preMultiply, preMultiply, scalarAdd, scalarMultiply, setColumn, setColumnMatrix, setColumnVector, setRow, setRowMatrix, setRowVector, setSubMatrix, subtract, toString, transpose, walkInColumnOrder, walkInColumnOrder, walkInColumnOrder, walkInColumnOrder, walkInOptimizedOrder, walkInOptimizedOrder, walkInOptimizedOrder, walkInOptimizedOrder, walkInRowOrder, walkInRowOrder, walkInRowOrder, walkInRowOrder
-
-
-
-
Method Detail
-
getRowDimension
public int getRowDimension()
- Specified by:
getRowDimension
in interfaceorg.apache.commons.math3.linear.AnyMatrix
- Specified by:
getRowDimension
in classorg.apache.commons.math3.linear.AbstractRealMatrix
-
getColumnDimension
public int getColumnDimension()
- Specified by:
getColumnDimension
in interfaceorg.apache.commons.math3.linear.AnyMatrix
- Specified by:
getColumnDimension
in classorg.apache.commons.math3.linear.AbstractRealMatrix
-
createMatrix
public org.apache.commons.math3.linear.RealMatrix createMatrix(int rowDimension, int columnDimension) throws org.apache.commons.math3.exception.NotStrictlyPositiveException
- Specified by:
createMatrix
in interfaceorg.apache.commons.math3.linear.RealMatrix
- Specified by:
createMatrix
in classorg.apache.commons.math3.linear.AbstractRealMatrix
- Throws:
org.apache.commons.math3.exception.NotStrictlyPositiveException
-
copy
public org.apache.commons.math3.linear.RealMatrix copy()
- Specified by:
copy
in interfaceorg.apache.commons.math3.linear.RealMatrix
- Specified by:
copy
in classorg.apache.commons.math3.linear.AbstractRealMatrix
-
getEntry
public double getEntry(int row, int column) throws org.apache.commons.math3.exception.OutOfRangeException
- Specified by:
getEntry
in interfaceorg.apache.commons.math3.linear.RealMatrix
- Specified by:
getEntry
in classorg.apache.commons.math3.linear.AbstractRealMatrix
- Throws:
org.apache.commons.math3.exception.OutOfRangeException
-
setEntry
public void setEntry(int row, int column, double value) throws org.apache.commons.math3.exception.OutOfRangeException
- Specified by:
setEntry
in interfaceorg.apache.commons.math3.linear.RealMatrix
- Specified by:
setEntry
in classorg.apache.commons.math3.linear.AbstractRealMatrix
- Throws:
org.apache.commons.math3.exception.OutOfRangeException
-
-