protected void copyRealTo(INDArray arr) {
        INDArray linear = arr.linearView();
        IComplexNDArray thisLinear = linearView();
        if (arr.isScalar())
            arr.putScalar(0, getReal(0));
        else
            for (int i = 0; i < linear.length(); i++) {
                arr.putScalar(i, thisLinear.getReal(i));
            }

    }
protected void copyRealTo(INDArray arr) {
        INDArray linear = arr.linearView();
        IComplexNDArray thisLinear = linearView();
        if (arr.isScalar())
            arr.putScalar(0, getReal(0));
        else
            for (int i = 0; i < linear.length(); i++) {
                arr.putScalar(i, thisLinear.getReal(i));
            }

    }
protected void copyRealTo ( INDArray arr ) { INDArray linear = arr . linearView ( ) ; IComplexNDArray thisLinear = linearView ( ) ; if ( arr . isScalar ( ) ) arr . putScalar ( 0 , getReal ( 0 ) ) ; else for ( int i = 0 ; i < linear . length ( ) ; i ++ ) { arr . putScalar ( i , thisLinear . getReal ( i ) ) ; } }
Copy real numbers to arr
@param arr the arr to copy to
Copy real numbers to arr