Package com.apple.foundationdb.linear
Class ColumnMajorRealMatrix
java.lang.Object
com.apple.foundationdb.linear.ColumnMajorRealMatrix
- All Implemented Interfaces:
LinearOperator,RealMatrix,VectorOperator
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.apple.foundationdb.linear.LinearOperator
getNumDimensions, invertedApply, isSquareMethods inherited from interface com.apple.foundationdb.linear.RealMatrix
apply, isTransposable, transposedApply, valueBasedHashCode, valueEqualsMethods inherited from interface com.apple.foundationdb.linear.VectorOperator
transform, untransform
-
Constructor Details
-
ColumnMajorRealMatrix
public ColumnMajorRealMatrix(@Nonnull double[][] data)
-
-
Method Details
-
getNumRowDimensions
public int getNumRowDimensions()- Specified by:
getNumRowDimensionsin interfaceLinearOperator
-
getNumColumnDimensions
public int getNumColumnDimensions()- Specified by:
getNumColumnDimensionsin interfaceLinearOperator
-
getEntry
public double getEntry(int row, int column) - Specified by:
getEntryin interfaceRealMatrix
-
getColumn
@Nonnull public double[] getColumn(int column) -
transpose
- Specified by:
transposein interfaceRealMatrix
-
multiply
- Specified by:
multiplyin interfaceRealMatrix
-
subMatrix
@Nonnull public ColumnMajorRealMatrix subMatrix(int startRow, int lengthRow, int startColumn, int lengthColumn) - Specified by:
subMatrixin interfaceRealMatrix
-
toRowMajor
- Specified by:
toRowMajorin interfaceRealMatrix
-
getRowMajorData
@Nonnull public double[][] getRowMajorData()- Specified by:
getRowMajorDatain interfaceRealMatrix
-
toColumnMajor
- Specified by:
toColumnMajorin interfaceRealMatrix
-
getColumnMajorData
@Nonnull public double[][] getColumnMajorData()- Specified by:
getColumnMajorDatain interfaceRealMatrix
-
quickTranspose
- Specified by:
quickTransposein interfaceRealMatrix
-
flipMajor
- Specified by:
flipMajorin interfaceRealMatrix
-
equals
-
hashCode
public int hashCode()
-