public class PreciseFixedFloatType extends Object implements RealType<PreciseFixedFloatType>
Constructor and Description |
---|
PreciseFixedFloatType() |
PreciseFixedFloatType(BigDecimal v) |
PreciseFixedFloatType(BigInteger v) |
PreciseFixedFloatType(double v) |
PreciseFixedFloatType(long v) |
PreciseFixedFloatType(PreciseFixedFloatType other) |
PreciseFixedFloatType(String numStr) |
public PreciseFixedFloatType()
public PreciseFixedFloatType(long v)
public PreciseFixedFloatType(double v)
public PreciseFixedFloatType(BigInteger v)
public PreciseFixedFloatType(BigDecimal v)
public PreciseFixedFloatType(String numStr)
public PreciseFixedFloatType(PreciseFixedFloatType other)
public BigDecimal get()
public double getRealDouble()
getRealDouble
in interface ComplexType<PreciseFixedFloatType>
public float getRealFloat()
getRealFloat
in interface ComplexType<PreciseFixedFloatType>
public double getImaginaryDouble()
getImaginaryDouble
in interface ComplexType<PreciseFixedFloatType>
public float getImaginaryFloat()
getImaginaryFloat
in interface ComplexType<PreciseFixedFloatType>
public void setReal(float v)
setReal
in interface ComplexType<PreciseFixedFloatType>
public void setReal(double v)
setReal
in interface ComplexType<PreciseFixedFloatType>
public void setImaginary(float v)
setImaginary
in interface ComplexType<PreciseFixedFloatType>
public void setImaginary(double v)
setImaginary
in interface ComplexType<PreciseFixedFloatType>
public void setComplexNumber(float r, float i)
setComplexNumber
in interface ComplexType<PreciseFixedFloatType>
public void setComplexNumber(double r, double i)
setComplexNumber
in interface ComplexType<PreciseFixedFloatType>
public float getPowerFloat()
getPowerFloat
in interface ComplexType<PreciseFixedFloatType>
public double getPowerDouble()
getPowerDouble
in interface ComplexType<PreciseFixedFloatType>
public float getPhaseFloat()
getPhaseFloat
in interface ComplexType<PreciseFixedFloatType>
public double getPhaseDouble()
getPhaseDouble
in interface ComplexType<PreciseFixedFloatType>
public void complexConjugate()
complexConjugate
in interface ComplexType<PreciseFixedFloatType>
public void negate()
public void abs()
public void pow(int power)
public void pow(PreciseFixedFloatType c)
pow
in interface Pow<PreciseFixedFloatType>
public void pow(double c)
pow
in interface PowFloatingPoint
public void add(PreciseFixedFloatType v)
add
in interface Add<PreciseFixedFloatType>
public void add(PreciseFixedFloatType a, PreciseFixedFloatType b)
public void sub(PreciseFixedFloatType v)
sub
in interface Sub<PreciseFixedFloatType>
public void sub(PreciseFixedFloatType a, PreciseFixedFloatType b)
public void mul(PreciseFixedFloatType v)
mul
in interface Mul<PreciseFixedFloatType>
public void mul(PreciseFixedFloatType a, PreciseFixedFloatType b)
public void div(PreciseFixedFloatType v)
div
in interface Div<PreciseFixedFloatType>
public void div(PreciseFixedFloatType a, PreciseFixedFloatType b)
public void mul(float v)
mul
in interface MulFloatingPoint
public void mul(double v)
mul
in interface MulFloatingPoint
public void mul(BigInteger v)
public void mul(BigDecimal v)
public PreciseFixedFloatType createVariable()
createVariable
in interface Type<PreciseFixedFloatType>
public PreciseFixedFloatType copy()
copy
in interface Type<PreciseFixedFloatType>
public void set(PreciseFixedFloatType other)
set
in interface Type<PreciseFixedFloatType>
public void set(double v)
public void set(long v)
public void set(BigInteger v)
public void set(BigDecimal v)
public int compareTo(PreciseFixedFloatType other)
compareTo
in interface Comparable<PreciseFixedFloatType>
public void inc()
inc
in interface RealType<PreciseFixedFloatType>
public void dec()
dec
in interface RealType<PreciseFixedFloatType>
public double getMaxValue()
getMaxValue
in interface RealType<PreciseFixedFloatType>
public double getMinValue()
getMinValue
in interface RealType<PreciseFixedFloatType>
public double getMinIncrement()
getMinIncrement
in interface RealType<PreciseFixedFloatType>
public int getBitsPerPixel()
getBitsPerPixel
in interface RealType<PreciseFixedFloatType>
public boolean valueEquals(PreciseFixedFloatType t)
valueEquals
in interface ValueEquals<PreciseFixedFloatType>
public static PreciseFixedFloatType sqrt(PreciseFixedFloatType c)
c
- public static PreciseFixedFloatType atan2(PreciseFixedFloatType y, PreciseFixedFloatType x)
Copyright © 2014–2022 ImageJ. All rights reserved.