Package jscl.math.numeric
Class Numeric
java.lang.Object
jscl.math.numeric.Numeric
- All Implemented Interfaces:
Comparable,jscl.editor.rendering.MathObject,Arithmetic
- Direct Known Subclasses:
Complex,JSCLDouble,NumericMatrix,NumericVector
public abstract class Numeric
extends Object
implements Arithmetic, Comparable, jscl.editor.rendering.MathObject
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabs()acos()acosh()acot()acoth()add(Arithmetic arithmetic) abstract Numericasin()asinh()atan()atanh()intabstract intabstract Numericcos()cosh()cot()coth()divide(Arithmetic arithmetic) abstract Numericbooleanabstract Numericexp()inverse()abstract Numericlog()multiply(Arithmetic arithmetic) abstract Numericabstract Numericnegate()nthrt(int n) pow(int exponent) static Numericabstract intsignum()sin()sinh()sqrt()subtract(Arithmetic arithmetic) tan()tanh()abstract NumericMethods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface jscl.editor.rendering.MathObject
toMathML
-
Constructor Details
-
Numeric
public Numeric()
-
-
Method Details
-
add
-
subtract
-
multiply
-
divide
- Throws:
ArithmeticException
-
add
- Specified by:
addin interfaceArithmetic
-
subtract
- Specified by:
subtractin interfaceArithmetic
-
multiply
- Specified by:
multiplyin interfaceArithmetic
-
divide
- Specified by:
dividein interfaceArithmetic- Throws:
ArithmeticException
-
pow
-
abs
-
negate
-
signum
public abstract int signum() -
log
-
exp
-
inverse
-
pow
-
sqrt
-
nthrt
-
root
-
conjugate
-
acos
-
asin
-
atan
-
acot
-
cos
-
sin
-
tan
-
cot
-
acosh
-
asinh
-
atanh
-
acoth
-
cosh
-
sinh
-
tanh
-
coth
-
valueof
-
compareTo
-
compareTo
- Specified by:
compareToin interfaceComparable
-
equals
-