@Override
    public IComplexNDArray complexOnes(int[] shape) {
        IComplexNDArray ret = createComplex(shape);
        ret.assign(1);
        return ret;

    }
@Override
    public IComplexNDArray complexOnes(int[] shape) {
        IComplexNDArray ret = createComplex(shape);
        ret.assign(1);
        return ret;

    }
@ Override public IComplexNDArray complexOnes ( int [ ] shape ) { IComplexNDArray ret = createComplex ( shape ) ; ret . assign ( 1 ) ; return ret ; }
Create an ndarray of ones

@param shape the shape of the ndarray
@return an ndarray with ones filled in
Create an ndarray of ones