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 multiplyC(double g) { return new MathArrayComplex1D(ArrayMath.multiplyC(f, new Complex(g)), getType(), getnDims()); }
From source file:com.ericbarnhill.arrayMath.MathArrayComplex2D.java
protected MathArrayComplex2D multiplyC(double g) { return new MathArrayComplex2D(ArrayMath.multiplyC(f, new Complex(g)), getType(), getnDims()); }
From source file:com.ericbarnhill.arrayMath.MathArrayComplex3D.java
protected MathArrayComplex3D multiplyC(double g) { return new MathArrayComplex3D(ArrayMath.multiplyC(f, new Complex(g)), getType(), getnDims()); }
From source file:com.ericbarnhill.arrayMath.MathArrayComplex1D.java
protected MathArrayComplex1D multiplyC(float g) { return new MathArrayComplex1D(ArrayMath.multiplyC(f, new Complex(g)), getType(), getnDims()); }
From source file:com.ericbarnhill.arrayMath.MathArrayComplex2D.java
protected MathArrayComplex2D multiplyC(float g) { return new MathArrayComplex2D(ArrayMath.multiplyC(f, new Complex(g)), getType(), getnDims()); }
From source file:com.ericbarnhill.arrayMath.MathArrayComplex3D.java
protected MathArrayComplex3D multiplyC(float g) { return new MathArrayComplex3D(ArrayMath.multiplyC(f, new Complex(g)), getType(), getnDims()); }
From source file:com.ericbarnhill.arrayMath.MathArrayComplex1D.java
protected MathArrayComplex1D subtract(double g) { return new MathArrayComplex1D(ArrayMath.subtract(f, new Complex(g)), getType(), getnDims()); }
From source file:com.ericbarnhill.arrayMath.MathArrayComplex2D.java
protected MathArrayComplex2D subtract(double g) { return new MathArrayComplex2D(ArrayMath.subtract(f, new Complex(g)), getType(), getnDims()); }
From source file:com.ericbarnhill.arrayMath.MathArrayComplex3D.java
protected MathArrayComplex3D subtract(double g) { return new MathArrayComplex3D(ArrayMath.subtract(f, new Complex(g)), getType(), getnDims()); }
From source file:com.ericbarnhill.arrayMath.MathArrayComplex1D.java
protected MathArrayComplex1D subtract(float g) { return new MathArrayComplex1D(ArrayMath.subtract(f, new Complex(g)), getType(), getnDims()); }