Phase class
This class provides method for complex-valued arrays: Phasing (rotation in the complex plane), power and magnitude calculation.
Constructors
- Phase()
Properties
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Methods
-
magnitude(
Float64List reals, Float64List imags, bool sqrt) → void -
Applies in-place magnitude or power calculation to the complex-
valued array whith the real part
realsand the imaginary partimags. according to the following equations: realsi:= realsi**2 + imagsi**2 ifsqrtis false ("power") realsi:= sqrt(realsi**2 + imagsi**2) ifsqrtis true ("magnitude") [...] -
phase(
Float64List reals, Float64List imags, double a0, double a1, bool inverse) → void -
Applies in-place phasing (rotation in the complex plane) to the complex-
valued array whith the real part
realsand the imaginary partimags. according to the following equations: realsi:= realsi*cos(phii) - imagsi*sin(phii) imagsi:= imagsi*cos(phii) + realsi*sin(phii) with phii:= a0 + (i/(reals.length-1))*a1, i=0...reals.length-1 [...] -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
toString(
) → String -
Returns a string representation of this object.
inherited
Operators
-
operator ==(
dynamic other) → bool -
The equality operator. [...]
inherited