org.apache.sysml.runtime.matrix.data

Class LibCommonsMath



  • public class LibCommonsMath
    extends Object
    Library for matrix operations that need invocation of Apache Commons Math library. This library currently supports following operations: matrix inverse, matrix decompositions (QR, LU, Eigen), solve
    • Method Detail

      • isSupportedUnaryOperation

        public static boolean isSupportedUnaryOperation(String opcode)
      • isSupportedMultiReturnOperation

        public static boolean isSupportedMultiReturnOperation(String opcode)
      • isSupportedMatrixMatrixOperation

        public static boolean isSupportedMatrixMatrixOperation(String opcode)
      • matrixMatrixOperations

        public static MatrixBlock matrixMatrixOperations(org.apache.sysml.runtime.controlprogram.caching.MatrixObject in1,
                                                         org.apache.sysml.runtime.controlprogram.caching.MatrixObject in2,
                                                         String opcode)
                                                  throws DMLRuntimeException
        Throws:
        DMLRuntimeException

Copyright © 2017 The Apache Software Foundation. All rights reserved.