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 obj) |
double |
getPhaseDouble() |
float |
getPhaseFloat() |
double |
getPowerDouble() |
float |
getPowerFloat() |
int |
hashCode() |
void |
mul(double c) |
void |
mul(float c) |
void |
mul(T t) |
void |
pow(double power) |
void |
pow(T c) |
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() |
boolean |
valueEquals(T other) |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitgetImaginaryDouble, getImaginaryFloat, getRealDouble, getRealFloat, setImaginary, setImaginary, setReal, setRealcopy, createVariablepublic void set(T c)
TypeType.set in interface Type<T extends AbstractComplexType<T>>c - the new valuepublic void mul(float c)
mul in interface MulFloatingPointpublic void mul(double c)
mul in interface MulFloatingPointpublic void pow(double power)
pow in interface PowFloatingPointpublic 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>>public boolean valueEquals(T other)
valueEquals in interface ValueEquals<T extends AbstractComplexType<T>>Copyright © 2015–2022 ImgLib2. All rights reserved.