public abstract class AbstractComplexType<T extends AbstractComplexType<T>> extends Object implements ComplexType<T>
Constructor and Description |
---|
AbstractComplexType() |
Modifier and Type | Method and Description |
---|---|
void |
add(T c) |
void |
complexConjugate() |
void |
div(T c) |
boolean |
equals(Object o) |
double |
getPhaseDouble() |
float |
getPhaseFloat() |
double |
getPowerDouble() |
float |
getPowerFloat() |
int |
hashCode() |
void |
mul(double c) |
void |
mul(float c) |
void |
mul(T t) |
void |
set(T c)
Sets the value of another
Type . |
void |
setComplexNumber(double r,
double i) |
void |
setComplexNumber(float r,
float i) |
void |
setOne() |
void |
setZero() |
void |
sub(T c) |
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getImaginaryDouble, getImaginaryFloat, getRealDouble, getRealFloat, setImaginary, setImaginary, setReal, setReal
copy, createVariable
valueEquals
public void set(T c)
Type
Type
.set
in interface Type<T extends AbstractComplexType<T>>
c
- the new valuepublic void mul(float c)
mul
in interface MulFloatingPoint
public void mul(double c)
mul
in interface MulFloatingPoint
public void complexConjugate()
complexConjugate
in interface ComplexType<T extends AbstractComplexType<T>>
public float getPowerFloat()
getPowerFloat
in interface ComplexType<T extends AbstractComplexType<T>>
public double getPowerDouble()
getPowerDouble
in interface ComplexType<T extends AbstractComplexType<T>>
public float getPhaseFloat()
getPhaseFloat
in interface ComplexType<T extends AbstractComplexType<T>>
public double getPhaseDouble()
getPhaseDouble
in interface ComplexType<T extends AbstractComplexType<T>>
public void setComplexNumber(float r, float i)
setComplexNumber
in interface ComplexType<T extends AbstractComplexType<T>>
public void setComplexNumber(double r, double i)
setComplexNumber
in interface ComplexType<T extends AbstractComplexType<T>>
Copyright © 2009–2017 ImgLib2. All rights reserved.