Package jscl.math
Class Matrix
- java.lang.Object
-
- jscl.math.Generic
-
- jscl.math.Matrix
-
- All Implemented Interfaces:
java.lang.Comparable,jscl.editor.rendering.MathObject,Arithmetic
public class Matrix extends Generic
-
-
Method Summary
-
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 Detail
-
element
protected final Generic[][] element
-
n
protected final int n
-
p
protected final int p
-
-
Constructor Detail
-
Matrix
public Matrix(java.lang.String name, int prime, int n, int p)
-
Matrix
public Matrix(Generic[][] element)
-
-
Method Detail
-
elements
public Generic[][] elements()
-
antiderivative
public Generic antiderivative(Variable variable) throws NotIntegrableException
- Specified by:
antiderivativein classGeneric- Throws:
NotIntegrableException
-
derivative
public Generic derivative(Variable variable)
- Specified by:
derivativein classGeneric
-
substitute
public Generic substitute(Variable variable, Generic generic)
- Specified by:
substitutein classGeneric
-
elementary
public Generic elementary()
- Specified by:
elementaryin classGeneric
-
productValue
public Generic[] productValue() throws NotProductException
- Specified by:
productValuein classGeneric- Throws:
NotProductException
-
powerValue
public Power powerValue() throws NotPowerException
- Specified by:
powerValuein classGeneric- Throws:
NotPowerException
-
expressionValue
public Expression expressionValue() throws NotExpressionException
- Specified by:
expressionValuein classGeneric- Throws:
NotExpressionException
-
integerValue
public JSCLInteger integerValue() throws NotIntegerException
- Specified by:
integerValuein classGeneric- Throws:
NotIntegerException
-
variableValue
public Variable variableValue() throws NotVariableException
- Specified by:
variableValuein classGeneric- Throws:
NotVariableException
-
isPolynomial
public boolean isPolynomial(Variable variable)
- Specified by:
isPolynomialin classGeneric
-
isConstant
public boolean isConstant(Variable variable)
- Specified by:
isConstantin classGeneric
-
vectors
public Generic[] vectors()
-
transpose
public Generic transpose()
-
trace
public Generic trace()
-
determinant
public Generic determinant()
-
conjugate
public Generic conjugate()
-
compareTo
public int compareTo(Matrix matrix)
-
identity
public static Matrix identity(int dimension)
-
identity
public static Matrix identity(int n, int p)
-
frame
public static Matrix frame(JSCLVector[] vector)
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
toMathML
public java.lang.String toMathML()
-
newinstance
protected Generic newinstance()
-
-