|
|||||||||||
PREV NEXT | FRAMES NO FRAMES All Classes |
Packages that use Mat2 | |
core.math | This package contains a variety of classes which handle vector manipulations and the evolution of a given experiment as it evolves. |
Uses of Mat2 in core.math |
Fields in core.math declared as Mat2 | |
protected Mat2 |
Vec2Transform.matrix
matrix = m, the linear transformation |
static Mat2 |
Mat2.Zero
Do not modify Zero = the zero matrix |
static Mat2 |
Mat2.Ident
Do not modify Ident = the identity matrix |
static Mat2 |
Mat2.Invalid
Do not modify Invalid = an invalid Mat2 |
Methods in core.math that return Mat2 | |
Mat2 |
Mat2.Set(Mat2 m)
Sets the value of "this" to that of "m" Returns: resulting "this" |
Mat2 |
Mat2.Set(double a,
double b,
double c,
double d)
Sets "this" to [[a, b], [c, d]]. |
Mat2 |
Mat2.SetZero()
Sets "this" to zero. |
Mat2 |
Mat2.SetIdent()
Sets "this" to the identity matrix. |
Mat2 |
Mat2.Add(Mat2 m)
Adds "m" to "this" Returns: resulting "this" |
Mat2 |
Mat2.add(Mat2 m)
Returns: a new Mat2 that is the sum of "this" and "m" |
Mat2 |
Mat2.AddScaled(Mat2 m,
double s)
Adds "s*m" to "this" Returns: resulting "this" |
Mat2 |
Mat2.addscaled(Mat2 m,
double s)
Returns: a new Mat2 that is the sum of "this" and "s*m" |
Mat2 |
Mat2.Sub(Mat2 m)
Subtracts "m" from "this" Returns: resulting "this" |
Mat2 |
Mat2.sub(Mat2 m)
Returns: a new Mat2 that is the difference between "this" and "m" |
Mat2 |
Mat2.Neg()
Negates "this" Returns: resulting "this" |
Mat2 |
Mat2.neg()
Returns: a new Mat2 that is the opposite of "this" |
Mat2 |
Mat2.Scale(double s)
Scales "this" by "s" Returns: resulting "this" |
Mat2 |
Mat2.scale(double s)
Returns: a new Mat2 that is "s*this" |
Mat2 |
Mat2.Mul(Mat2 m)
Multiplies "this" to the left by "m" Returns: resulting "this" |
Mat2 |
Mat2.mul(Mat2 m)
Returns: a new Mat2 that is "m*this" |
Mat2 |
Mat2.RMul(Mat2 m)
Multiplies "this" to the right by "m" Returns: resulting "this" |
Mat2 |
Mat2.rmul(Mat2 m)
Returns: a new Mat2 that is "this*m" |
Mat2 |
Mat2.Invert()
Inverts "this" Returns: resulting "this" Requires: "this" is not singular |
Mat2 |
Mat2.invert()
Returns: a new Mat2 that is the inverse of "this" Requires: "this" is not singular |
Methods in core.math with parameters of type Mat2 | |
Vec2 |
Vec2.Mul(Mat2 m)
Multiplies "this" to the left by "m" Returns: resulting "this" |
Vec2 |
Vec2.mul(Mat2 m)
Returns: a new Vec2 that is "m*this" |
Vec2 |
Vec2.RMul(Mat2 m)
Multiplies "this" to the right by "m" Returns: resulting "this" |
Vec2 |
Vec2.rmul(Mat2 m)
Returns: a new Vec2 that is "this*m" |
Mat2 |
Mat2.Set(Mat2 m)
Sets the value of "this" to that of "m" Returns: resulting "this" |
boolean |
Mat2.equals(Mat2 m)
Returns: true if "this" equals "m", false otherwise |
Mat2 |
Mat2.Add(Mat2 m)
Adds "m" to "this" Returns: resulting "this" |
Mat2 |
Mat2.add(Mat2 m)
Returns: a new Mat2 that is the sum of "this" and "m" |
Mat2 |
Mat2.AddScaled(Mat2 m,
double s)
Adds "s*m" to "this" Returns: resulting "this" |
Mat2 |
Mat2.addscaled(Mat2 m,
double s)
Returns: a new Mat2 that is the sum of "this" and "s*m" |
Mat2 |
Mat2.Sub(Mat2 m)
Subtracts "m" from "this" Returns: resulting "this" |
Mat2 |
Mat2.sub(Mat2 m)
Returns: a new Mat2 that is the difference between "this" and "m" |
double |
Mat2.dot(Mat2 m)
Returns: the dot product of "this" and "m" |
Mat2 |
Mat2.Mul(Mat2 m)
Multiplies "this" to the left by "m" Returns: resulting "this" |
Mat2 |
Mat2.mul(Mat2 m)
Returns: a new Mat2 that is "m*this" |
Mat2 |
Mat2.RMul(Mat2 m)
Multiplies "this" to the right by "m" Returns: resulting "this" |
Mat2 |
Mat2.rmul(Mat2 m)
Returns: a new Mat2 that is "this*m" |
Constructors in core.math with parameters of type Mat2 | |
Vec2Transform(Vec2 origin,
Mat2 matrix)
Constructs a new Vec2Transform = < matrix, origin > |
|
Mat2(Mat2 m)
Constructs a new Mat2 = "m" |
|
|||||||||||
PREV NEXT | FRAMES NO FRAMES All Classes |