List of usage examples for org.apache.commons.math4.complex Complex Complex
public Complex(double real)
From source file:com.ericbarnhill.arrayMath.MathArrayComplex1D.java
protected MathArrayComplex1D add(double g) { return new MathArrayComplex1D(ArrayMath.add(f, new Complex(g)), getType(), getnDims()); }
From source file:com.ericbarnhill.arrayMath.MathArrayComplex2D.java
protected MathArrayComplex2D add(double g) { return new MathArrayComplex2D(ArrayMath.add(f, new Complex(g)), getType(), getnDims()); }
From source file:com.ericbarnhill.arrayMath.MathArrayComplex3D.java
protected MathArrayComplex3D add(double g) { return new MathArrayComplex3D(ArrayMath.add(f, new Complex(g)), getType(), getnDims()); }
From source file:com.ericbarnhill.arrayMath.MathArrayComplex1D.java
protected MathArrayComplex1D add(float g) { return new MathArrayComplex1D(ArrayMath.add(f, new Complex(g)), getType(), getnDims()); }
From source file:com.ericbarnhill.arrayMath.MathArrayComplex2D.java
protected MathArrayComplex2D add(float g) { return new MathArrayComplex2D(ArrayMath.add(f, new Complex(g)), getType(), getnDims()); }
From source file:com.ericbarnhill.arrayMath.MathArrayComplex3D.java
protected MathArrayComplex3D add(float g) { return new MathArrayComplex3D(ArrayMath.add(f, new Complex(g)), getType(), getnDims()); }
From source file:com.ericbarnhill.arrayMath.MathArrayComplex1D.java
protected MathArrayComplex1D addC(double g) { return new MathArrayComplex1D(ArrayMath.addC(f, new Complex(g)), getType(), getnDims()); }
From source file:com.ericbarnhill.arrayMath.MathArrayComplex2D.java
protected MathArrayComplex2D addC(double g) { return new MathArrayComplex2D(ArrayMath.addC(f, new Complex(g)), getType(), getnDims()); }
From source file:com.ericbarnhill.arrayMath.MathArrayComplex3D.java
protected MathArrayComplex3D addC(double g) { return new MathArrayComplex3D(ArrayMath.addC(f, new Complex(g)), getType(), getnDims()); }
From source file:com.ericbarnhill.arrayMath.MathArrayComplex1D.java
protected MathArrayComplex1D addC(float g) { return new MathArrayComplex1D(ArrayMath.addC(f, new Complex(g)), getType(), getnDims()); }