See: Description
Interface | Description |
---|---|
BinaryOperatorI |
A matrix enabled binary operator.
|
NaryOperatorI |
A matrix enabled operator with N arguments.
|
UnaryOperatorI |
A matrix enabled unary operator.
|
Class | Description |
---|---|
ArrayAccess |
A postfix MathCommand which facilitates the getting and setting of vector and matrix elements.
|
Determinant |
Calculate the Determinant of a matrix
det([[1,2],[3,4]]) -> 1*4-2*3 = -2
|
Diagonal |
Creates a diagonal matrix, with a given vector as diagonals elements.
|
Ele |
ele(x,i) returns the i-th element of a vector x.
|
ElementComparative |
Multiplies any number of Vectors or Matrices element by element.
|
ElementDivide |
Multiplies any number of Vectors or Matrices element by element.
|
ElementMultiply |
Multiplies any number of Vectors or Matricies element by element.
|
ExteriorProduct |
An overloaded operator, either cross product or power.
|
GenMat |
Generate vectors and matrices.
|
GetDiagonal |
Extracts diagonal from a square matrix.
|
Id |
Creates an identity matrix.
|
Length |
Returns the length of a vector.
|
MAdd |
An extension of the Add command to allow it to add MVector's and Matrix's.
|
MDivide |
An extension of the Divide class with vectors and matricies.
|
MDot |
The MDot operator.
|
MMultiply |
An extension of the Multiply to with vectors and matricies.
|
MSubtract |
An extension of the Add command to allow it to add MVector's and Matrix's.
|
MUMinus |
Unitary minus for matrices.
|
Size |
Returns the size of an Scaler, Vector or Matrix.
|
Trace |
Calculate the trace of a matrix
trace([[1,2],[3,4]]) -> 1+4 = 5
|
Transpose |
Transpose a matrix.
|
VEle |
ele(x,i) returns the i-th element of a vector x.
|
VList |
A enhanced version of List, allows matrices and tensors.
|
VMap |
evaluates a function on every element of a vector or matrix.
|
VPower |
An overloaded power function, if both arguments are vectors returns
the exteriour product, else return standard power.
|
VRange |
A enhanced version of List, allows matrices and tensors.
|
VSum |
Adds the elements of a vector or matrix.
|
In the VectorJep package vectors are handled if a different fashion to standard Jep. The VList function converts a list of values [1,2,3] into one of the MatrixValueI types: Scaler, MVector, Matrix or Tensor.
Functions which work with Vectors in this package should handle the above types.
Furthermore if the MatrixJep package is going to be used, then classes should implement one of the interfaces either UnaryOperatorI BinaryOperatorI or NaryOperatorI interfaces. These use a more efficient method for evaluation through the calcValue methods, where an object to hold the results is provided.
Jas4pp 1.5 © Java Analysis Studio for Particle Physics