List of usage examples for org.apache.commons.math.complex Complex getArgument
public double getArgument()
Compute the argument of this complex number.
From source file:BackEnd.FazorVektor.java
public double getComplex_rms_Angle() { double Real = Math.sqrt( Math.pow(this.X.getReal(), 2) + Math.pow(this.Y.getReal(), 2) + Math.pow(this.Z.getReal(), 2)); double Image = Math.sqrt(Math.pow(this.X.getImaginary(), 2) + Math.pow(this.Y.getImaginary(), 2) + Math.pow(this.Z.getImaginary(), 2)); Complex cislo = new Complex(Real, Image); return cislo.getArgument(); }