Class 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
    • 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
      • Methods inherited from class org.apache.commons.math3.linear.RealLinearOperator

        isTransposable, operateTranspose
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • DataFrameRealMatrix

        public DataFrameRealMatrix​(DataFrame<R,​C,​java.lang.Number> dataFrame)
    • Method Detail

      • getRowDimension

        public int getRowDimension()
        Specified by:
        getRowDimension in interface org.apache.commons.math3.linear.AnyMatrix
        Specified by:
        getRowDimension in class org.apache.commons.math3.linear.AbstractRealMatrix
      • getColumnDimension

        public int getColumnDimension()
        Specified by:
        getColumnDimension in interface org.apache.commons.math3.linear.AnyMatrix
        Specified by:
        getColumnDimension in class org.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 interface org.apache.commons.math3.linear.RealMatrix
        Specified by:
        createMatrix in class org.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 interface org.apache.commons.math3.linear.RealMatrix
        Specified by:
        copy in class org.apache.commons.math3.linear.AbstractRealMatrix
      • getEntry

        public double getEntry​(int row,
                               int column)
                        throws org.apache.commons.math3.exception.OutOfRangeException
        Specified by:
        getEntry in interface org.apache.commons.math3.linear.RealMatrix
        Specified by:
        getEntry in class org.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 interface org.apache.commons.math3.linear.RealMatrix
        Specified by:
        setEntry in class org.apache.commons.math3.linear.AbstractRealMatrix
        Throws:
        org.apache.commons.math3.exception.OutOfRangeException