Package org.ejml.data
Class Complex_F32
java.lang.Object
org.ejml.data.Complex_F32
@Generated("org.ejml.data.Complex_F64")
public class Complex_F32
extends java.lang.Object
Represents a complex number using 64bit floating point numbers. A complex number is composed of a real and imaginary components.
-
Field Summary
-
Constructor Summary
Constructors Constructor Description Complex_F32()Complex_F32(float real, float imaginary) -
Method Summary
Modifier and Type Method Description Complex_F32divide(Complex_F32 a)floatgetMagnitude()floatgetMagnitude2()booleanisReal()Complex_F32minus(Complex_F32 a)Complex_F32plus(Complex_F32 a)voidset(float real, float imaginary)voidset(Complex_F32 a)Complex_F32times(Complex_F32 a)java.lang.StringtoString()
-
Field Details
-
Constructor Details
-
Complex_F32
public Complex_F32(float real, float imaginary) -
Complex_F32
public Complex_F32()
-
-
Method Details
-
getMagnitude
public float getMagnitude() -
getMagnitude2
public float getMagnitude2() -
set
public void set(float real, float imaginary) -
set
-
isReal
public boolean isReal() -
plus
-
minus
-
times
-
divide
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-