public abstract class AbstractRealType<T extends AbstractRealType<T>> extends AbstractComplexType<T> implements RealType<T>
Constructor and Description |
---|
AbstractRealType() |
Modifier and Type | Method and Description |
---|---|
void |
add(T c) |
int |
compareTo(T other) |
void |
dec() |
void |
div(T c) |
boolean |
equals(Object obj) |
double |
getImaginaryDouble() |
float |
getImaginaryFloat() |
double |
getPhaseDouble() |
float |
getPhaseFloat() |
double |
getPowerDouble() |
float |
getPowerFloat() |
int |
hashCode() |
void |
inc() |
void |
mul(double c) |
void |
mul(float c) |
void |
mul(T c) |
void |
pow(double power) |
void |
pow(T c) |
void |
set(T c)
Sets the value of another
Type . |
void |
setImaginary(double complex) |
void |
setImaginary(float complex) |
void |
setOne() |
void |
setZero() |
void |
sub(T c) |
String |
toString() |
boolean |
valueEquals(T other) |
complexConjugate, setComplexNumber, setComplexNumber
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getBitsPerPixel, getMaxValue, getMinIncrement, getMinValue
complexConjugate, getRealDouble, getRealFloat, setComplexNumber, setComplexNumber, setReal, setReal
copy, createVariable
public float getImaginaryFloat()
getImaginaryFloat
in interface ComplexType<T extends AbstractRealType<T>>
public double getImaginaryDouble()
getImaginaryDouble
in interface ComplexType<T extends AbstractRealType<T>>
public void setImaginary(float complex)
setImaginary
in interface ComplexType<T extends AbstractRealType<T>>
public void setImaginary(double complex)
setImaginary
in interface ComplexType<T extends AbstractRealType<T>>
public void inc()
inc
in interface RealType<T extends AbstractRealType<T>>
public void dec()
dec
in interface RealType<T extends AbstractRealType<T>>
public void set(T c)
Type
Type
.set
in interface Type<T extends AbstractRealType<T>>
set
in class AbstractComplexType<T extends AbstractRealType<T>>
c
- the new valuepublic void mul(float c)
mul
in interface MulFloatingPoint
mul
in class AbstractComplexType<T extends AbstractRealType<T>>
public void mul(double c)
mul
in interface MulFloatingPoint
mul
in class AbstractComplexType<T extends AbstractRealType<T>>
public void add(T c)
add
in interface Add<T extends AbstractRealType<T>>
add
in class AbstractComplexType<T extends AbstractRealType<T>>
public void div(T c)
div
in interface Div<T extends AbstractRealType<T>>
div
in class AbstractComplexType<T extends AbstractRealType<T>>
public void mul(T c)
mul
in interface Mul<T extends AbstractRealType<T>>
mul
in class AbstractComplexType<T extends AbstractRealType<T>>
public void sub(T c)
sub
in interface Sub<T extends AbstractRealType<T>>
sub
in class AbstractComplexType<T extends AbstractRealType<T>>
public void pow(T c)
pow
in interface Pow<T extends AbstractRealType<T>>
pow
in class AbstractComplexType<T extends AbstractRealType<T>>
public void pow(double power)
pow
in interface PowFloatingPoint
pow
in class AbstractComplexType<T extends AbstractRealType<T>>
public void setZero()
setZero
in interface SetZero
setZero
in class AbstractComplexType<T extends AbstractRealType<T>>
public void setOne()
setOne
in interface SetOne
setOne
in class AbstractComplexType<T extends AbstractRealType<T>>
public int compareTo(T other)
compareTo
in interface Comparable<T extends AbstractRealType<T>>
public boolean valueEquals(T other)
valueEquals
in interface ValueEquals<T extends AbstractRealType<T>>
valueEquals
in class AbstractComplexType<T extends AbstractRealType<T>>
public boolean equals(Object obj)
equals
in class AbstractComplexType<T extends AbstractRealType<T>>
public int hashCode()
hashCode
in class AbstractComplexType<T extends AbstractRealType<T>>
public float getPowerFloat()
getPowerFloat
in interface ComplexType<T extends AbstractRealType<T>>
getPowerFloat
in class AbstractComplexType<T extends AbstractRealType<T>>
public double getPowerDouble()
getPowerDouble
in interface ComplexType<T extends AbstractRealType<T>>
getPowerDouble
in class AbstractComplexType<T extends AbstractRealType<T>>
public float getPhaseFloat()
getPhaseFloat
in interface ComplexType<T extends AbstractRealType<T>>
getPhaseFloat
in class AbstractComplexType<T extends AbstractRealType<T>>
public double getPhaseDouble()
getPhaseDouble
in interface ComplexType<T extends AbstractRealType<T>>
getPhaseDouble
in class AbstractComplexType<T extends AbstractRealType<T>>
public String toString()
toString
in class AbstractComplexType<T extends AbstractRealType<T>>
Copyright © 2015–2022 ImgLib2. All rights reserved.