Package jscl.math
Class JSCLVector
java.lang.Object
jscl.math.Generic
jscl.math.JSCLVector
- All Implemented Interfaces:
Comparable,jscl.editor.rendering.MathObject,Arithmetic
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionadd(JSCLVector vector) antiderivative(Variable variable) intintcompareTo(JSCLVector vector) complexProduct(JSCLVector vector) intdegree()derivative(Variable variable) divergence(Variable[] variable) Generic[]elements()eval()expand()gcd()geometricProduct(JSCLVector vector, int[] algebra) booleanisConstant(Variable variable) booleanisPolynomial(Variable variable) negate()protected Genericprotected Genericnewinstance(Generic[] element) numeric()Generic[]quaternionProduct(JSCLVector vector) scalarProduct(JSCLVector vector) intsignum()simplify()substitute(Variable variable, Generic generic) subtract(JSCLVector vector) Generic[]sumValue()toMathML()toString()static JSCLVectorunity(int dimension) Variable[]vectorProduct(JSCLVector vector)
-
Field Details
-
element
-
n
protected final int n
-
-
Constructor Details
-
JSCLVector
-
JSCLVector
-
-
Method Details
-
elements
-
add
-
add
-
subtract
-
subtract
-
multiply
-
divide
- Specified by:
dividein classGeneric- Throws:
ArithmeticException
-
gcd
-
gcd
-
negate
-
signum
public int signum() -
degree
public int degree() -
antiderivative
- Specified by:
antiderivativein classGeneric- Throws:
NotIntegrableException
-
derivative
- Specified by:
derivativein classGeneric
-
substitute
- Specified by:
substitutein classGeneric
-
eval
-
expand
-
factorize
-
elementary
- Specified by:
elementaryin classGeneric
-
simplify
-
function
-
numeric
-
valueof
-
sumValue
-
productValue
- Specified by:
productValuein classGeneric- Throws:
NotProductException
-
powerValue
- Specified by:
powerValuein classGeneric- Throws:
NotPowerException
-
expressionValue
- Specified by:
expressionValuein classGeneric- Throws:
NotExpressionException
-
integerValue
- Specified by:
integerValuein classGeneric- Throws:
NotIntegerException
-
vectorValue
- Overrides:
vectorValuein classGeneric
-
variableValue
- Specified by:
variableValuein classGeneric- Throws:
NotVariableException
-
variables
-
isPolynomial
- Specified by:
isPolynomialin classGeneric
-
isConstant
- Specified by:
isConstantin classGeneric
-
magnitude2
-
scalarProduct
-
vectorProduct
-
complexProduct
-
quaternionProduct
-
geometricProduct
-
divergence
-
curl
-
jacobian
-
del
-
conjugate
-
compareTo
-
compareTo
-
unity
-
toString
-
toMathML
-
newinstance
-
newinstance
-