jessicapriebe commented on code in PR #1983:
URL: https://github.com/apache/systemds/pull/1983#discussion_r1460441630


##########
src/main/java/org/apache/sysds/runtime/matrix/data/LibCommonsMath.java:
##########
@@ -252,6 +258,25 @@ private static EigenDecomposition 
computeEigenRegularized(MatrixBlock in) {
                        DataConverter.convertToArray2DRowRealMatrix(in2));
        }
 
+       private static MatrixBlock[] computeFFT(MatrixBlock in) {
+               if( in == null || in.isEmptyBlock(false) )
+                       throw new DMLRuntimeException("Invalid empty block");
+
+               //run fft
+               return fft(in);
+       }
+
+       private static MatrixBlock[] computeIFFT(MatrixBlock in) {
+               if( in == null || in.isEmptyBlock(false))
+                       throw new DMLRuntimeException("Invalid empty block");
+               int rows = in.getNumRows();
+               int cols = in.getNumColumns();
+
+               MatrixBlock inIm = new MatrixBlock(rows, cols, new 
double[cols*rows]);

Review Comment:
   TODO: two inputs from DML
   remaining resolved



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@systemds.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to