public static Complexd from(double x, double y) {
         return x == 0 && y == 0 ? ZERO : new Complexd(x, y);
    }
public static Complexd from(double x, double y) {
         return x == 0 && y == 0 ? ZERO : new Complexd(x, y);
    }
public static Complexd from ( double x , double y ) { return x == 0 && y == 0 ? ZERO : new Complexd ( x , y ) ; }
Creates a new complex from the double components.

<p>The {@link #ZERO} constant is re-used when both {@code x} and {@code z} are 0.</p>

@param x The x (real) component
@param y The y (imaginary) component
@return The complex created from the double components
Creates a new complex from the double components .