T
- the type of the field elementspublic interface RealFieldElement<T> extends FieldElement<T>
FieldElement
Modifier and Type | Method and Description |
---|---|
T |
abs()
absolute value.
|
T |
acos()
Arc cosine operation.
|
T |
acosh()
Inverse hyperbolic cosine operation.
|
T |
add(double a)
'+' operator.
|
T |
asin()
Arc sine operation.
|
T |
asinh()
Inverse hyperbolic sine operation.
|
T |
atan()
Arc tangent operation.
|
T |
atan2(T x)
Two arguments arc tangent operation.
|
T |
atanh()
Inverse hyperbolic tangent operation.
|
T |
cbrt()
Cubic root.
|
T |
ceil()
Get the smallest whole number larger than instance.
|
T |
copySign(double sign)
Returns the instance with the sign of the argument.
|
T |
copySign(T sign)
Returns the instance with the sign of the argument.
|
T |
cos()
Cosine operation.
|
T |
cosh()
Hyperbolic cosine operation.
|
T |
divide(double a)
'÷' operator.
|
T |
exp()
Exponential.
|
T |
expm1()
Exponential minus 1.
|
T |
floor()
Get the largest whole number smaller than instance.
|
double |
getReal()
Get the real value of the number.
|
T |
hypot(T y)
Returns the hypotenuse of a triangle with sides
this and y -
sqrt(this2 +y2)avoiding intermediate overflow or underflow. |
T |
linearCombination(double[] a,
T[] b)
Compute a linear combination.
|
T |
linearCombination(double a1,
T b1,
double a2,
T b2)
Compute a linear combination.
|
T |
linearCombination(double a1,
T b1,
double a2,
T b2,
double a3,
T b3)
Compute a linear combination.
|
T |
linearCombination(double a1,
T b1,
double a2,
T b2,
double a3,
T b3,
double a4,
T b4)
Compute a linear combination.
|
T |
linearCombination(T[] a,
T[] b)
Compute a linear combination.
|
T |
linearCombination(T a1,
T b1,
T a2,
T b2)
Compute a linear combination.
|
T |
linearCombination(T a1,
T b1,
T a2,
T b2,
T a3,
T b3)
Compute a linear combination.
|
T |
linearCombination(T a1,
T b1,
T a2,
T b2,
T a3,
T b3,
T a4,
T b4)
Compute a linear combination.
|
T |
log()
Natural logarithm.
|
T |
log1p()
Shifted natural logarithm.
|
T |
multiply(double a)
'×' operator.
|
T |
pow(double p)
Power operation.
|
T |
pow(int n)
Integer power operation.
|
T |
pow(T e)
Power operation.
|
T |
reciprocal()
Returns the multiplicative inverse of
this element. |
T |
remainder(double a)
IEEE remainder operator.
|
T |
remainder(T a)
IEEE remainder operator.
|
T |
rint()
Get the whole number that is the nearest to the instance, or the even one if x is exactly half way between two
integers.
|
T |
rootN(int n)
Nth root.
|
long |
round()
Get the closest long to instance value.
|
T |
scalb(int n)
Multiply the instance by a power of 2.
|
T |
signum()
Compute the signum of the instance.
|
T |
sin()
Sine operation.
|
T |
sinh()
Hyperbolic sine operation.
|
T |
sqrt()
Square root.
|
T |
subtract(double a)
'-' operator.
|
T |
tan()
Tangent operation.
|
T |
tanh()
Hyperbolic tangent operation.
|
double getReal()
T add(double a)
a
- right hand side parameter of the operatorT subtract(double a)
a
- right hand side parameter of the operatorT multiply(double a)
a
- right hand side parameter of the operatorT divide(double a)
a
- right hand side parameter of the operatorT remainder(double a)
a
- right hand side parameter of the operatorT remainder(T a)
a
- right hand side parameter of the operatorDimensionMismatchException
- if number of free parameters or orders are inconsistentT abs()
T ceil()
T floor()
T rint()
long round()
getReal()
T signum()
T copySign(T sign)
sign
argument is treated as positive.sign
- the sign for the returned valuesign
argumentT copySign(double sign)
sign
argument is treated as positive.sign
- the sign for the returned valuesign
argumentT scalb(int n)
n
- power of 2T hypot(T y)
this
and y
-
sqrt(this2 +y2)y
- a valueDimensionMismatchException
- if number of free parameters or orders are inconsistentT reciprocal()
this
element.reciprocal
in interface FieldElement<T>
this
.T sqrt()
T cbrt()
T rootN(int n)
n
- order of the rootT pow(double p)
p
- power to applyT pow(int n)
n
- power to applyT pow(T e)
e
- exponentDimensionMismatchException
- if number of free parameters or orders are inconsistentT exp()
T expm1()
T log()
T log1p()
T cos()
T sin()
T tan()
T acos()
T asin()
T atan()
T atan2(T x)
x
- second argument of the arc tangentDimensionMismatchException
- if number of free parameters or orders are inconsistentT cosh()
T sinh()
T tanh()
T acosh()
T asinh()
T atanh()
T linearCombination(T[] a, T[] b)
a
- Factors.b
- Factors.Σi ai bi
.DimensionMismatchException
- if arrays dimensions don't matchT linearCombination(double[] a, T[] b)
a
- Factors.b
- Factors.Σi ai bi
.DimensionMismatchException
- if arrays dimensions don't matchT linearCombination(T a1, T b1, T a2, T b2)
a1
- first factor of the first termb1
- second factor of the first terma2
- first factor of the second termb2
- second factor of the second termlinearCombination(Object, Object, Object, Object, Object, Object)
,
linearCombination(Object, Object, Object, Object, Object, Object, Object, Object)
T linearCombination(double a1, T b1, double a2, T b2)
a1
- first factor of the first termb1
- second factor of the first terma2
- first factor of the second termb2
- second factor of the second termlinearCombination(double, Object, double, Object, double, Object)
,
linearCombination(double, Object, double, Object, double, Object, double, Object)
T linearCombination(T a1, T b1, T a2, T b2, T a3, T b3)
a1
- first factor of the first termb1
- second factor of the first terma2
- first factor of the second termb2
- second factor of the second terma3
- first factor of the third termb3
- second factor of the third termlinearCombination(Object, Object, Object, Object)
,
linearCombination(Object, Object, Object, Object, Object, Object, Object, Object)
T linearCombination(double a1, T b1, double a2, T b2, double a3, T b3)
a1
- first factor of the first termb1
- second factor of the first terma2
- first factor of the second termb2
- second factor of the second terma3
- first factor of the third termb3
- second factor of the third termlinearCombination(double, Object, double, Object)
,
linearCombination(double, Object, double, Object, double, Object, double, Object)
T linearCombination(T a1, T b1, T a2, T b2, T a3, T b3, T a4, T b4)
a1
- first factor of the first termb1
- second factor of the first terma2
- first factor of the second termb2
- second factor of the second terma3
- first factor of the third termb3
- second factor of the third terma4
- first factor of the third termb4
- second factor of the third termlinearCombination(Object, Object, Object, Object)
,
linearCombination(Object, Object, Object, Object, Object, Object)
T linearCombination(double a1, T b1, double a2, T b2, double a3, T b3, double a4, T b4)
a1
- first factor of the first termb1
- second factor of the first terma2
- first factor of the second termb2
- second factor of the second terma3
- first factor of the third termb3
- second factor of the third terma4
- first factor of the third termb4
- second factor of the third termlinearCombination(double, Object, double, Object)
,
linearCombination(double, Object, double, Object, double, Object)
Copyright © 2018 CNES. All Rights Reserved.