Package jisa.maths
Class ErrorValue
- java.lang.Object
-
- java.lang.Number
-
- jisa.maths.ErrorValue
-
- All Implemented Interfaces:
java.io.Serializable
public class ErrorValue extends java.lang.Number- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ErrorValue(double value, double error)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ErrorValueadd(double other)ErrorValueadd(ErrorValue other)ErrorValuediv(double other)ErrorValuediv(ErrorValue other)ErrorValuedivide(double other)ErrorValuedivide(ErrorValue other)doubledoubleValue()floatfloatValue()doublegetError()doublegetValue()intintValue()longlongValue()ErrorValueminus(double other)ErrorValueminus(ErrorValue other)ErrorValuemultiply(double other)ErrorValuemultiply(ErrorValue other)ErrorValueplus(double other)ErrorValueplus(ErrorValue other)ErrorValuepow(double other)ErrorValuepow(ErrorValue power)ErrorValuesubtract(double other)ErrorValuesubtract(ErrorValue other)ErrorValuetimes(double other)ErrorValuetimes(ErrorValue other)
-
-
-
Method Detail
-
getValue
public double getValue()
-
getError
public double getError()
-
intValue
public int intValue()
- Specified by:
intValuein classjava.lang.Number
-
longValue
public long longValue()
- Specified by:
longValuein classjava.lang.Number
-
floatValue
public float floatValue()
- Specified by:
floatValuein classjava.lang.Number
-
doubleValue
public double doubleValue()
- Specified by:
doubleValuein classjava.lang.Number
-
add
public ErrorValue add(ErrorValue other)
-
add
public ErrorValue add(double other)
-
plus
public ErrorValue plus(ErrorValue other)
-
plus
public ErrorValue plus(double other)
-
subtract
public ErrorValue subtract(ErrorValue other)
-
subtract
public ErrorValue subtract(double other)
-
minus
public ErrorValue minus(ErrorValue other)
-
minus
public ErrorValue minus(double other)
-
multiply
public ErrorValue multiply(ErrorValue other)
-
multiply
public ErrorValue multiply(double other)
-
times
public ErrorValue times(ErrorValue other)
-
times
public ErrorValue times(double other)
-
divide
public ErrorValue divide(ErrorValue other)
-
divide
public ErrorValue divide(double other)
-
div
public ErrorValue div(ErrorValue other)
-
div
public ErrorValue div(double other)
-
pow
public ErrorValue pow(ErrorValue power)
-
pow
public ErrorValue pow(double other)
-
-