R
- wrapped RealType
.T
- type of derived concrete class.public abstract class AbstractVolatileRealType<R extends RealType<R>,T extends AbstractVolatileRealType<R,T>> extends Volatile<R> implements RealType<T>
VolatileRealType
s that wrap RealType
.Constructor and Description |
---|
AbstractVolatileRealType(R t,
boolean valid) |
Modifier and Type | Method and Description |
---|---|
void |
add(T c) |
int |
compareTo(T o) |
void |
complexConjugate() |
void |
dec() |
void |
div(T c) |
boolean |
equals(Object obj) |
int |
getBitsPerPixel() |
double |
getImaginaryDouble() |
float |
getImaginaryFloat() |
double |
getMaxValue() |
double |
getMinIncrement() |
double |
getMinValue() |
double |
getPhaseDouble() |
float |
getPhaseFloat() |
double |
getPowerDouble() |
float |
getPowerFloat() |
double |
getRealDouble() |
float |
getRealFloat() |
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 |
setComplexNumber(double r,
double i) |
void |
setComplexNumber(float r,
float i) |
void |
setImaginary(double f) |
void |
setImaginary(float f) |
void |
setOne() |
void |
setReal(double f) |
void |
setReal(float f) |
void |
setZero() |
void |
sub(T c) |
boolean |
valueEquals(T other) |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
copy, createVariable
public AbstractVolatileRealType(R t, boolean valid)
public double getRealDouble()
getRealDouble
in interface ComplexType<T extends AbstractVolatileRealType<R,T>>
public float getRealFloat()
getRealFloat
in interface ComplexType<T extends AbstractVolatileRealType<R,T>>
public double getImaginaryDouble()
getImaginaryDouble
in interface ComplexType<T extends AbstractVolatileRealType<R,T>>
public float getImaginaryFloat()
getImaginaryFloat
in interface ComplexType<T extends AbstractVolatileRealType<R,T>>
public void setReal(float f)
setReal
in interface ComplexType<T extends AbstractVolatileRealType<R,T>>
public void setReal(double f)
setReal
in interface ComplexType<T extends AbstractVolatileRealType<R,T>>
public void setImaginary(float f)
setImaginary
in interface ComplexType<T extends AbstractVolatileRealType<R,T>>
public void setImaginary(double f)
setImaginary
in interface ComplexType<T extends AbstractVolatileRealType<R,T>>
public void setComplexNumber(float r, float i)
setComplexNumber
in interface ComplexType<T extends AbstractVolatileRealType<R,T>>
public void setComplexNumber(double r, double i)
setComplexNumber
in interface ComplexType<T extends AbstractVolatileRealType<R,T>>
public float getPowerFloat()
getPowerFloat
in interface ComplexType<T extends AbstractVolatileRealType<R,T>>
public double getPowerDouble()
getPowerDouble
in interface ComplexType<T extends AbstractVolatileRealType<R,T>>
public float getPhaseFloat()
getPhaseFloat
in interface ComplexType<T extends AbstractVolatileRealType<R,T>>
public double getPhaseDouble()
getPhaseDouble
in interface ComplexType<T extends AbstractVolatileRealType<R,T>>
public void complexConjugate()
complexConjugate
in interface ComplexType<T extends AbstractVolatileRealType<R,T>>
public void inc()
public void dec()
public double getMaxValue()
getMaxValue
in interface RealType<T extends AbstractVolatileRealType<R,T>>
public double getMinValue()
getMinValue
in interface RealType<T extends AbstractVolatileRealType<R,T>>
public double getMinIncrement()
getMinIncrement
in interface RealType<T extends AbstractVolatileRealType<R,T>>
public int getBitsPerPixel()
getBitsPerPixel
in interface RealType<T extends AbstractVolatileRealType<R,T>>
public void add(T c)
public void sub(T c)
public void mul(T c)
public void div(T c)
public void pow(T c)
public void pow(double power)
pow
in interface PowFloatingPoint
public void mul(float c)
mul
in interface MulFloatingPoint
public void mul(double c)
mul
in interface MulFloatingPoint
public int compareTo(T o)
compareTo
in interface Comparable<T extends AbstractVolatileRealType<R,T>>
public boolean valueEquals(T other)
valueEquals
in interface ValueEquals<T extends AbstractVolatileRealType<R,T>>
Copyright © 2015–2022 ImgLib2. All rights reserved.