@ Override public IComplexNDArray createComplex ( double [ ] data ) { assert data . length % 2 == 0 : "Length of data must be even. A complex ndarray is made up of pairs of real and imaginary components" ; return createComplex ( data , new int [ ] { 1 , data . length / 2 } ) ; }
Creates an ndarray with the specified data