Example usage for org.apache.commons.math4.complex Complex Complex

List of usage examples for org.apache.commons.math4.complex Complex Complex

Introduction

In this page you can find the example usage for org.apache.commons.math4.complex Complex Complex.

Prototype

public Complex(double real) 

Source Link

Document

Create a complex number given only the real part.

Usage

From source file:com.ericbarnhill.arrayMath.MathArrayComplex3D.java

protected MathArrayComplex3D divideC(double g) {
    return new MathArrayComplex3D(ArrayMath.divideC(f, new Complex(g)), getType(), getnDims());
}

From source file:com.ericbarnhill.arrayMath.MathArrayComplex1D.java

protected MathArrayComplex1D divideC(float g) {
    return new MathArrayComplex1D(ArrayMath.divideC(f, new Complex(g)), getType(), getnDims());
}

From source file:com.ericbarnhill.arrayMath.MathArrayComplex2D.java

protected MathArrayComplex2D divideC(float g) {
    return new MathArrayComplex2D(ArrayMath.divideC(f, new Complex(g)), getType(), getnDims());
}

From source file:com.ericbarnhill.arrayMath.MathArrayComplex3D.java

protected MathArrayComplex3D divideC(float g) {
    return new MathArrayComplex3D(ArrayMath.divideC(f, new Complex(g)), getType(), getnDims());
}

From source file:com.ericbarnhill.arrayMath.MathArrayComplex1D.java

protected MathArrayComplex1D multiply(double g) {
    return new MathArrayComplex1D(ArrayMath.multiply(f, new Complex(g)), getType(), getnDims());
}

From source file:com.ericbarnhill.arrayMath.MathArrayComplex2D.java

protected MathArrayComplex2D multiply(double g) {
    return new MathArrayComplex2D(ArrayMath.multiply(f, new Complex(g)), getType(), getnDims());
}

From source file:com.ericbarnhill.arrayMath.MathArrayComplex3D.java

protected MathArrayComplex3D multiply(double g) {
    return new MathArrayComplex3D(ArrayMath.multiply(f, new Complex(g)), getType(), getnDims());
}

From source file:com.ericbarnhill.arrayMath.MathArrayComplex1D.java

protected MathArrayComplex1D multiply(float g) {
    return new MathArrayComplex1D(ArrayMath.multiply(f, new Complex(g)), getType(), getnDims());
}

From source file:com.ericbarnhill.arrayMath.MathArrayComplex2D.java

protected MathArrayComplex2D multiply(float g) {
    return new MathArrayComplex2D(ArrayMath.multiply(f, new Complex(g)), getType(), getnDims());
}

From source file:com.ericbarnhill.arrayMath.MathArrayComplex3D.java

protected MathArrayComplex3D multiply(float g) {
    return new MathArrayComplex3D(ArrayMath.multiply(f, new Complex(g)), getType(), getnDims());
}