nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/factory/BaseNDArrayFactory.java
@Override
    public IComplexNDArray scalar(IComplexFloat value) {
        return createComplex(new float[] {value.realComponent(), value.imaginaryComponent()}, new int[] {1},
                        new int[] {1}, 0);
    }
@Override
    public IComplexNDArray scalar(IComplexFloat value) {
        return createComplex(new float[] {value.realComponent(), value.imaginaryComponent()}, new int[] {1},
                        new int[] {1}, 0);
    }
Create a scalar nd array with the specified value and offset

@param value the value of the scalar
@return the scalar nd array