Package jscl.math
Class Matrix
java.lang.Object
jscl.math.Generic
jscl.math.Matrix
- All Implemented Interfaces:
Comparable,jscl.editor.rendering.MathObject,Arithmetic
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionantiderivative(Variable variable) intintintdegree()derivative(Variable variable) Generic[][]elements()eval()expand()static Matrixframe(JSCLVector[] vector) gcd()static Matrixidentity(int dimension) static Matrixidentity(int n, int p) inverse()booleanisConstant(Variable variable) booleanisPolynomial(Variable variable) negate()protected Genericprotected Genericnewinstance(Generic[][] element) numeric()static booleanGeneric[]static Matrixstatic Matrixintsignum()simplify()substitute(Variable variable, Generic generic) Generic[]sumValue()tensorProduct(Matrix matrix) toMathML()toString()trace()Variable[]Generic[]vectors()Methods inherited from class jscl.math.Generic
abs, add, booleanValue, compareTo, divide, divideAndRemainder, equals, gcdAndNormalize, isIdentity, isOne, isZero, multiple, multiply, normalize, pow, pow, remainder, scm, subtract, vectorValue
-
Field Details
-
element
-
n
protected final int n -
p
protected final int p
-
-
Constructor Details
-
Matrix
-
Matrix
-
-
Method Details
-
elements
-
add
-
add
-
subtract
-
subtract
-
product
-
multiply
-
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
-
variableValue
- Specified by:
variableValuein classGeneric- Throws:
NotVariableException
-
variables
-
isPolynomial
- Specified by:
isPolynomialin classGeneric
-
isConstant
- Specified by:
isConstantin classGeneric
-
vectors
-
tensorProduct
-
transpose
-
trace
-
inverse
-
determinant
-
conjugate
-
compareTo
-
compareTo
-
identity
-
identity
-
frame
-
rotation
-
rotation
-
toString
-
toMathML
-
newinstance
-
newinstance
-