nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/api/complex/BaseComplexNDArray.java
@Override
    public IComplexNDArray assign(Number value) {
        IComplexNDArray one = linearView();
        for (int i = 0; i < one.length(); i++)
            one.putScalar(i, Nd4j.createDouble(value.doubleValue(), 0));
        return this;
    }
@Override
    public IComplexNDArray assign(Number value) {
        IComplexNDArray one = linearView();
        for (int i = 0; i < one.length(); i++)
            one.putScalar(i, Nd4j.createDouble(value.doubleValue(), 0));
        return this;
    }
Set the value of the ndarray to the specified value

@param value the value to assign
@return the ndarray with the values