A B C D E F G H I L M N O P Q R S T U V W X Y Z

A

A - Variable in class maspack.matrix.AffineTransform2d
Matrix component.
A - Variable in class maspack.matrix.AffineTransform3d
Matrix component.
AUTO_EPSILON - Static variable in interface maspack.contact.ContactSolver
Indicates that numeric tolerances should be computed automatially for each solution.
AXIS_ANGLE_STRING - Static variable in class maspack.matrix.RigidTransform3d
Specifies a string representation of this transformation as a 7-tuple consisting of a translation vector followed by a rotation axis and the corresponding angle (in degrees).
AXIS_ANGLE_STRING - Static variable in class maspack.matrix.RotationMatrix3d
Specifies a string representation of this rotation as a 4-tuple consisting of a rotation axis and the corresponding angle (in degrees).
AffineTransform2d - class maspack.matrix.AffineTransform2d.
A 3 x 3 matrix which implements general 2D affine transformations.
AffineTransform2d() - Constructor for class maspack.matrix.AffineTransform2d
Creates an AffineTransform2d and initializes it to the identity.
AffineTransform2d(Vector2d, Matrix2d) - Constructor for class maspack.matrix.AffineTransform2d
Creates an AffineTransform2d and initializes its components to the specified values.
AffineTransform2dObject - class maspack.matrix.AffineTransform2dObject.
Base class for 3 x 3 matrices representing 2D affine transformations.
AffineTransform2dObject() - Constructor for class maspack.matrix.AffineTransform2dObject
 
AffineTransform3d - class maspack.matrix.AffineTransform3d.
A 4 x 4 matrix which implements general 3D affine transformations.
AffineTransform3d() - Constructor for class maspack.matrix.AffineTransform3d
Creates an AffineTransform3d and initializes it to the identity.
AffineTransform3d(Matrix3d, Vector3d) - Constructor for class maspack.matrix.AffineTransform3d
Creates an AffineTransform3d and initializes its components to the specified values.
AffineTransform3dObject - class maspack.matrix.AffineTransform3dObject.
Base class for 4 x 4 matrices representing 3D affine transformations.
AffineTransform3dObject() - Constructor for class maspack.matrix.AffineTransform3dObject
 
AxisAngle - class maspack.matrix.AxisAngle.
Axis-angle representation of a rigid-body rotation.
AxisAngle() - Constructor for class maspack.matrix.AxisAngle
Creates an AxisAngle and initializes it to the identity rotation.
AxisAngle(double[]) - Constructor for class maspack.matrix.AxisAngle
Creates an AxisAngle and initializes it to the prescribed values.
AxisAngle(double, double, double, double) - Constructor for class maspack.matrix.AxisAngle
Creates an AxisAngle and initializes it to the prescribed values.
AxisAngle(Vector3d, double) - Constructor for class maspack.matrix.AxisAngle
Creates an AxisAngle and sets it to the prescribed values.
absolute() - Method in class maspack.matrix.MatrixNd
Sets the elements of this matrix to their absolute values.
absolute() - Method in class maspack.matrix.Vector2d
Sets the elements of this vector to their absolute values.
absolute(Vector2d) - Method in class maspack.matrix.Vector2d
Sets the elements of this vector to the absolute value of v1.
absolute() - Method in class maspack.matrix.Vector3d
Sets the elements of this vector to their absolute values.
absolute(Vector3d) - Method in class maspack.matrix.Vector3d
Sets the elements of this vector to the absolute value of v1.
absolute() - Method in class maspack.matrix.Vector4d
Sets the elements of this vector to their absolute values.
absolute(Vector4d) - Method in class maspack.matrix.Vector4d
Sets the elements of this vector to the absolute value of v1.
absolute() - Method in class maspack.matrix.VectorNd
Sets the elements of this vector to their absolute values.
absolute(VectorNd) - Method in class maspack.matrix.VectorNd
Sets the elements of this vector to the absolute value of v1.
absolute() - Method in class maspack.spatialmotion.SpatialVector
Sets the elements of this spatial vector to their absolute values.
absolute(Twist) - Method in class maspack.spatialmotion.Twist
Sets the elements of this twist to their absolute values.
absolute(Wrench) - Method in class maspack.spatialmotion.Wrench
Sets the elements of this wrench to their absolute values.
add(Matrix2dObject, Matrix2dObject) - Method in class maspack.matrix.Matrix2d
Adds matrix M1 to M2 and places the result in this matrix.
add(Matrix2dObject) - Method in class maspack.matrix.Matrix2d
Adds this matrix to M1 and places the result in this matrix.
add(Matrix3dObject, Matrix3dObject) - Method in class maspack.matrix.Matrix3d
Adds matrix M1 to M2 and places the result in this matrix.
add(Matrix3dObject) - Method in class maspack.matrix.Matrix3d
Adds this matrix to M1 and places the result in this matrix.
add(Matrix4dObject, Matrix4dObject) - Method in class maspack.matrix.Matrix4d
Adds matrix M1 to M2 and places the result in this matrix.
add(Matrix4dObject) - Method in class maspack.matrix.Matrix4d
Adds this matrix to M1 and places the result in this matrix.
add(MatrixNd) - Method in class maspack.matrix.MatrixNd
Adds this matrix to M1 and places the result in this matrix.
add(MatrixNd, MatrixNd) - Method in class maspack.matrix.MatrixNd
Adds matrix M1 to M2 and places the result in this matrix.
add(Quaternion, Quaternion) - Method in class maspack.matrix.Quaternion
Adds q1 quaternion to q2 and places the result in this quaternion.
add(Quaternion) - Method in class maspack.matrix.Quaternion
Adds this quaternion to q1 and places the result in this quaternion.
add(SymmetricMatrix3d, SymmetricMatrix3d) - Method in class maspack.matrix.SymmetricMatrix3d
Adds matrix M1 to M2 and places the result in this matrix.
add(SymmetricMatrix3d) - Method in class maspack.matrix.SymmetricMatrix3d
Adds this matrix to M1 and places the result in this matrix.
add(Vector2d, Vector2d) - Method in class maspack.matrix.Vector2d
Adds vector v1 to v2 and places the result in this vector.
add(Vector2d) - Method in class maspack.matrix.Vector2d
Adds this vector to v1 and places the result in this vector.
add(Vector3d, Vector3d) - Method in class maspack.matrix.Vector3d
Adds vector v1 to v2 and places the result in this vector.
add(Vector3d) - Method in class maspack.matrix.Vector3d
Adds this vector to v1 and places the result in this vector.
add(Vector4d, Vector4d) - Method in class maspack.matrix.Vector4d
Adds vector v1 to v2 and places the result in this vector.
add(Vector4d) - Method in class maspack.matrix.Vector4d
Adds this vector to v1 and places the result in this vector.
add(VectorNd, VectorNd) - Method in class maspack.matrix.VectorNd
Adds vector v1 to v2 and places the result in this vector.
add(VectorNd) - Method in class maspack.matrix.VectorNd
Adds this vector to v1 and places the result in this vector.
add(SpatialInertia) - Method in class maspack.spatialmotion.SpatialInertia
Adds this spatial inertia to M1 and places the result in this spatial inertia.
add(SpatialInertia, SpatialInertia) - Method in class maspack.spatialmotion.SpatialInertia
Adds spatial inertia M1 to M2 and places the result in this spatial inertia.
add(Twist, Twist) - Method in class maspack.spatialmotion.Twist
Adds twist tw1 to tw2 and places the result in this twist.
add(Twist) - Method in class maspack.spatialmotion.Twist
Adds this twist to tw1 and places the result in this twist.
add(Wrench, Wrench) - Method in class maspack.spatialmotion.Wrench
Adds wrench wr1 to wr2 and places the result in this wrench.
add(Wrench) - Method in class maspack.spatialmotion.Wrench
Adds this wrench to wr1 and places the result in this wrench.
angle - Variable in class maspack.matrix.AxisAngle
Angle of rotation about the axis, in radians.
angle(Vector2d) - Method in class maspack.matrix.Vector2d
Returns the angle between this vector and v1.
angle(Vector3d) - Method in class maspack.matrix.Vector3d
Returns the angle between this vector and v1.
angle(Vector4d) - Method in class maspack.matrix.Vector4d
Returns the angle between this vector and v1.
angle(VectorNd) - Method in class maspack.matrix.VectorNd
Returns the angle between this vector and v1.
applyScaling(double, double, double) - Method in class maspack.matrix.AffineTransform3d
Scales the columns of A by the specified amounts.
axis - Variable in class maspack.matrix.AxisAngle
Rotation axis.

B

bodyIndex1 - Variable in class maspack.contact.Contact
Index identifier for first rigid body.
bodyIndex2 - Variable in class maspack.contact.Contact
Index identifier for second rigid body.

C

CYCLING_DETECTED - Static variable in interface maspack.contact.ContactSolver
Return code indicating that the solver was unable to find a contact solution because Lemke's algorithm started to cycle.
CholeskyDecomposition - class maspack.matrix.CholeskyDecomposition.
Constructs the Cholesky decomposition of a symmetric positive definite matrix.
CholeskyDecomposition() - Constructor for class maspack.matrix.CholeskyDecomposition
Creates an uninitialized CholeskyDecomposition.
CholeskyDecomposition(int) - Constructor for class maspack.matrix.CholeskyDecomposition
Creates an uninitialized CholeskyDecomposition with enough capacity to handle matrices of size n.
CholeskyDecomposition(MatrixObject) - Constructor for class maspack.matrix.CholeskyDecomposition
Creates a CholeskyDecomposition for the MatrixObject specified by M.
Contact - class maspack.contact.Contact.
Provides information about an individual point of contact between two rigid bodies.
Contact() - Constructor for class maspack.contact.Contact
Creates a new contact object.
Contact(int, int, Point3d, Vector3d, double, double) - Constructor for class maspack.contact.Contact
Creates a new contact object with specific values.
Contact(Contact) - Constructor for class maspack.contact.Contact
Creates a new contact object that is a copy of an existing one.
ContactSolver - interface maspack.contact.ContactSolver.
Functional interface for a multi-point contact solver.
checkExceptions(Exception, Exception) - Static method in class maspack.util.TestSupport
Checks to see if an actual exception equals an expected exception.
clear() - Method in class maspack.matrix.SubMatrixNd
 
colSize() - Method in class maspack.matrix.AffineTransform2dObject
Returns the number of columns in this matrix (which is always 3).
colSize() - Method in class maspack.matrix.AffineTransform3dObject
Returns the number of columns in this matrix (which is always 4).
colSize() - Method in class maspack.matrix.Matrix2dObject
Returns the number of columns in this matrix (which is always 2).
colSize() - Method in class maspack.matrix.Matrix3dObject
Returns the number of columns in this matrix (which is always 3).
colSize() - Method in class maspack.matrix.Matrix4dObject
Returns the number of columns in this matrix (which is always 4).
colSize() - Method in class maspack.matrix.MatrixNd
Returns the number of columns in this matrix.
colSize() - Method in class maspack.matrix.MatrixObject
Returns the number of columns in this matrix.
colSize() - Method in class maspack.spatialmotion.SpatialInertia
Returns the number of columns in this matrix (which is always 6).
combine(double, Quaternion, double, Quaternion) - Method in class maspack.matrix.Quaternion
Computes r1 q1 + r2 q2 and places the result in this quaternion.
combine(double, Vector2d, double, Vector2d) - Method in class maspack.matrix.Vector2d
Computes s1 v1 + s2 v2 and places the result in this vector.
combine(double, Vector3d, double, Vector3d) - Method in class maspack.matrix.Vector3d
Computes s1 v1 + s2 v2 and places the result in this vector.
combine(double, Vector4d, double, Vector4d) - Method in class maspack.matrix.Vector4d
Computes s1 v1 + s2 v2 and places the result in this vector.
combine(double, VectorNd, double, VectorNd) - Method in class maspack.matrix.VectorNd
Computes s1 v1 + s2 v2 and places the result in this vector.
combine(double, Twist, double, Twist) - Method in class maspack.spatialmotion.Twist
Computes s1 tw1 + s2 tw2 and places the result in this twist.
combine(double, Wrench, double, Wrench) - Method in class maspack.spatialmotion.Wrench
Computes s1 wr1 + s2 wr2 and places the result in this wrench.
condition() - Method in class maspack.matrix.SVDecomposition
Computes the condition number of the original matrix M associated with this SVD.
conditionEstimate(MatrixObject) - Method in class maspack.matrix.CholeskyDecomposition
Estimates the condition number of the original matrix M associated with this decomposition.
conditionEstimate(MatrixObject) - Method in class maspack.matrix.LUDecomposition
Estimates the condition number of the original matrix M associated with this decomposition.
conjugate(Quaternion) - Method in class maspack.matrix.Quaternion
Sets this quaternion to the conjugate of q1.
conjugate() - Method in class maspack.matrix.Quaternion
Conjugates this quaternion in place.
copySubMatrix(int, int, int, int, MatrixNd, int, int) - Method in class maspack.matrix.MatrixNd
Copies a sub matrix from a specified source matrix Msrc to a region of this matrix.
coriolisForce(Wrench, Twist) - Method in class maspack.spatialmotion.SpatialInertia
Computes the coriolis forces induced by a given velocity acting on this spatial inertia.
cross(Vector2d, Vector2d) - Method in class maspack.matrix.Vector2d
Computes the cross product of v1 and v2.
cross(Vector2d) - Method in class maspack.matrix.Vector2d
Computes the cross product of this vector and v1.
cross(Vector3d, Vector3d) - Method in class maspack.matrix.Vector3d
Computes the cross product of v1 and v2 and places the result in this vector.
cross(Vector3d) - Method in class maspack.matrix.Vector3d
Computes the cross product of this vector and v1, and places the result in this vector.
crossAdd(Vector3d, Vector3d, Vector3d) - Method in class maspack.matrix.Vector3d
Computes the cross product of v1 and v2, adds this to v3, and places the result in this vector.

D

DEFAULT_MAX_ITERATIONS - Static variable in class maspack.matrix.SVDecomposition
The default maximum iteration count for computing the SVD.
determinant() - Method in class maspack.matrix.CholeskyDecomposition
Compute the determinant of the original matrix M associated with this decomposition.
determinant() - Method in class maspack.matrix.LUDecomposition
Compute the determinant of the original matrix M associated with this decomposition.
determinant() - Method in class maspack.matrix.Matrix2dObject
Returns the determinant of this matrix
determinant() - Method in class maspack.matrix.Matrix3dObject
Returns the determinant of this matrix
determinant() - Method in class maspack.matrix.Matrix4dObject
Returns the determinant of this matrix
determinant() - Method in class maspack.matrix.MatrixObject
Returns the determinant of this matrix, which must be square
determinant() - Method in class maspack.matrix.SVDecomposition
Computes the determinant of the original matrix M associated with this SVD.
disableParseNumbers(StreamTokenizer) - Static method in class maspack.util.ScanSupport
 
dist - Variable in class maspack.contact.Contact
Contact distance.
distance(Quaternion) - Method in class maspack.matrix.Quaternion
Returns the Euclidean distance between this quaternion and quaternion q.
distance(Vector2d) - Method in class maspack.matrix.Vector2d
Returns the Euclidean distance between this vector and vector v.
distance(Vector3d) - Method in class maspack.matrix.Vector3d
Returns the Euclidean distance between this vector and vector v.
distance(Vector4d) - Method in class maspack.matrix.Vector4d
Returns the Euclidean distance between this vector and vector v.
distanceSquared(Quaternion) - Method in class maspack.matrix.Quaternion
Returns the squared of the Euclidean distance between this quaternion and quaternion q.
distanceSquared(Vector2d) - Method in class maspack.matrix.Vector2d
Returns the squared of the Euclidean distance between this vector and vector v.
distanceSquared(Vector3d) - Method in class maspack.matrix.Vector3d
Returns the squared of the Euclidean distance between this vector and vector v.
distanceSquared(Vector4d) - Method in class maspack.matrix.Vector4d
Returns the squared of the Euclidean distance between this vector and vector v.
dot(Quaternion) - Method in class maspack.matrix.Quaternion
Returns the dot product of this quaternion and q1.
dot(Vector2d) - Method in class maspack.matrix.Vector2d
Returns the dot product of this vector and v1.
dot(Vector3d) - Method in class maspack.matrix.Vector3d
Returns the dot product of this vector and v1.
dot(Vector4d) - Method in class maspack.matrix.Vector4d
Returns the dot product of this vector and v1.
dot(VectorNd) - Method in class maspack.matrix.VectorNd
Returns the dot product of this vector and v1.
dot(VectorObject) - Method in class maspack.matrix.VectorObject
Returns the dot product of this vector and v1.
dot(SpatialVector) - Method in class maspack.spatialmotion.SpatialVector
Returns the dot product of this spatial vector and the spatial vector v1.

E

epsilonEquals(AffineTransform2dObject, double) - Method in class maspack.matrix.AffineTransform2dObject
Returns true if the elements of this transformation equal those of transform X1within a prescribed tolerance epsilon.
epsilonEquals(AffineTransform3dObject, double) - Method in class maspack.matrix.AffineTransform3dObject
Returns true if the elements of this transformation equal those of transform X1within a prescribed tolerance epsilon.
epsilonEquals(Matrix2dObject, double) - Method in class maspack.matrix.Matrix2dObject
Returns true if the elements of this matrix equal those of matrix M1within a prescribed tolerance epsilon.
epsilonEquals(Matrix3dObject, double) - Method in class maspack.matrix.Matrix3dObject
Returns true if the elements of this matrix equal those of matrix M1within a prescribed tolerance epsilon.
epsilonEquals(Matrix4dObject, double) - Method in class maspack.matrix.Matrix4dObject
Returns true if the elements of this matrix equal those of matrix M1within a prescribed tolerance epsilon.
epsilonEquals(MatrixNd, double) - Method in class maspack.matrix.MatrixNd
Returns true if the elements of this matrix equal those of matrix M1within a prescribed tolerance epsilon.
epsilonEquals(MatrixObject, double) - Method in class maspack.matrix.MatrixObject
Returns true if the elements of this matrix equal those of matrix M1within a prescribed tolerance epsilon.
epsilonEquals(Quaternion, double) - Method in class maspack.matrix.Quaternion
Returns true if the elements of this quaternion equal those of quaternion q1within a prescribed tolerance epsilon.
epsilonEquals(Vector2d, double) - Method in class maspack.matrix.Vector2d
Returns true if the elements of this vector equal those of vector v1within a prescribed tolerance epsilon.
epsilonEquals(Vector3d, double) - Method in class maspack.matrix.Vector3d
Returns true if the elements of this vector equal those of vector v1within a prescribed tolerance epsilon.
epsilonEquals(Vector4d, double) - Method in class maspack.matrix.Vector4d
Returns true if the elements of this vector equal those of vector v1within a prescribed tolerance epsilon.
epsilonEquals(VectorNd, double) - Method in class maspack.matrix.VectorNd
Returns true if the elements of this vector equal those of vector v1within a prescribed tolerance epsilon.
epsilonEquals(VectorObject, double) - Method in class maspack.matrix.VectorObject
Returns true if the elements of this vector equal those of vector v1within a prescribed tolerance epsilon.
epsilonEquals(SpatialVector, double) - Method in class maspack.spatialmotion.SpatialVector
Returns true if the elements of this spatial vector equal those of vector v1within a prescribed tolerance epsilon.
epsilonEquals(double[], double[], double) - Static method in class maspack.util.TestSupport
Returns true if the double arrys a1 and a2 are equal within a presecribed tolerance, or if they are both null.
equals(AffineTransform2dObject) - Method in class maspack.matrix.AffineTransform2dObject
Returns true if the elements of this transformation exactly equal those of transform X1.
equals(AffineTransform3dObject) - Method in class maspack.matrix.AffineTransform3dObject
Returns true if the elements of this transformation exactly equal those of transform X1.
equals(Matrix2dObject) - Method in class maspack.matrix.Matrix2dObject
Returns true if the elements of this matrix exactly equal those of matrix M1.
equals(Matrix3dObject) - Method in class maspack.matrix.Matrix3dObject
Returns true if the elements of this matrix exactly equal those of matrix M1.
equals(Matrix4dObject) - Method in class maspack.matrix.Matrix4dObject
Returns true if the elements of this matrix exactly equal those of matrix M1.
equals(MatrixNd) - Method in class maspack.matrix.MatrixNd
Returns true if the elements of this matrix exactly equal those of matrix M1.
equals(MatrixObject) - Method in class maspack.matrix.MatrixObject
Returns true if the elements of this matrix exactly equal those of matrix M1.
equals(Object) - Method in class maspack.matrix.MatrixObject
Returns true if this matrix and a specified object have the same class type and if all the elements are exactly equal.
equals(Quaternion) - Method in class maspack.matrix.Quaternion
Returns true if the elements of this quaternion exactly equal those of quaternion q1.
equals(Vector2d) - Method in class maspack.matrix.Vector2d
Returns true if the elements of this vector exactly equal those of vector v1.
equals(Vector3d) - Method in class maspack.matrix.Vector3d
Returns true if the elements of this vector exactly equal those of vector v1.
equals(Vector4d) - Method in class maspack.matrix.Vector4d
Returns true if the elements of this vector exactly equal those of vector v1.
equals(VectorNd) - Method in class maspack.matrix.VectorNd
Returns true if the elements of this vector exactly equal those of vector v1.
equals(VectorObject) - Method in class maspack.matrix.VectorObject
Returns true if the elements of this vector exactly equal those of vector v1.
equals(Object) - Method in class maspack.matrix.VectorObject
Returns true if this vector and a specified object have the same class type and if all the elements are exactly equal.
equals(SpatialVector) - Method in class maspack.spatialmotion.SpatialVector
Returns true if the elements of this spatial vector exactly equal those of vector v1.
equals(boolean[], boolean[]) - Static method in class maspack.util.TestSupport
Returns true if the boolean arrys a1 and a2 are equal, or if they are both null.
equals(int[], int[]) - Static method in class maspack.util.TestSupport
Returns true if the integer arrys a1 and a2 are equal, or if they are both null.
equals(double[], double[]) - Static method in class maspack.util.TestSupport
Returns true if the double arrys a1 and a2 are equal, or if they are both null.
equals(String, String) - Static method in class maspack.util.TestSupport
Returns true if the Strings s1 and s2 are equal, or if they are both null.
equals(Exception, Exception) - Static method in class maspack.util.TestSupport
Returns true if two exceptions have the same class type and error message, or if they are both null.
equals(Collection, Collection) - Static method in class maspack.util.TestSupport
Returns true if the contents of two collections are the same, or if they are both null.
exceptionName(Exception) - Static method in class maspack.util.TestSupport
Returns a string giving the class name and message for a particular exception.

F

FastContactSolver - class maspack.contact.FastContactSolver.
 
FastContactSolver() - Constructor for class maspack.contact.FastContactSolver
Creates a new fast contact solver.
FunctionTimer - class maspack.util.FunctionTimer.
 
FunctionTimer() - Constructor for class maspack.util.FunctionTimer
 
f - Variable in class maspack.spatialmotion.Wrench
Translational force
finalize() - Method in class maspack.matrix.SubMatrixNd
 
format(double) - Method in class maspack.util.NumberFormat
Formats a double into a string.
format(double, StringBuffer) - Method in class maspack.util.NumberFormat
Formats a double and appends it to the end of a StringBuffer.
format(int) - Method in class maspack.util.NumberFormat
Formats an int into a string.
format(int, StringBuffer) - Method in class maspack.util.NumberFormat
Formats an int and appends it to the end of a StringBuffer.
format(long) - Method in class maspack.util.NumberFormat
Formats a long into a string.
format(long, StringBuffer) - Method in class maspack.util.NumberFormat
Formats a long and appends it to the end of a StringBuffer.
frobeniusNorm() - Method in class maspack.matrix.Matrix2dObject
Returns the Frobenius norm of this matrix.
frobeniusNorm() - Method in class maspack.matrix.Matrix3dObject
Returns the Frobenius norm of this matrix.
frobeniusNorm() - Method in class maspack.matrix.Matrix4dObject
Returns the Frobenius norm of this matrix.
frobeniusNorm() - Method in class maspack.matrix.MatrixNd
Returns the Frobenius norm of this matrix.
frobeniusNorm() - Method in class maspack.matrix.MatrixObject
Returns the Frobenius norm of this matrix.

G

get(int, int) - Method in class maspack.matrix.AffineTransform2dObject
Gets a single element of this matrix.
get(double[]) - Method in class maspack.matrix.AffineTransform2dObject
Copies the elements of this matrix into an array of doubles. The elements are stored using row-major order, so that element (i,j) is stored at location i*colSize()+j.
get(int, int) - Method in class maspack.matrix.AffineTransform3dObject
Gets a single element of this matrix.
get(double[]) - Method in class maspack.matrix.AffineTransform3dObject
Copies the elements of this matrix into an array of doubles. The elements are stored using row-major order, so that element (i,j) is stored at location i*colSize()+j.
get(MatrixNd) - Method in class maspack.matrix.CholeskyDecomposition
Gets the lower-triangular matrix L associated with the Cholesky decomposition.
get(MatrixNd, MatrixNd, int[]) - Method in class maspack.matrix.LUDecomposition
Gets the matrices associated with the LU decomposition.
get(int, int) - Method in class maspack.matrix.Matrix2dObject
Gets a single element of this matrix.
get(double[]) - Method in class maspack.matrix.Matrix2dObject
Copies the elements of this matrix into an array of doubles. The elements are stored using row-major order, so that element (i,j) is stored at location i*colSize()+j.
get(int, int) - Method in class maspack.matrix.Matrix3dObject
Gets a single element of this matrix.
get(double[]) - Method in class maspack.matrix.Matrix3dObject
Copies the elements of this matrix into an array of doubles. The elements are stored using row-major order, so that element (i,j) is stored at location i*colSize()+j.
get(int, int) - Method in class maspack.matrix.Matrix4dObject
Gets a single element of this matrix.
get(double[]) - Method in class maspack.matrix.Matrix4dObject
Copies the elements of this matrix into an array of doubles. The elements are stored using row-major order, so that element (i,j) is stored at location i*colSize()+j.
get(int, int) - Method in class maspack.matrix.MatrixNd
Gets a single element of this matrix.
get(double[]) - Method in class maspack.matrix.MatrixNd
Copies the elements of this matrix into an array of doubles.
get(int, int) - Method in class maspack.matrix.MatrixObject
Gets a single element of this matrix.
get(double[]) - Method in class maspack.matrix.MatrixObject
Copies the elements of this matrix into an array of doubles.
get(double[][]) - Method in class maspack.matrix.MatrixObject
Copies the elements of this matrix into a 2-dimensional array of doubles.
get(int) - Method in class maspack.matrix.Quaternion
Gets a single element of this quaternion.
get(double[]) - Method in class maspack.matrix.Quaternion
Copies the elements of this quaternion into an array of doubles.
get() - Static method in class maspack.matrix.RandomGenerator
 
get(MatrixObject, VectorObject, MatrixObject) - Method in class maspack.matrix.SVDecomposition
Gets the matrices associated with the SVD.
get(int) - Method in class maspack.matrix.Vector2d
Gets a single element of this vector.
get(double[]) - Method in class maspack.matrix.Vector2d
Copies the elements of this vector into an array of doubles.
get(int) - Method in class maspack.matrix.Vector3d
Gets a single element of this vector.
get(double[]) - Method in class maspack.matrix.Vector3d
Copies the elements of this vector into an array of doubles.
get(int) - Method in class maspack.matrix.Vector4d
Gets a single element of this vector.
get(double[]) - Method in class maspack.matrix.Vector4d
Copies the elements of this vector into an array of doubles.
get(int) - Method in class maspack.matrix.VectorNd
Gets a single element of this vector.
get(double[]) - Method in class maspack.matrix.VectorNd
Copies the elements of this vector into an array of doubles.
get(int) - Method in class maspack.matrix.VectorObject
Gets a single element of this vector.
get(double[]) - Method in class maspack.matrix.VectorObject
Copies the elements of this vector into an array of doubles.
get(VectorObject) - Method in class maspack.matrix.VectorObject
Copies the elements of this vector into another vector object.
get(int, int) - Method in class maspack.spatialmotion.SpatialInertia
Gets a single element of this matrix.
get(int) - Method in class maspack.spatialmotion.SpatialVector
Gets a single element of this spatial vector.
get(double[]) - Method in class maspack.spatialmotion.SpatialVector
Copies the elements of this spatial vector into an array of doubles.
getActivityReportingEnabled() - Method in interface maspack.contact.ContactSolver
Experimental method.
getActivityReportingEnabled() - Method in class maspack.contact.FastContactSolver
Experimental method.
getActivityReportingEnabled() - Method in class maspack.contact.TradContactSolver
Experimental method.
getAngle() - Method in class maspack.matrix.RotationMatrix2d
 
getAxisAngle(AxisAngle) - Method in class maspack.matrix.RotationMatrix3d
Returns the axis-angle parameters corresponding to this rotation.
getAxisAngle(Vector3d) - Method in class maspack.matrix.RotationMatrix3d
Gets the rotation axis-angle representation for this rotation.
getBasisPresetEnabled() - Method in interface maspack.contact.ContactSolver
Experimental method.
getBasisPresetEnabled() - Method in class maspack.contact.FastContactSolver
Experimental method.
getBasisPresetEnabled() - Method in class maspack.contact.TradContactSolver
Experimental method.
getBasisString() - Method in interface maspack.contact.ContactSolver
Returns a string describing the basis associated with the most recently computed solution.
getBasisString() - Method in class maspack.contact.FastContactSolver
Returns a string describing the basis associated with the most recently computed solution.
getBasisString() - Method in class maspack.contact.TradContactSolver
Returns a string describing the basis associated with the most recently computed solution.
getBuffer() - Method in class maspack.matrix.MatrixNd
Returns the internal buffer used to store the elements in this matrix.
getBuffer() - Method in class maspack.matrix.VectorNd
Returns the internal buffer used to store the elements in this vector.
getBufferBase() - Method in class maspack.matrix.MatrixNd
Returns the internal buffer base index of this matrix, used for computing the index necessary to reference a particular element.
getBufferWidth() - Method in class maspack.matrix.MatrixNd
Returns the internal buffer width of this matrix, used for computing the index necessary to reference a particular element.
getCenterOfMass(Point3d) - Method in class maspack.spatialmotion.SpatialInertia
Gets the center of mass for this spatial inertia.
getCholesky(Matrix3d) - Method in class maspack.matrix.SymmetricMatrix3d
Computes the Cholesky decomposition of this matrix, which is assumed to be positive definite.
getColumn(int, double[]) - Method in class maspack.matrix.AffineTransform2dObject
Copies a column of this matrix into an array of doubles.
getColumn(int, double[]) - Method in class maspack.matrix.AffineTransform3dObject
Copies a column of this matrix into an array of doubles.
getColumn(int, double[]) - Method in class maspack.matrix.Matrix2dObject
Copies a column of this matrix into an array of doubles.
getColumn(int, Vector2d) - Method in class maspack.matrix.Matrix2dObject
Copies a column of this matrix into a 2-vector.
getColumn(int, double[]) - Method in class maspack.matrix.Matrix3dObject
Copies a column of this matrix into an array of doubles.
getColumn(int, Vector3d) - Method in class maspack.matrix.Matrix3dObject
Copies a column of this matrix into a 3-vector.
getColumn(int, double[]) - Method in class maspack.matrix.Matrix4dObject
Copies a column of this matrix into an array of doubles.
getColumn(int, Vector4d) - Method in class maspack.matrix.Matrix4dObject
Copies a column of this matrix into a 4-vector.
getColumn(int, double[]) - Method in class maspack.matrix.MatrixNd
Copies a column of this matrix into an array of doubles.
getColumn(int, VectorObject) - Method in class maspack.matrix.MatrixNd
Copies a column of this matrix into a VectorObject.
getColumn(int, double[]) - Method in class maspack.matrix.MatrixObject
Copies a column of this matrix into an array of doubles.
getColumn(int, VectorObject) - Method in class maspack.matrix.MatrixObject
Copies a column of this matrix into a VectorObject.
getCoriolisEnabled() - Method in interface maspack.contact.ContactSolver
Returns true if coriolis forces are included in second order motion calculations.
getCoriolisEnabled() - Method in class maspack.contact.FastContactSolver
Returns true if coriolis forces are included in second order motion calculations.
getCoriolisEnabled() - Method in class maspack.contact.TradContactSolver
Returns true if coriolis forces are included in second order motion calculations.
getCount() - Method in class maspack.util.FunctionTimer
 
getCurrentMsec() - Method in class maspack.util.FunctionTimer
 
getDouble(StreamTokenizer) - Static method in class maspack.util.ScanSupport
 
getEigenValues(double[]) - Method in class maspack.matrix.SymmetricMatrix3d
 
getEigenValues(Vector3d) - Method in class maspack.matrix.SymmetricMatrix3d
Quickly computes the eigenvalues of this symmetric matrix.
getEpsilon() - Method in interface maspack.contact.ContactSolver
Returns the numeric tolerance that was used for the most recent contact solution.
getEpsilon() - Method in class maspack.contact.FastContactSolver
getEpsilon() - Method in class maspack.contact.TradContactSolver
Returns the numeric tolerance that was used for the most recent contact solution.
getEuler(double[]) - Method in class maspack.matrix.RotationMatrix3d
Gets the Euler angles corresponding to this rotation.
getFieldWidth() - Method in class maspack.util.NumberFormat
Returns the field width associated with this format.
getFlags() - Method in class maspack.matrix.SVDecomposition
Gets the flags associated with SVD computation.
getFrictionEnabled() - Method in interface maspack.contact.ContactSolver
Returns true if friction computation is enabled for this solver.
getFrictionEnabled() - Method in class maspack.contact.FastContactSolver
Returns true if friction computation is enabled for this solver.
getFrictionEnabled() - Method in class maspack.contact.TradContactSolver
Returns true if friction computation is enabled for this solver.
getInverse(MatrixNd) - Method in class maspack.spatialmotion.SpatialInertia
Computes the inverse of this spatial inertia matrix.
getMass() - Method in class maspack.spatialmotion.SpatialInertia
Gets the mass for this spatial inertia.
getMatrix() - Method in class maspack.matrix.AffineTransform3dObject
Returns the matrix assiciated with this affine transform.
getMaxIterations() - Method in class maspack.matrix.SVDecomposition
Gets the maximum number of iterations allowed for SVD computations.
getMinimumSpeed() - Method in interface maspack.contact.ContactSolver
Experimental method.
getMinimumSpeed() - Method in class maspack.contact.FastContactSolver
Experimental method.
getMinimumSpeed() - Method in class maspack.contact.TradContactSolver
Experimental method.
getNumFrictionDirections() - Method in interface maspack.contact.ContactSolver
Sets the number of friction directions used by this solver.
getNumFrictionDirections() - Method in class maspack.contact.FastContactSolver
Sets the number of friction directions used by this solver.
getNumFrictionDirections() - Method in class maspack.contact.TradContactSolver
Sets the number of friction directions used by this solver.
getOffset() - Method in class maspack.matrix.AffineTransform3dObject
Returns the offset vector assiciated with this affine transform.
getPivotCount() - Method in interface maspack.contact.ContactSolver
Returns the number of pivots that the solver has performed.
getPivotCount() - Method in class maspack.contact.FastContactSolver
getPivotCount() - Method in class maspack.contact.TradContactSolver
Returns the number of pivots that the solver has performed. This count is cumulative across solution calls.
getPrecision() - Method in class maspack.util.NumberFormat
Returns the precision associated with this format.
getPrefix() - Method in class maspack.util.NumberFormat
Gets the prefix associated with this format.
getRestitutionEnabled() - Method in interface maspack.contact.ContactSolver
Returns true if restitution computation is enabled for this solver.
getRestitutionEnabled() - Method in class maspack.contact.FastContactSolver
Returns true if restitution computation is enabled for this solver.
getRestitutionEnabled() - Method in class maspack.contact.TradContactSolver
Returns true if restitution computation is enabled for this solver.
getRestitutionThreshold() - Method in interface maspack.contact.ContactSolver
Gets the restitution threshold for this solver.
getRestitutionThreshold() - Method in class maspack.contact.FastContactSolver
Gets the restitution threshold for this solver.
getRestitutionThreshold() - Method in class maspack.contact.TradContactSolver
Gets the restitution threshold for this solver.
getRotationalInertia(SymmetricMatrix3d) - Method in class maspack.spatialmotion.SpatialInertia
Gets the rotational interia for this spatial inertia.
getRow(int, double[]) - Method in class maspack.matrix.AffineTransform2dObject
Copies a row of this matrix into an array of doubles.
getRow(int, double[]) - Method in class maspack.matrix.AffineTransform3dObject
Copies a row of this matrix into an array of doubles.
getRow(int, double[]) - Method in class maspack.matrix.Matrix2dObject
Copies a row of this matrix into an array of doubles.
getRow(int, Vector2d) - Method in class maspack.matrix.Matrix2dObject
Copies a row of this matrix into a 2-vector.
getRow(int, double[]) - Method in class maspack.matrix.Matrix3dObject
Copies a row of this matrix into an array of doubles.
getRow(int, Vector3d) - Method in class maspack.matrix.Matrix3dObject
Copies a row of this matrix into a 3-vector.
getRow(int, double[]) - Method in class maspack.matrix.Matrix4dObject
Copies a row of this matrix into an array of doubles.
getRow(int, Vector4d) - Method in class maspack.matrix.Matrix4dObject
Copies a row of this matrix into a 4-vector.
getRow(int, double[]) - Method in class maspack.matrix.MatrixNd
Copies a row of this matrix into an array of doubles.
getRow(int, VectorObject) - Method in class maspack.matrix.MatrixNd
Copies a row of this matrix into a VectorObject.
getRow(int, double[]) - Method in class maspack.matrix.MatrixObject
Copies a row of this matrix into an array of doubles.
getRow(int, VectorObject) - Method in class maspack.matrix.MatrixObject
Copies a row of this matrix into a VectorObject.
getRpy(double[]) - Method in class maspack.matrix.RotationMatrix3d
Gets the roll-pitch-yaw angles corresponding to this rotation.
getSVD(Matrix3dObject, Vector3d, Matrix3dObject) - Method in class maspack.matrix.SymmetricMatrix3d
Quickly computes the singular value decomposition U S V' of this symmetric matrix.
getSolutionOrder() - Method in interface maspack.contact.ContactSolver
Returns the order used to compute contact solutions.
getSolutionOrder() - Method in class maspack.contact.FastContactSolver
Returns the order used to compute contact solutions.
getSolutionOrder() - Method in class maspack.contact.TradContactSolver
Returns the order used to compute contact solutions.
getStabilizingDistance() - Method in interface maspack.contact.ContactSolver
Returns the currently stabilizing distance.
getStabilizingDistance() - Method in class maspack.contact.FastContactSolver
Returns the currently stabilizing distance.
getStabilizingDistance() - Method in class maspack.contact.TradContactSolver
Returns the currently stabilizing distance.
getSubMatrix(int, int, MatrixNd) - Method in class maspack.matrix.MatrixNd
Gets a submatrix of this matrix.
getSubMatrix(int[], int[], MatrixNd) - Method in class maspack.matrix.MatrixNd
Gets a submatrix of this matrix.
getSuffix() - Method in class maspack.util.NumberFormat
Gets the suffix associated with this format.
getTimeUsec(int) - Method in class maspack.util.FunctionTimer
 
getVariableSize() - Method in class maspack.contact.FastContactSolver
Returns true if variable sizing is enabled for this solver.

H

hasNumber(StreamTokenizer) - Static method in class maspack.util.ScanSupport
 

I

ImproperSizeException - exception maspack.matrix.ImproperSizeException.
 
ImproperSizeException() - Constructor for class maspack.matrix.ImproperSizeException
 
ImproperSizeException(String) - Constructor for class maspack.matrix.ImproperSizeException
 
ImproperStateException - exception maspack.matrix.ImproperStateException.
 
ImproperStateException() - Constructor for class maspack.matrix.ImproperStateException
 
ImproperStateException(String) - Constructor for class maspack.matrix.ImproperStateException
 
InternalErrorException - exception maspack.util.InternalErrorException.
 
InternalErrorException(String) - Constructor for class maspack.util.InternalErrorException
 
infinityNorm() - Method in class maspack.matrix.Matrix2dObject
Returns the infinity norm of this matrix.
infinityNorm() - Method in class maspack.matrix.Matrix3dObject
Returns the infinity norm of this matrix.
infinityNorm() - Method in class maspack.matrix.Matrix4dObject
Returns the infinity norm of this matrix.
infinityNorm() - Method in class maspack.matrix.MatrixNd
Returns the infinity norm of this matrix.
infinityNorm() - Method in class maspack.matrix.MatrixObject
Returns the infinity norm of this matrix.
infinityNorm() - Method in class maspack.matrix.Quaternion
Returns the infinity norm of this quaternion.
infinityNorm() - Method in class maspack.matrix.Vector2d
Returns the infinity norm of this vector.
infinityNorm() - Method in class maspack.matrix.Vector3d
Returns the infinity norm of this vector.
infinityNorm() - Method in class maspack.matrix.Vector4d
Returns the infinity norm of this vector.
infinityNorm() - Method in class maspack.matrix.VectorNd
Returns the infinity norm of this vector.
infinityNorm() - Method in class maspack.matrix.VectorObject
Returns the infinity norm of this vector.
infinityNorm() - Method in class maspack.spatialmotion.SpatialVector
Returns the infinity norm of this spatial vector.
init(int) - Method in class maspack.util.FunctionTimer
 
interpolate(Quaternion, double, Quaternion) - Method in class maspack.matrix.Quaternion
Computes the interpolation (1-r) q1 + r q2 and places the result in this quaternion.
interpolate(double, Quaternion) - Method in class maspack.matrix.Quaternion
Computes the interpolation (1-r) this + r q1 and places the result in this quaternion.
interpolate(Vector2d, double, Vector2d) - Method in class maspack.matrix.Vector2d
Computes the interpolation (1-s) v1 + s v2 and places the result in this vector.
interpolate(double, Vector2d) - Method in class maspack.matrix.Vector2d
Computes the interpolation (1-s) this + s v1 and places the result in this vector.
interpolate(Vector3d, double, Vector3d) - Method in class maspack.matrix.Vector3d
Computes the interpolation (1-s) v1 + s v2 and places the result in this vector.
interpolate(double, Vector3d) - Method in class maspack.matrix.Vector3d
Computes the interpolation (1-s) this + s v1 and places the result in this vector.
interpolate(Vector4d, double, Vector4d) - Method in class maspack.matrix.Vector4d
Computes the interpolation (1-s) v1 + s v2 and places the result in this vector.
interpolate(double, Vector4d) - Method in class maspack.matrix.Vector4d
Computes the interpolation (1-s) this + s v1 and places the result in this vector.
interpolate(VectorNd, double, VectorNd) - Method in class maspack.matrix.VectorNd
Computes the interpolation (1-s) v1 + s v2 and places the result in this vector.
interpolate(double, VectorNd) - Method in class maspack.matrix.VectorNd
Computes the interpolation (1-s) this + s v1 and places the result in this vector.
interpolate(Twist, double, Twist) - Method in class maspack.spatialmotion.Twist
Computes the interpolation (1-s) tw1 + s tw2 and places the result in this twist.
interpolate(double, Twist) - Method in class maspack.spatialmotion.Twist
Computes the interpolation (1-s) this + s tw1 and places the result in this twist.
interpolate(Wrench, double, Wrench) - Method in class maspack.spatialmotion.Wrench
Computes the interpolation (1-s) wr1 + s wr2 and places the result in this wrench.
interpolate(double, Wrench) - Method in class maspack.spatialmotion.Wrench
Computes the interpolation (1-s) this + s wr1 and places the result in this wrench.
inverse(MatrixObject) - Method in class maspack.matrix.CholeskyDecomposition
Computes the inverse of the original matrix M associated with this decomposition, and places the result in R.
inverse(MatrixObject) - Method in class maspack.matrix.LUDecomposition
Computes the inverse of the original matrix M associated with this decomposition, and places the result in R.
inverse(MatrixNd) - Method in class maspack.matrix.SVDecomposition
Computes the inverse of the original matrix M associated this SVD, and places the result in R.
inverseTransform(AffineTransform2dObject) - Method in class maspack.matrix.Point2d
Applies an inverse affine transformation to this point, in place.
inverseTransform(AffineTransform2dObject, Vector2d) - Method in class maspack.matrix.Point2d
Applies an inverse affine transformation to the point p1, and places the result in this vector.
inverseTransform(AffineTransform3dObject) - Method in class maspack.matrix.Point3d
Applies an inverse affine transformation to this point, in place.
inverseTransform(AffineTransform3dObject, Vector3d) - Method in class maspack.matrix.Point3d
Applies an inverse affine transformation to the point p1, and places the result in this vector.
inverseTransform(Vector2d, Vector2d) - Method in class maspack.matrix.RotationMatrix2d
 
inverseTransform(Vector2d) - Method in class maspack.matrix.RotationMatrix2d
 
inverseTransform(RotationMatrix2d) - Method in class maspack.matrix.Vector2d
Applies an inverse rotational transformation to this vector, in place.
inverseTransform(RotationMatrix2d, Vector2d) - Method in class maspack.matrix.Vector2d
Applies an inverse rotational transformation to the vector v1, and stores the result in this vector.
inverseTransform(AffineTransform2dObject) - Method in class maspack.matrix.Vector2d
Applies an inverse affine transformation to this vector, in place.
inverseTransform(AffineTransform2dObject, Vector2d) - Method in class maspack.matrix.Vector2d
Applies an inverse affine transformation to the vector v1, and places the result in this vector.
inverseTransform(RotationMatrix3d) - Method in class maspack.matrix.Vector3d
Applies an inverse rotational transformation to this vector, in place.
inverseTransform(RotationMatrix3d, Vector3d) - Method in class maspack.matrix.Vector3d
Applies an inverse rotational transformation to the vector v1, and stores the result in this vector.
inverseTransform(AffineTransform3dObject) - Method in class maspack.matrix.Vector3d
Applies an inverse affine transformation to this vector, in place.
inverseTransform(AffineTransform3dObject, Vector3d) - Method in class maspack.matrix.Vector3d
Applies an inverse affine transformation to the vector v1, and places the result in this vector.
inverseTransform(RigidTransform3d) - Method in class maspack.spatialmotion.SpatialInertia
Transforms this inertia into a new coordinate frame, given an inverse spatial transformation matrix.
inverseTransform(RotationMatrix3d) - Method in class maspack.spatialmotion.SpatialVector
Applies an inverse rotational transformation to this spatial vector, in place.
inverseTransform(RigidTransform3d) - Method in class maspack.spatialmotion.SpatialVector
Applies an inverse rigid spatial transformation to this vector, in place.
inverseTransform(RotationMatrix3d, Twist) - Method in class maspack.spatialmotion.Twist
Applies an inverse rotational transformation to the twist tw1, and stores the result in this twist.
inverseTransform(RigidTransform3d, Twist) - Method in class maspack.spatialmotion.Twist
Applies an inverse rigid spatial transformation to the twist tw1, and places the result in this twist.
inverseTransform(RotationMatrix3d, Wrench) - Method in class maspack.spatialmotion.Wrench
Applies an inverse rotational transformation to the wrench wr1, and stores the result in this wrench.
inverseTransform(RigidTransform3d, Wrench) - Method in class maspack.spatialmotion.Wrench
Applies an inverse rigid spatial transformation to the wrench wr1, and places the result in this wrench.
invert() - Method in class maspack.matrix.AffineTransform2d
Inverts this transform in place.
invert(AffineTransform2dObject) - Method in class maspack.matrix.AffineTransform2d
Inverts transform X and places the result in this transform.
invert() - Method in class maspack.matrix.AffineTransform2dObject
Inverts this transform in place.
invert() - Method in class maspack.matrix.AffineTransform3d
Inverts this transform in place.
invert(AffineTransform3dObject) - Method in class maspack.matrix.AffineTransform3d
Inverts transform X and places the result in this transform.
invert() - Method in class maspack.matrix.AffineTransform3dObject
Inverts this transform in place.
invert() - Method in class maspack.matrix.Matrix2d
Inverts this matrix in place, returning false if the matrix is detected to be singular.
invert(Matrix2dObject) - Method in class maspack.matrix.Matrix2d
Inverts the matrix M and places the result in this matrix, return false if M is detected to be singular.
invert() - Method in class maspack.matrix.Matrix2dObject
Inverts this matrix in place, returning false if the matrix is detected to be singular.
invert() - Method in class maspack.matrix.Matrix3d
Inverts this matrix in place, returning false if the matrix is detected to be singular. The inverse is computed using an unrolled LU decomposition with partial pivoting.
invert(Matrix3dObject) - Method in class maspack.matrix.Matrix3d
Inverts the matrix M and places the result in this matrix, return false if M is detected to be singular. The inverse is computed using an unrolled LU decomposition with partial pivoting.
invert() - Method in class maspack.matrix.Matrix3dObject
Inverts this matrix in place, returning false if the matrix is detected to be singular.
invert(Matrix4dObject) - Method in class maspack.matrix.Matrix4d
Inverts the matrix M and places the result in this matrix, return false if M is detected to be singular. The inverse is computed using an LU decomposition with partial pivoting.
invert() - Method in class maspack.matrix.Matrix4dObject
Inverts this matrix in place, returning false if the matrix is detected to be singular.
invert() - Method in class maspack.matrix.MatrixNd
Inverts this matrix in place, returning false if the matrix is detected to be singular.
invert(MatrixNd) - Method in class maspack.matrix.MatrixNd
Inverts the matrix M1 and places the result in this matrix, returning false if the matrix is detected to be singular.
invert(Quaternion) - Method in class maspack.matrix.Quaternion
Sets this quaternion to the inverse of q1.
invert() - Method in class maspack.matrix.Quaternion
Inverts this quaternion in place.
invert() - Method in class maspack.matrix.RigidTransform2d
Inverts this transform in place.
invert(RigidTransform2d) - Method in class maspack.matrix.RigidTransform2d
Inverts transform X and places the result in this transform.
invert() - Method in class maspack.matrix.RigidTransform3d
Inverts this transform in place.
invert(RigidTransform3d) - Method in class maspack.matrix.RigidTransform3d
Inverts transform X and places the result in this transform.
invert() - Method in class maspack.matrix.RotationMatrix2d
 
invert(RotationMatrix2d) - Method in class maspack.matrix.RotationMatrix2d
 
invert() - Method in class maspack.matrix.RotationMatrix3d
Inverts this rotation in place.
invert(RotationMatrix3d) - Method in class maspack.matrix.RotationMatrix3d
Inverts rotation R1 and places the result in this rotation.
isContravariant() - Method in class maspack.spatialmotion.SpatialVector
Returns true if this spatial vector is contravariant.
isFixedSize() - Method in class maspack.matrix.MatrixNd
Returns true if this matrix is of fixed size.
isFixedSize() - Method in class maspack.matrix.MatrixObject
Returns true if this matrix is of fixed size.
isFixedSize() - Method in class maspack.matrix.VectorNd
Returns true if this vector is of fixed size.
isFixedSize() - Method in class maspack.matrix.VectorObject
Returns true if this vector is of fixed size.
isNumberToken(int) - Static method in class maspack.util.ScanSupport
 
isSubMatrix() - Method in class maspack.matrix.MatrixNd
Returns true if the this matrix is a submatrix; i.e., is a member of the subclass SubMatrixNd.
isSubMatrix() - Method in class maspack.matrix.SubMatrixNd
 

L

LUDecomposition - class maspack.matrix.LUDecomposition.
Constructs the LU decomposition of a square matrix.
LUDecomposition() - Constructor for class maspack.matrix.LUDecomposition
Creates an uninitialized LUDecomposition.
LUDecomposition(int) - Constructor for class maspack.matrix.LUDecomposition
Creates an uninitialized LUDecomposition with enough capacity to handle matrices of size n.
LUDecomposition(MatrixObject) - Constructor for class maspack.matrix.LUDecomposition
Creates an LUDecomposition for the MatrixObject specified by M.
LemkeSolverBase - class maspack.contact.LemkeSolverBase.
 
length() - Method in class maspack.matrix.Quaternion
Returns the 2 norm of this quaternion.
length() - Method in class maspack.matrix.Vector2d
Returns the 2 norm of this vector.
length() - Method in class maspack.matrix.Vector4d
Returns the 2 norm of this vector.
lengthSquared() - Method in class maspack.matrix.Quaternion
Returns the square of the 2 norm of this quaternion.
lengthSquared() - Method in class maspack.matrix.Vector2d
Returns the square of the 2 norm of this vector.
lengthSquared() - Method in class maspack.matrix.Vector4d
Returns the square of the 2 norm of this vector.

M

MASS_INERTIA_STRING - Static variable in class maspack.spatialmotion.SpatialInertia
Specifies a string representation of this spatial inertia consisting of a mass, a center of mass point, and a 3 x 3 rotational inertia matrix with respect to the center of mass.
MATRIX_3X4_STRING - Static variable in class maspack.matrix.RigidTransform3d
Specifies a string representation of this transformation as a 3 x 4 matrix (i.e., with the 4th row ommitted).
MATRIX_4X4_STRING - Static variable in class maspack.matrix.RigidTransform3d
Specifies a string representation of this transformation as a 4 x 4 matrix.
MATRIX_STRING - Static variable in class maspack.matrix.RotationMatrix3d
Specifies a string representation of this rotation as a 3 x 3 matrix.
MATRIX_STRING - Static variable in class maspack.spatialmotion.SpatialInertia
Specifies a string representation of this spatial inertia as a 6 x 6 matrix.
Matrix2d - class maspack.matrix.Matrix2d.
A general 3 x 3 matrix with the elements stored as explicit fields.
Matrix2d() - Constructor for class maspack.matrix.Matrix2d
Creates a matrix and initializes it to zero.
Matrix2d(double[]) - Constructor for class maspack.matrix.Matrix2d
Creates a matrix and initializes its elements from an array of values.
Matrix2d(Matrix2dObject) - Constructor for class maspack.matrix.Matrix2d
Creates a matrix and initializes its elements to those of the matrix M.
Matrix2dObject - class maspack.matrix.Matrix2dObject.
Base class for 2 x 2 matrices in which the elements are stored as explicit fields.
Matrix2dObject() - Constructor for class maspack.matrix.Matrix2dObject
 
Matrix3d - class maspack.matrix.Matrix3d.
A general 3 x 3 matrix with the elements stored as explicit fields.
Matrix3d() - Constructor for class maspack.matrix.Matrix3d
Creates a matrix and initializes it to zero.
Matrix3d(double[]) - Constructor for class maspack.matrix.Matrix3d
Creates a matrix and initializes its elements from an array of values.
Matrix3d(Matrix3dObject) - Constructor for class maspack.matrix.Matrix3d
Creates a matrix and initializes its elements to those of the matrix M.
Matrix3dObject - class maspack.matrix.Matrix3dObject.
Base class for 3 x 3 matrices in which the elements are stored as explicit fields.
Matrix3dObject() - Constructor for class maspack.matrix.Matrix3dObject
 
Matrix4d - class maspack.matrix.Matrix4d.
A general 4 x 4 matrix with the elements stored as explicit fields.
Matrix4d() - Constructor for class maspack.matrix.Matrix4d
Creates a matrix and initializes it to zero.
Matrix4d(double[]) - Constructor for class maspack.matrix.Matrix4d
Creates a matrix and initializes its elements from an array of values.
Matrix4d(MatrixObject) - Constructor for class maspack.matrix.Matrix4d
Creates a matrix and initializes its elements to those of the matrix M.
Matrix4dObject - class maspack.matrix.Matrix4dObject.
Base class for 4 x 4 matrices in which the elements are stored as explicit fields.
Matrix4dObject() - Constructor for class maspack.matrix.Matrix4dObject
 
MatrixNd - class maspack.matrix.MatrixNd.
Implements general m x n matrices, along with most the commonly used operations associated with such matrices.
MatrixNd(int, int) - Constructor for class maspack.matrix.MatrixNd
Creates a matrix of a specific size, and initializes its elements to 0.
MatrixNd(double[][]) - Constructor for class maspack.matrix.MatrixNd
Creates a matrix from a two dimensional array of doubles.
MatrixNd(int, int, double[]) - Constructor for class maspack.matrix.MatrixNd
Creates a matrix of specific size and initializes its elements from an array of values.
MatrixNd(MatrixObject) - Constructor for class maspack.matrix.MatrixNd
Creates a matrix whose size and elements are the same as an existing MatrixObject.
MatrixObject - class maspack.matrix.MatrixObject.
Base class for matrices.
MatrixObject() - Constructor for class maspack.matrix.MatrixObject
 
m - Variable in class maspack.spatialmotion.Wrench
Moment (rotational force)
m00 - Variable in class maspack.matrix.Matrix2dObject
Matrix element (0,0)
m00 - Variable in class maspack.matrix.Matrix3dObject
Matrix element (0,0)
m00 - Variable in class maspack.matrix.Matrix4dObject
Matrix element (0,0)
m01 - Variable in class maspack.matrix.Matrix2dObject
Matrix element (0,1)
m01 - Variable in class maspack.matrix.Matrix3dObject
Matrix element (0,1)
m01 - Variable in class maspack.matrix.Matrix4dObject
Matrix element (0,1)
m02 - Variable in class maspack.matrix.Matrix3dObject
Matrix element (0,2)
m02 - Variable in class maspack.matrix.Matrix4dObject
Matrix element (0,2)
m03 - Variable in class maspack.matrix.Matrix4dObject
Matrix element (0,3)
m10 - Variable in class maspack.matrix.Matrix2dObject
Matrix element (1,0)
m10 - Variable in class maspack.matrix.Matrix3dObject
Matrix element (1,0)
m10 - Variable in class maspack.matrix.Matrix4dObject
Matrix element (1,0)
m11 - Variable in class maspack.matrix.Matrix2dObject
Matrix element (1,1)
m11 - Variable in class maspack.matrix.Matrix3dObject
Matrix element (1,1)
m11 - Variable in class maspack.matrix.Matrix4dObject
Matrix element (1,1)
m12 - Variable in class maspack.matrix.Matrix3dObject
Matrix element (1,2)
m12 - Variable in class maspack.matrix.Matrix4dObject
Matrix element (1,2)
m13 - Variable in class maspack.matrix.Matrix4dObject
Matrix element (1,3)
m20 - Variable in class maspack.matrix.Matrix3dObject
Matrix element (2,0)
m20 - Variable in class maspack.matrix.Matrix4dObject
Matrix element (2,0)
m21 - Variable in class maspack.matrix.Matrix3dObject
Matrix element (2,1)
m21 - Variable in class maspack.matrix.Matrix4dObject
Matrix element (2,1)
m22 - Variable in class maspack.matrix.Matrix3dObject
Matrix element (2,2)
m22 - Variable in class maspack.matrix.Matrix4dObject
Matrix element (2,2)
m23 - Variable in class maspack.matrix.Matrix4dObject
Matrix element (2,3)
m30 - Variable in class maspack.matrix.Matrix4dObject
Matrix element (3,0)
m31 - Variable in class maspack.matrix.Matrix4dObject
Matrix element (3,1)
m32 - Variable in class maspack.matrix.Matrix4dObject
Matrix element (3,2)
m33 - Variable in class maspack.matrix.Matrix4dObject
Matrix element (3,3)
main(String[]) - Static method in class maspack.matrix.Matrix3d
 
main(String[]) - Static method in class maspack.matrix.MatrixNd
 
main(String[]) - Static method in class maspack.matrix.RigidTransform3d
 
main(String[]) - Static method in class maspack.matrix.RotationMatrix3d
 
maspack.contact - package maspack.contact
 
maspack.matrix - package maspack.matrix
 
maspack.spatialmotion - package maspack.spatialmotion
 
maspack.util - package maspack.util
 
maxAbsIndex() - Method in class maspack.matrix.Vector2d
Returns the index (0 or 1) of the element of v with the largest absolute value.
maxAbsIndex() - Method in class maspack.matrix.Vector3d
Returns the index (0, 1, or 2) of the element of this vector with the largest absolute value.
maxAbsIndex() - Method in class maspack.matrix.Vector4d
Returns the index (0, 1, 2, or 3) of the element of v with the largest absolute value.
maxElement() - Method in class maspack.matrix.MatrixNd
Returns the maximum element value of this matrix.
maxElement() - Method in class maspack.matrix.Vector2d
Returns the maximum element value of this vector.
maxElement() - Method in class maspack.matrix.Vector3d
Returns the maximum element value of this vector.
maxElement() - Method in class maspack.matrix.Vector4d
Returns the maximum element value of this vector.
maxElement() - Method in class maspack.matrix.VectorNd
Returns the maximum element value of this vector.
maxElement() - Method in class maspack.matrix.VectorObject
Returns the maximum element value.
maxElement() - Method in class maspack.spatialmotion.SpatialVector
Returns the maximum element value of this spatial vector.
minAbsIndex() - Method in class maspack.matrix.Vector2d
Returns the index (0 or 1) of the element of v with the smallest absolute value.
minAbsIndex() - Method in class maspack.matrix.Vector3d
Returns the index (0, 1, or 2) of the element of this vector with the smallest absolute value.
minAbsIndex() - Method in class maspack.matrix.Vector4d
Returns the index (0, 1, 2, or 3) of the element of v with the smallest absolute value.
minElement() - Method in class maspack.matrix.MatrixNd
Returns the minimum element value of this matrix.
minElement() - Method in class maspack.matrix.Vector2d
Returns the minimum element value of this vector.
minElement() - Method in class maspack.matrix.Vector3d
Returns the minimum element value of this vector.
minElement() - Method in class maspack.matrix.Vector4d
Returns the minimum element value of this vector.
minElement() - Method in class maspack.matrix.VectorNd
Returns the minimum element value of this vector.
minElement() - Method in class maspack.matrix.VectorObject
Returns the minimum element value.
minElement() - Method in class maspack.spatialmotion.SpatialVector
Returns the minimum element value of this spatial vector.
mu - Variable in class maspack.contact.Contact
Friction coefficient.
mul(AffineTransform2dObject) - Method in class maspack.matrix.AffineTransform2d
Multiplies this transformation transformation X and places the result in this transformation.
mul(AffineTransform2dObject, AffineTransform2dObject) - Method in class maspack.matrix.AffineTransform2d
Multiplies transformation X1 by transformation X2 and places the result in this transformation.
mul(Vector3d, Vector3d) - Method in class maspack.matrix.AffineTransform2dObject
Multiplies the column vector v1 by this transform and places the result in vr.
mul(Vector3d) - Method in class maspack.matrix.AffineTransform2dObject
Multiplies the column vector vr by this transform and places the result back in vr.
mul(AffineTransform3dObject) - Method in class maspack.matrix.AffineTransform3d
Multiplies this transformation transformation X and places the result in this transformation.
mul(AffineTransform3dObject, AffineTransform3dObject) - Method in class maspack.matrix.AffineTransform3d
Multiplies transformation X1 by transformation X2 and places the result in this transformation.
mul(Vector4d, Vector4d) - Method in class maspack.matrix.AffineTransform3dObject
Multiplies the column vector v1 by this transform and places the result in vr.
mul(Vector4d) - Method in class maspack.matrix.AffineTransform3dObject
Multiplies the column vector vr by this transform and places the result back in vr.
mul(Matrix2dObject) - Method in class maspack.matrix.Matrix2d
Multiplies this matrix by M1 and places the result in this matrix.
mul(Matrix2dObject, Matrix2dObject) - Method in class maspack.matrix.Matrix2d
Multiplies matrix M1 by M2 and places the result in this matrix.
mul(Vector2d, Vector2d) - Method in class maspack.matrix.Matrix2dObject
Multiplies this matrix by the column vector v1 and places the result in the vector vr.
mul(Vector2d) - Method in class maspack.matrix.Matrix2dObject
Multiplies this matrix by the column vector vr and places the result back into vr.
mul(Matrix3dObject) - Method in class maspack.matrix.Matrix3d
Multiplies this matrix by M1 and places the result in this matrix.
mul(Matrix3dObject, Matrix3dObject) - Method in class maspack.matrix.Matrix3d
Multiplies matrix M1 by M2 and places the result in this matrix.
mul(Vector3d, Vector3d) - Method in class maspack.matrix.Matrix3dObject
Multiplies this matrix by the column vector v1 and places the result in the vector vr.
mul(Vector3d) - Method in class maspack.matrix.Matrix3dObject
Multiplies this matrix by the column vector vr and places the result back into vr.
mul(Matrix4dObject) - Method in class maspack.matrix.Matrix4d
Multiplies this matrix by M1 and places the result in this matrix.
mul(Matrix4dObject, Matrix4dObject) - Method in class maspack.matrix.Matrix4d
Multiplies matrix M1 by M2 and places the result in this matrix.
mul(Vector4d, Vector4d) - Method in class maspack.matrix.Matrix4dObject
Multiplies this matrix by the column vector v1 and places the result in the vector vr.
mul(Vector4d) - Method in class maspack.matrix.Matrix4dObject
Multiplies this matrix by the column vector vr and places the result back into vr.
mul(MatrixNd) - Method in class maspack.matrix.MatrixNd
Multiplies this matrix by M1 and places the result in this matrix.
mul(MatrixNd, MatrixNd) - Method in class maspack.matrix.MatrixNd
Multiplies matrix M1 by M2 and places the result in this matrix.
mul(VectorNd, VectorNd) - Method in class maspack.matrix.MatrixNd
Multiplies this matrix by the column vector v1 and places the result in the vector vr.
mul(Quaternion) - Method in class maspack.matrix.Quaternion
Multiplies this quaternion by quaternion q1 and places the result in this quaternion.
mul(Quaternion, Quaternion) - Method in class maspack.matrix.Quaternion
Multiplies quaternion q1 by quaternion q2 and places the result in this quaternion.
mul(RigidTransform2d) - Method in class maspack.matrix.RigidTransform2d
Post-multiplies this transformation by another and places the result in this transformation.
mul(RigidTransform2d, RigidTransform2d) - Method in class maspack.matrix.RigidTransform2d
Multiplies transformation X1 by X2 and places the result in this transformation.
mul(RigidTransform3d) - Method in class maspack.matrix.RigidTransform3d
Post-multiplies this transformation by another and places the result in this transformation.
mul(RigidTransform3d, RigidTransform3d) - Method in class maspack.matrix.RigidTransform3d
Multiplies transformation X1 by X2 and places the result in this transformation.
mul(RotationMatrix2d) - Method in class maspack.matrix.RotationMatrix2d
 
mul(RotationMatrix2d, RotationMatrix2d) - Method in class maspack.matrix.RotationMatrix2d
 
mul(RotationMatrix3d) - Method in class maspack.matrix.RotationMatrix3d
Post-multiplies this rotation by another and places the result in this rotation.
mul(RotationMatrix3d, RotationMatrix3d) - Method in class maspack.matrix.RotationMatrix3d
Multiplies rotation R1 by R2 and places the result in this rotation.
mul(Matrix3d, Vector3d) - Method in class maspack.matrix.Vector3d
Multiplies matrix X by vector v1 and places the result in this vector.
mul(MatrixNd, VectorNd) - Method in class maspack.matrix.VectorNd
Multiplies matrix M by the vector b and places the result in this vector.
mul(Wrench, Twist) - Method in class maspack.spatialmotion.SpatialInertia
Multiplies a twist by this spatial inertia and places the result in a wrench.
mulAngle(double) - Method in class maspack.matrix.RotationMatrix2d
 
mulAxisAngle(double, double, double, double) - Method in class maspack.matrix.RigidTransform3d
Post-multiplies this transformation by an implicit second transformation consisting of a pure rotation, expressed as an axis-angle, and places the result in this transformation.
mulAxisAngle(AxisAngle) - Method in class maspack.matrix.RigidTransform3d
Post-multiplies this transformation by an implicit second transformation consisting of a pure rotation, expressed as an axis-angle, and places the result in this transformation.
mulAxisAngle(double, double, double, double) - Method in class maspack.matrix.RotationMatrix3d
Post-multiplies this rotation by an implicit second rotation expressed as an axis-angle, and places the result in this rotation.
mulAxisAngle(AxisAngle) - Method in class maspack.matrix.RotationMatrix3d
Post-multiplies this rotation by an implicit second rotation expressed as an axis-angle, and places the result in this rotation.
mulDiagonalLeft(VectorNd) - Method in class maspack.matrix.MatrixNd
Pre-multiplies, in place, this matrix by a diagonal matrix whose (diagonal) elements are specified by a vector.
mulDiagonalLeft(double[]) - Method in class maspack.matrix.MatrixNd
Pre-multiplies, in place, this matrix by a diagonal matrix whose (diagonal) elements are specified by the leading elements of an array of doubles.
mulDiagonalRight(VectorNd) - Method in class maspack.matrix.MatrixNd
Post-multiplies, in place, this matrix by a diagonal matrix whose (diagonal) elements are specified by a vector.
mulDiagonalRight(double[]) - Method in class maspack.matrix.MatrixNd
Post-multiplies, in place, this matrix by a diagonal matrix whose (diagonal) elements are specified by the leading elements of an array of doubles.
mulEuler(double, double, double) - Method in class maspack.matrix.RigidTransform3d
Post-multiplies this transformation by an implicit second transformation consisting of a pure rotation, expressed by Euler angles, and places the result in this transformation.
mulEuler(double, double, double) - Method in class maspack.matrix.RotationMatrix3d
Post-multiplies this rotation by an implicit second rotation described by Euler angles, and places the result in this rotation.
mulInverse(AffineTransform2dObject) - Method in class maspack.matrix.AffineTransform2d
Multiplies this transformation by the inverse of transformation X and places the result in this transformation.
mulInverse(Vector3d, Vector3d) - Method in class maspack.matrix.AffineTransform2dObject
Multiplies the column vector v1 by the inverse of this transform and places the result in vr.
mulInverse(Vector3d) - Method in class maspack.matrix.AffineTransform2dObject
Multiplies the column vector vr by the inverse of this transform and places the result back in vr.
mulInverse(AffineTransform3dObject) - Method in class maspack.matrix.AffineTransform3d
Multiplies this transformation by the inverse of transformation X and places the result in this transformation.
mulInverse(Vector4d, Vector4d) - Method in class maspack.matrix.AffineTransform3dObject
Multiplies the column vector v1 by the inverse of this transform and places the result in vr.
mulInverse(Vector4d) - Method in class maspack.matrix.AffineTransform3dObject
Multiplies the column vector vr by the inverse of this transform and places the result back in vr.
mulInverse(Matrix2dObject) - Method in class maspack.matrix.Matrix2d
Multiplies this matrix by the inverse of M1 and places the result in this matrix.
mulInverse(Vector2d, Vector2d) - Method in class maspack.matrix.Matrix2dObject
Multiplies the column vector v1 by the inverse of this matrix and places the result in vr.
mulInverse(Vector2d) - Method in class maspack.matrix.Matrix2dObject
Multiplies the column vector vr by the inverse of this matrix and places the result back in vr.
mulInverse(Matrix3dObject) - Method in class maspack.matrix.Matrix3d
Multiplies this matrix by the inverse of M1 and places the result in this matrix.
mulInverse(Vector3d, Vector3d) - Method in class maspack.matrix.Matrix3dObject
Multiplies the column vector v1 by the inverse of this matrix and places the result in vr.
mulInverse(Vector3d) - Method in class maspack.matrix.Matrix3dObject
Multiplies the column vector vr by the inverse of this matrix and places the result back in vr.
mulInverse(Matrix4dObject) - Method in class maspack.matrix.Matrix4d
Multiplies this matrix by the inverse of M1 and places the result in this matrix.
mulInverse(Vector4d, Vector4d) - Method in class maspack.matrix.Matrix4dObject
Multiplies the column vector v1 by the inverse of this matrix and places the result in vr.
mulInverse(Vector4d) - Method in class maspack.matrix.Matrix4dObject
Multiplies the column vector vr by the inverse of this matrix and places the result back in vr.
mulInverse(Quaternion) - Method in class maspack.matrix.Quaternion
Post-multiplies this quaternion by the inverse of quaternion q1 and places the result in this quaternion.
mulInverse(RigidTransform2d) - Method in class maspack.matrix.RigidTransform2d
Post-multiplies this transformation by the inverse of transformation X and places the result in this transformation.
mulInverse(Vector3d, Vector3d) - Method in class maspack.matrix.RigidTransform2d
Multiplies the column vector v1 by the inverse of this transform and places the result in vr.
mulInverse(RigidTransform3d) - Method in class maspack.matrix.RigidTransform3d
Post-multiplies this transformation by the inverse of transformation X and places the result in this transformation.
mulInverse(Vector4d, Vector4d) - Method in class maspack.matrix.RigidTransform3d
Multiplies the column vector v1 by the inverse of this transform and places the result in vr.
mulInverse(RotationMatrix2d) - Method in class maspack.matrix.RotationMatrix2d
 
mulInverse(Vector2d, Vector2d) - Method in class maspack.matrix.RotationMatrix2d
Multiplies the column vector v1 by the inverse of this matrix and places the result in vr.
mulInverse(Vector2d) - Method in class maspack.matrix.RotationMatrix2d
Multiplies the column vector vr by the inverse of this matrix and places the result back in vr.
mulInverse(RotationMatrix3d) - Method in class maspack.matrix.RotationMatrix3d
Post-multiplies this rotation by the inverse of rotation R1 and places the result in this rotation.
mulInverse(Vector3d, Vector3d) - Method in class maspack.matrix.RotationMatrix3d
Multiplies the column vector v1 by the inverse of this matrix and places the result in vr.
mulInverse(Vector3d) - Method in class maspack.matrix.RotationMatrix3d
Multiplies the column vector vr by the inverse of this matrix and places the result back in vr.
mulInverse(Twist, Wrench) - Method in class maspack.spatialmotion.SpatialInertia
Multiplies a wrench by the inverse of this spatial inertia and places the result in a twist.
mulInverseBoth(AffineTransform2dObject, AffineTransform2dObject) - Method in class maspack.matrix.AffineTransform2d
Multiplies the inverse of transformation X1 by the inverse of transformation X2 and places the result in this transformation.
mulInverseBoth(AffineTransform3dObject, AffineTransform3dObject) - Method in class maspack.matrix.AffineTransform3d
Multiplies the inverse of transformation X1 by the inverse of transformation X2 and places the result in this transformation.
mulInverseBoth(Matrix2dObject, Matrix2dObject) - Method in class maspack.matrix.Matrix2d
Multiplies the inverse of matrix M1 by the inverse of M2 and places the result in this matrix.
mulInverseBoth(Matrix3dObject, Matrix3dObject) - Method in class maspack.matrix.Matrix3d
Multiplies the inverse of matrix M1 by the inverse of M2 and places the result in this matrix.
mulInverseBoth(Matrix4dObject, Matrix4dObject) - Method in class maspack.matrix.Matrix4d
Multiplies the inverse of matrix M1 by the inverse of M2 and places the result in this matrix.
mulInverseBoth(Quaternion, Quaternion) - Method in class maspack.matrix.Quaternion
Multiplies the inverse of quaternion q1 by the inverse of quaternion q2 and places the result in this quaternion.
mulInverseBoth(RigidTransform2d, RigidTransform2d) - Method in class maspack.matrix.RigidTransform2d
Multiplies the inverse of transformation X1 by the inverse of transformation X2 and places the result in this transformation.
mulInverseBoth(RigidTransform3d, RigidTransform3d) - Method in class maspack.matrix.RigidTransform3d
Multiplies the inverse of transformation X1 by the inverse of transformation X2 and places the result in this transformation.
mulInverseBoth(RotationMatrix2d, RotationMatrix2d) - Method in class maspack.matrix.RotationMatrix2d
 
mulInverseBoth(RotationMatrix3d, RotationMatrix3d) - Method in class maspack.matrix.RotationMatrix3d
Multiplies the inverse of rotation R1 by the inverse of rotation R2 and places the result in this rotation.
mulInverseLeft(AffineTransform2dObject, AffineTransform2dObject) - Method in class maspack.matrix.AffineTransform2d
Multiplies the inverse of transformation X1 by transformation X2 and places the result in this transformation.
mulInverseLeft(AffineTransform3dObject, AffineTransform3dObject) - Method in class maspack.matrix.AffineTransform3d
Multiplies the inverse of transformation X1 by transformation X2 and places the result in this transformation.
mulInverseLeft(Matrix2dObject, Matrix2dObject) - Method in class maspack.matrix.Matrix2d
Multiplies the inverse of matrix M1 by M2 and places the result in this matrix.
mulInverseLeft(Matrix3dObject, Matrix3dObject) - Method in class maspack.matrix.Matrix3d
Multiplies the inverse of matrix M1 by M2 and places the result in this matrix.
mulInverseLeft(Matrix4dObject, Matrix4dObject) - Method in class maspack.matrix.Matrix4d
Multiplies the inverse of matrix M1 by M2 and places the result in this matrix.
mulInverseLeft(Quaternion, Quaternion) - Method in class maspack.matrix.Quaternion
Multiplies the inverse of quaternion q1 by quaternion q2 and places the result in this quaternion.
mulInverseLeft(RigidTransform2d, RigidTransform2d) - Method in class maspack.matrix.RigidTransform2d
Multiplies the inverse of transformation X1 by transformation X2 and places the result in this transformation.
mulInverseLeft(RigidTransform3d, RigidTransform3d) - Method in class maspack.matrix.RigidTransform3d
Multiplies the inverse of transformation X1 by transformation X2 and places the result in this transformation.
mulInverseLeft(RotationMatrix2d, RotationMatrix2d) - Method in class maspack.matrix.RotationMatrix2d
 
mulInverseLeft(RotationMatrix3d, RotationMatrix3d) - Method in class maspack.matrix.RotationMatrix3d
Multiplies the inverse of rotation R1 by rotation R2 and places the result in this rotation.
mulInverseRight(AffineTransform2dObject, AffineTransform2dObject) - Method in class maspack.matrix.AffineTransform2d
Multiplies transformation X1 by the inverse of transformation X2 and places the result in this transformation.
mulInverseRight(AffineTransform3dObject, AffineTransform3dObject) - Method in class maspack.matrix.AffineTransform3d
Multiplies transformation X1 by the inverse of transformation X2 and places the result in this transformation.
mulInverseRight(Matrix2dObject, Matrix2dObject) - Method in class maspack.matrix.Matrix2d
Multiplies matrix M1 by the inverse of M2 and places the result in this matrix.
mulInverseRight(Matrix3dObject, Matrix3dObject) - Method in class maspack.matrix.Matrix3d
Multiplies matrix M1 by the inverse of M2 and places the result in this matrix.
mulInverseRight(Matrix4dObject, Matrix4dObject) - Method in class maspack.matrix.Matrix4d
Multiplies matrix M1 by the inverse of M2 and places the result in this matrix.
mulInverseRight(Quaternion, Quaternion) - Method in class maspack.matrix.Quaternion
Multiplies quaternion q1 by the inverse of quaternion q2 and places the result in this quaternion.
mulInverseRight(RigidTransform2d, RigidTransform2d) - Method in class maspack.matrix.RigidTransform2d
Multiplies transformation X1 by the inverse of transformation X2 and places the result in this transformation.
mulInverseRight(RigidTransform3d, RigidTransform3d) - Method in class maspack.matrix.RigidTransform3d
Multiplies transformation X1 by the inverse of transformation X2 and places the result in this transformation.
mulInverseRight(RotationMatrix2d, RotationMatrix2d) - Method in class maspack.matrix.RotationMatrix2d
 
mulInverseRight(RotationMatrix3d, RotationMatrix3d) - Method in class maspack.matrix.RotationMatrix3d
Multiplies rotation R1 by the inverse of rotation R2 and places the result in this rotation.
mulInverseTranspose(Vector2d, Vector2d) - Method in class maspack.matrix.Matrix2dObject
Multiplies the column vector v1 by the inverse transpose of this matrix and places the result in vr.
mulInverseTranspose(Vector2d) - Method in class maspack.matrix.Matrix2dObject
Multiplies the column vector vr by the inverse transpose of this matrix and places the result back in vr.
mulInverseTranspose(Vector3d, Vector3d) - Method in class maspack.matrix.Matrix3dObject
Multiplies the column vector v1 by the inverse transpose of this matrix and places the result in vr.
mulInverseTranspose(Vector3d) - Method in class maspack.matrix.Matrix3dObject
Multiplies the column vector vr by the inverse transpose of this matrix and places the result back in vr.
mulInverseTranspose(Vector4d, Vector4d) - Method in class maspack.matrix.Matrix4dObject
Multiplies the column vector v1 by the inverse transpose of this matrix and places the result in vr.
mulInverseTranspose(Vector4d) - Method in class maspack.matrix.Matrix4dObject
Multiplies the column vector vr by the inverse transpose of this matrix and places the result back in vr.
mulInverseTranspose(Vector2d, Vector2d) - Method in class maspack.matrix.RotationMatrix2d
Multiplies the column vector v1 by the inverse transpose of this matrix and places the result in vr.
mulInverseTranspose(Vector2d) - Method in class maspack.matrix.RotationMatrix2d
Multiplies vector vr by the inverse transpose of this matrix, in place.
mulInverseTranspose(Vector3d, Vector3d) - Method in class maspack.matrix.RotationMatrix3d
Multiplies the column vector v1 by the inverse transpose of this matrix and places the result in vr.
mulInverseTranspose(Vector3d) - Method in class maspack.matrix.RotationMatrix3d
Multiplies vector vr by the inverse transpose of this matrix, in place.
mulLeftAndTransposeRight(Matrix3dObject) - Method in class maspack.matrix.SymmetricMatrix3d
Computes M T M', where T is this matrix, and M' is the transpose of M, and places the result in this matrix.
mulLeftFactor(Wrench, Wrench) - Method in class maspack.spatialmotion.SpatialInertia
Multiplies a wrench by the left Cholesky factor of this spatial inertia.
mulLeftFactorInverse(Wrench, Wrench) - Method in class maspack.spatialmotion.SpatialInertia
Multiplies a wrench by the inverse of the left Cholesky factor of this spatial inertia.
mulRightFactor(Twist, Twist) - Method in class maspack.spatialmotion.SpatialInertia
Multiplies a twist by the right Cholesky factor of this spatial inertia.
mulRightFactorInverse(Twist, Twist) - Method in class maspack.spatialmotion.SpatialInertia
Multiplies a twist by the inverse of the right Cholesky factor of this spatial inertia.
mulRotX(double) - Method in class maspack.matrix.RigidTransform3d
Post-multiplies this transformation by an implicit second transformation consisting of a pure rotation about the x axis, and places the result in this transformation.
mulRotX(double) - Method in class maspack.matrix.RotationMatrix3d
Post-multiplies this rotation by an implicit second rotation consisting of a rotation about the x axis, and places the result in this rotation.
mulRotY(double) - Method in class maspack.matrix.RigidTransform3d
Post-multiplies this transformation by an implicit second transformation consisting of a pure rotation about the y axis, and places the result in this transformation.
mulRotY(double) - Method in class maspack.matrix.RotationMatrix3d
Post-multiplies this rotation by an implicit second rotation consisting of a rotation about the y axis, and places the result in this rotation.
mulRotZ(double) - Method in class maspack.matrix.RigidTransform3d
Post-multiplies this transformation by an implicit second transformation consisting of a pure rotation about the z axis, and places the result in this transformation.
mulRotZ(double) - Method in class maspack.matrix.RotationMatrix3d
Post-multiplies this rotation by an implicit second rotation consisting of a rotation about the z axis, and places the result in this rotation.
mulRotation(RotationMatrix3d) - Method in class maspack.matrix.RigidTransform3d
Post-multiplies this transformation by an implicit second transformation consisting of a pure rotation, and places the result in this transformation.
mulRpy(double, double, double) - Method in class maspack.matrix.RigidTransform3d
Post-multiplies this transformation by an implicit second transformation consisting of a pure rotation, expressed by roll-pitch-yaw angles, and places the result in this transformation.
mulRpy(double, double, double) - Method in class maspack.matrix.RotationMatrix3d
Post-multiplies this rotation by an implicit second rotation expressed by roll-pitch-yaw angles, and places the result in this rotation.
mulTranspose(Matrix2dObject) - Method in class maspack.matrix.Matrix2d
Multiplies this matrix by the transpose of M1 and places the result in this matrix.
mulTranspose(Vector2d, Vector2d) - Method in class maspack.matrix.Matrix2dObject
Multiplies the transpose of this matrix by the vector v1 and places the result in vr.
mulTranspose(Vector2d) - Method in class maspack.matrix.Matrix2dObject
Multiplies the transpose of this matrix by the vector vr and places the result back in vr.
mulTranspose(Matrix3dObject) - Method in class maspack.matrix.Matrix3d
Multiplies this matrix by the transpose of M1 and places the result in this matrix.
mulTranspose(Vector3d, Vector3d) - Method in class maspack.matrix.Matrix3dObject
Multiplies the transpose of this matrix by the vector v1 and places the result in vr.
mulTranspose(Vector3d) - Method in class maspack.matrix.Matrix3dObject
Multiplies the transpose of this matrix by the vector vr and places the result back in vr.
mulTranspose(Matrix4dObject) - Method in class maspack.matrix.Matrix4d
Multiplies this matrix by the transpose of M1 and places the result in this matrix.
mulTranspose(Vector4d, Vector4d) - Method in class maspack.matrix.Matrix4dObject
Multiplies the transpose of this matrix by the vector v1 and places the result in vr.
mulTranspose(Vector4d) - Method in class maspack.matrix.Matrix4dObject
Multiplies the transpose of this matrix by the vector vr and places the result back in vr.
mulTranspose(MatrixNd) - Method in class maspack.matrix.MatrixNd
Multiplies this matrix by the transpose of M1 and places the result in this matrix.
mulTranspose(VectorNd, VectorNd) - Method in class maspack.matrix.MatrixNd
Multiplies the transpose of this matrix by the vector v1 and places the result in vr.
mulTranspose(Matrix3d, Vector3d) - Method in class maspack.matrix.Vector3d
Multiplies the transpose of matrix X by vector v1 and places the result in this vector.
mulTranspose(MatrixNd, VectorNd) - Method in class maspack.matrix.VectorNd
Multiplies the transpose of matrix M by the vector b and places the result in this vector.
mulTransposeBoth(Matrix2dObject, Matrix2dObject) - Method in class maspack.matrix.Matrix2d
Multiplies the transpose of matrix M1 by the transpose of M2 and places the result in this matrix.
mulTransposeBoth(Matrix3dObject, Matrix3dObject) - Method in class maspack.matrix.Matrix3d
Multiplies the transpose of matrix M1 by the transpose of M2 and places the result in this matrix.
mulTransposeBoth(Matrix4dObject, Matrix4dObject) - Method in class maspack.matrix.Matrix4d
Multiplies the transpose of matrix M1 by the transpose of M2 and places the result in this matrix.
mulTransposeBoth(MatrixNd, MatrixNd) - Method in class maspack.matrix.MatrixNd
Multiplies the transpose of matrix M1 by the transpose of M2 and places the result in this matrix.
mulTransposeLeft(Matrix2dObject, Matrix2dObject) - Method in class maspack.matrix.Matrix2d
Multiplies the transpose of matrix M1 by M2 and places the result in this matrix.
mulTransposeLeft(Matrix3dObject, Matrix3dObject) - Method in class maspack.matrix.Matrix3d
Multiplies the transpose of matrix M1 by M2 and places the result in this matrix.
mulTransposeLeft(Matrix4dObject, Matrix4dObject) - Method in class maspack.matrix.Matrix4d
Multiplies the transpose of matrix M1 by M2 and places the result in this matrix.
mulTransposeLeft(MatrixNd, MatrixNd) - Method in class maspack.matrix.MatrixNd
Multiplies the transpose of matrix M1 by M2 and places the result in this matrix.
mulTransposeLeft(Matrix3dObject) - Method in class maspack.matrix.SymmetricMatrix3d
Computes M' M, where M is a supplied matrix and M' is its transpose, and places the (symmetric) result in this matrix.
mulTransposeLeftAndRight(Matrix3dObject) - Method in class maspack.matrix.SymmetricMatrix3d
Computes M' T M, where T is this matrix, and M' is the transpose of M, and places the result in this matrix.
mulTransposeRight(Matrix2dObject, Matrix2dObject) - Method in class maspack.matrix.Matrix2d
Multiplies matrix M1 by the transpose of M2 and places the result in this matrix.
mulTransposeRight(Matrix3dObject, Matrix3dObject) - Method in class maspack.matrix.Matrix3d
Multiplies matrix M1 by the transpose of M2 and places the result in this matrix.
mulTransposeRight(Matrix4dObject, Matrix4dObject) - Method in class maspack.matrix.Matrix4d
Multiplies matrix M1 by the transpose of M2 and places the result in this matrix.
mulTransposeRight(MatrixNd, MatrixNd) - Method in class maspack.matrix.MatrixNd
Multiplies matrix M1 by the transpose of M2 and places the result in this matrix.
mulXyz(double, double, double) - Method in class maspack.matrix.RigidTransform3d
Post-multiplies this transformation by an implicit second transformation consisting of a pure translation, and places the result in this transformation.

N

NUMERIC_ERROR - Static variable in interface maspack.contact.ContactSolver
Return code indicating that the solver was unable to find a contact solution because Lemke's algorithm encountered a numeric error.
NumberFormat - class maspack.util.NumberFormat.
Object for formatting numbers in the same way similiar to the C printf function.
NumberFormat() - Constructor for class maspack.util.NumberFormat
Creates a new instance of PrintfFormat with the default format string %g.
NumberFormat(String) - Constructor for class maspack.util.NumberFormat
Creates a new instance of PrintfFormat from the supplied format string.
NumericalException - exception maspack.matrix.NumericalException.
 
NumericalException() - Constructor for class maspack.matrix.NumericalException
 
NumericalException(String) - Constructor for class maspack.matrix.NumericalException
 
negate(Matrix2dObject) - Method in class maspack.matrix.Matrix2d
Sets this matrix to the negative of M1.
negate() - Method in class maspack.matrix.Matrix2dObject
Negates this matrix in place.
negate(Matrix3dObject) - Method in class maspack.matrix.Matrix3d
Sets this matrix to the negative of M1.
negate() - Method in class maspack.matrix.Matrix3dObject
Negates this matrix in place.
negate(Matrix4dObject) - Method in class maspack.matrix.Matrix4d
Sets this matrix to the negative of M1.
negate() - Method in class maspack.matrix.Matrix4dObject
Negates this matrix in place.
negate(MatrixNd) - Method in class maspack.matrix.MatrixNd
Sets this matrix to the negative of M1.
negate() - Method in class maspack.matrix.MatrixNd
Negates this matrix in place.
negate(Quaternion) - Method in class maspack.matrix.Quaternion
Sets this quaternion to the negative of q1.
negate() - Method in class maspack.matrix.Quaternion
Negates this quaternion in place.
negate() - Method in class maspack.matrix.RotationMatrix3d
Negates this rotation in place.
negate(SymmetricMatrix3d) - Method in class maspack.matrix.SymmetricMatrix3d
Sets this matrix to the negative of M1.
negate(Vector2d) - Method in class maspack.matrix.Vector2d
Sets this vector to the negative of v1.
negate() - Method in class maspack.matrix.Vector2d
Negates this vector in place.
negate(Vector3d) - Method in class maspack.matrix.Vector3d
Sets this vector to the negative of v1.
negate() - Method in class maspack.matrix.Vector3d
Negates this vector in place.
negate(Vector4d) - Method in class maspack.matrix.Vector4d
Sets this vector to the negative of v1.
negate() - Method in class maspack.matrix.Vector4d
Negates this vector in place.
negate(VectorNd) - Method in class maspack.matrix.VectorNd
Sets this vector to the negative of v1.
negate() - Method in class maspack.matrix.VectorNd
Negates this vector in place.
negate() - Method in class maspack.spatialmotion.SpatialVector
Negates this spatial vector in place.
negate(Twist) - Method in class maspack.spatialmotion.Twist
Sets this twist to the negative of tw1.
negate(Wrench) - Method in class maspack.spatialmotion.Wrench
Sets this wrench to the negative of wr1.
norm() - Method in class maspack.matrix.SVDecomposition
Computes the 2-norm of the original matrix M associated with this SVD.
norm() - Method in class maspack.matrix.Vector3d
Returns the 2 norm of this vector.
norm() - Method in class maspack.matrix.VectorNd
Returns the 2 norm of this vector.
norm() - Method in class maspack.matrix.VectorObject
Returns the 2 norm of this vector.
norm() - Method in class maspack.spatialmotion.SpatialVector
Returns the 2 norm of this spatial vector.
normSquared() - Method in class maspack.matrix.Vector3d
Returns the square of the 2 norm of this vector.
normSquared() - Method in class maspack.matrix.VectorNd
Returns the square of the 2 norm of this vector.
normSquared() - Method in class maspack.matrix.VectorObject
Returns the square of the 2 norm of this vector.
normSquared() - Method in class maspack.spatialmotion.SpatialVector
Returns the square of the 2 norm of this spatial vector.
normalize() - Method in class maspack.matrix.Quaternion
Normalizes this quaternion in place.
normalize(Quaternion) - Method in class maspack.matrix.Quaternion
Computes a unit quaternion in the direction of q1 and places the result in this quaternion.
normalize() - Method in class maspack.matrix.RotationMatrix3d
Normalizes this rotation, so as to ensure that its its columns are orthonormal.
normalize() - Method in class maspack.matrix.Vector2d
Normalizes this vector in place.
normalize(Vector2d) - Method in class maspack.matrix.Vector2d
Computes a unit vector in the direction of v1 and places the result in this vector.
normalize() - Method in class maspack.matrix.Vector3d
Normalizes this vector in place.
normalize(Vector3d) - Method in class maspack.matrix.Vector3d
Computes a unit vector in the direction of v1 and places the result in this vector.
normalize() - Method in class maspack.matrix.Vector4d
Normalizes this vector in place.
normalize(Vector4d) - Method in class maspack.matrix.Vector4d
Computes a unit vector in the direction of v1 and places the result in this vector.
normalize() - Method in class maspack.matrix.VectorNd
Normalizes this vector in place.
normalize(VectorNd) - Method in class maspack.matrix.VectorNd
Computes a unit vector in the direction of v1 and places the result in this vector.
normalize() - Method in class maspack.spatialmotion.SpatialVector
Normalizes this spatial vector in place.
normalize(Twist) - Method in class maspack.spatialmotion.Twist
Computes a unit twist in the direction of tw1 and places the result in this twist.
normalize(Wrench) - Method in class maspack.spatialmotion.Wrench
Computes a unit wrench in the direction of wr1 and places the result in this wrench.
normalizedInterpolate(Quaternion, double, Quaternion) - Method in class maspack.matrix.Quaternion
Computes a normalized rotational interpolation between quaternions q1 and q2 and places the result in this quaternion.
normalizedInterpolate(double, Quaternion) - Method in class maspack.matrix.Quaternion
Computes a normalized rotational interpolation between this quaternion and q1 and places the result in this quaternion.
nrml - Variable in class maspack.contact.Contact
Contact normal, in the coordinate frame of the first rigid body.

O

OMIT_U - Static variable in class maspack.matrix.SVDecomposition
Specifies that the matrix U should not be computed.
OMIT_V - Static variable in class maspack.matrix.SVDecomposition
Specifies that the matrix V should not be computed.
oneNorm() - Method in class maspack.matrix.Matrix2dObject
Returns the 1 norm of this matrix.
oneNorm() - Method in class maspack.matrix.Matrix3dObject
Returns the 1 norm of this matrix.
oneNorm() - Method in class maspack.matrix.Matrix4dObject
Returns the 1 norm of this matrix.
oneNorm() - Method in class maspack.matrix.MatrixNd
Returns the 1 norm of this matrix.
oneNorm() - Method in class maspack.matrix.MatrixObject
Returns the 1 norm of this matrix.
oneNorm() - Method in class maspack.matrix.Quaternion
Returns the 1 norm of this quaternion.
oneNorm() - Method in class maspack.matrix.Vector2d
Returns the 1 norm of this vector.
oneNorm() - Method in class maspack.matrix.Vector3d
Returns the 1 norm of this vector.
oneNorm() - Method in class maspack.matrix.Vector4d
Returns the 1 norm of this vector.
oneNorm() - Method in class maspack.matrix.VectorNd
Returns the 1 norm of this vector.
oneNorm() - Method in class maspack.matrix.VectorObject
Returns the 1 norm of this vector.
oneNorm() - Method in class maspack.spatialmotion.SpatialVector
Returns the 1 norm of this spatial vector.

P

Point2d - class maspack.matrix.Point2d.
A 2D spatial point.
Point2d() - Constructor for class maspack.matrix.Point2d
Creates a Point2d and initializes it to zero.
Point2d(Vector2d) - Constructor for class maspack.matrix.Point2d
Creates a Point2d by copying a vector
Point2d(double, double) - Constructor for class maspack.matrix.Point2d
Creates a Point2d with the supplied element values.
Point3d - class maspack.matrix.Point3d.
A 3D spatial point.
Point3d() - Constructor for class maspack.matrix.Point3d
Creates a Point3d and initializes it to zero.
Point3d(Vector3d) - Constructor for class maspack.matrix.Point3d
Creates a Point3d by copying a vector
Point3d(double[]) - Constructor for class maspack.matrix.Point3d
Creates a Point3d with the supplied element values.
Point3d(double, double, double) - Constructor for class maspack.matrix.Point3d
Creates a Point3d with the supplied element values.
p - Variable in class maspack.matrix.AffineTransform2d
Vector component.
p - Variable in class maspack.matrix.AffineTransform3d
Vector component.
p - Variable in class maspack.matrix.RigidTransform2d
Translation vector associated with this transformation.
p - Variable in class maspack.matrix.RigidTransform3d
Translation vector associated with this transformation.
permuteColumns(int[]) - Method in class maspack.matrix.MatrixNd
Rearrange the columns of this matrix according to the specified permutation, such that each column j is replaced by column permutation[j].
permuteRows(int[]) - Method in class maspack.matrix.MatrixNd
Rearrange the rows of this matrix according to the specified permutation, such that each row i is replaced by row permutation[i].
perpendicular(Vector2d) - Method in class maspack.matrix.Vector2d
Sets this vector to one which is perpendicular to v1.
perpendicular(Vector3d) - Method in class maspack.matrix.Vector3d
Sets this vector to one which is perpendicular to v1.
pnt1 - Variable in class maspack.contact.Contact
Contact point, in the coordinate frame of the first rigid body.

Q

Quaternion - class maspack.matrix.Quaternion.
Implements a quaternion as a fixed-size 4 element vector.
Quaternion() - Constructor for class maspack.matrix.Quaternion
Creates a Quaternion and initializes its elements to 0.
Quaternion(Quaternion) - Constructor for class maspack.matrix.Quaternion
Creates a Quaternion by copying an existing one.
Quaternion(double, double, double, double) - Constructor for class maspack.matrix.Quaternion
Creates a Quaternion with the supplied element values.

R

R - Variable in class maspack.matrix.RigidTransform2d
Rotation matrix associated with this transformation.
R - Variable in class maspack.matrix.RigidTransform3d
Rotation matrix associated with this transformation.
RandomGenerator - class maspack.matrix.RandomGenerator.
 
RandomGenerator() - Constructor for class maspack.matrix.RandomGenerator
 
RigidTransform2d - class maspack.matrix.RigidTransform2d.
A specialized 3 x 3 matrix that implements a two-dimensional rigid body transformation in homogeneous coordinates.
RigidTransform2d() - Constructor for class maspack.matrix.RigidTransform2d
Creates a new transformation initialized to the identity.
RigidTransform2d(Vector2d, RotationMatrix2d) - Constructor for class maspack.matrix.RigidTransform2d
Creates a new transformation with the specified translation vector and rotation matrix.
RigidTransform2d(Vector2d, double) - Constructor for class maspack.matrix.RigidTransform2d
Creates a new transformation with the specified translation vector and rotation angle
RigidTransform2d(double, double, double) - Constructor for class maspack.matrix.RigidTransform2d
Creates a new transformation with the specified translation values and rotation angle
RigidTransform2d(RigidTransform2d) - Constructor for class maspack.matrix.RigidTransform2d
Creates a new transformation which is a copy of an existing one.
RigidTransform3d - class maspack.matrix.RigidTransform3d.
A specialized 4 x 4 matrix that implements a three-dimensional rigid body transformation in homogeneous coordinates.
RigidTransform3d() - Constructor for class maspack.matrix.RigidTransform3d
Creates a new transformation initialized to the identity.
RigidTransform3d(Vector3d, RotationMatrix3d) - Constructor for class maspack.matrix.RigidTransform3d
Creates a new transformation with the specified translation vector and rotation matrix.
RigidTransform3d(RigidTransform3d) - Constructor for class maspack.matrix.RigidTransform3d
Creates a new transformation which is a copy of an existing one.
RigidTransform3d(Vector3d, AxisAngle) - Constructor for class maspack.matrix.RigidTransform3d
Creates a new transformation with the specified translation vector and rotation.
RotationMatrix2d - class maspack.matrix.RotationMatrix2d.
 
RotationMatrix2d() - Constructor for class maspack.matrix.RotationMatrix2d
 
RotationMatrix2d(double) - Constructor for class maspack.matrix.RotationMatrix2d
 
RotationMatrix2d(RotationMatrix2d) - Constructor for class maspack.matrix.RotationMatrix2d
 
RotationMatrix3d - class maspack.matrix.RotationMatrix3d.
A specialized 3 x 3 orthogonal matrix, with determinant 1, that described a three-dimensional rotation.
RotationMatrix3d() - Constructor for class maspack.matrix.RotationMatrix3d
Creates a new rotation initialized to the identity.
RotationMatrix3d(AxisAngle) - Constructor for class maspack.matrix.RotationMatrix3d
Creates a new rotation specified by a rotation about an axis.
RotationMatrix3d(Quaternion) - Constructor for class maspack.matrix.RotationMatrix3d
Creates a new rotation specified by a quaternion.
RotationMatrix3d(double, double, double, double) - Constructor for class maspack.matrix.RotationMatrix3d
Creates a new rotation specified by a rotation about an axis.
RotationMatrix3d(RotationMatrix3d) - Constructor for class maspack.matrix.RotationMatrix3d
Creates a new rotation which is a copy of an existing one.
resetPivotCount() - Method in interface maspack.contact.ContactSolver
Sets the solver pivot count to 0.
resetPivotCount() - Method in class maspack.contact.FastContactSolver
resetPivotCount() - Method in class maspack.contact.TradContactSolver
Sets the solver pivot count to 0.
restitution - Variable in class maspack.contact.Contact
Restitution coeffcient.
result(int) - Method in class maspack.util.FunctionTimer
 
rotationAngle(Quaternion) - Method in class maspack.matrix.Quaternion
Returns the angular distance between the rotations represented by this quaternion and q1.
rowSize() - Method in class maspack.matrix.AffineTransform2dObject
Returns the number of rows in this matrix (which is always 3).
rowSize() - Method in class maspack.matrix.AffineTransform3dObject
Returns the number of rows in this matrix (which is always 4).
rowSize() - Method in class maspack.matrix.Matrix2dObject
Returns the number of rows in this matrix (which is always 2).
rowSize() - Method in class maspack.matrix.Matrix3dObject
Returns the number of rows in this matrix (which is always 3).
rowSize() - Method in class maspack.matrix.Matrix4dObject
Returns the number of rows in this matrix (which is always 4).
rowSize() - Method in class maspack.matrix.MatrixNd
Returns the number of rows in this matrix.
rowSize() - Method in class maspack.matrix.MatrixObject
Returns the number of rows in this matrix.
rowSize() - Method in class maspack.spatialmotion.SpatialInertia
Returns the number of rows in this matrix (which is always 6).

S

SHOW_BASIS - Static variable in interface maspack.contact.ContactSolver
Debugging flag requesting that the current basis be displayed for each pivot operation.
SHOW_LEXICO_MINRATIO - Static variable in interface maspack.contact.ContactSolver
Debugging flag requesting display of the numbers and pivot candidates involved in the full minimum ratio test for each pivot operation, including the breaking of ties.
SHOW_MINRATIO - Static variable in interface maspack.contact.ContactSolver
Debugging flag requesting display of the numbers and pivot candidates involved in the minimum ratio test for each pivot operation.
SOLVED - Static variable in interface maspack.contact.ContactSolver
Return code indicating that a contact solution was successfully calculated.
SVDecomposition - class maspack.matrix.SVDecomposition.
Constructs the singular value decomposition (SVD) of a matrix.
SVDecomposition(MatrixObject) - Constructor for class maspack.matrix.SVDecomposition
Creates an SVDecomposition and initializes it to the SVD for the matrix M.
SVDecomposition(MatrixObject, int) - Constructor for class maspack.matrix.SVDecomposition
Creates an SVDecomposition, sets the computation flags, and initializes it to the SVD for the matrix M.
SVDecomposition(int) - Constructor for class maspack.matrix.SVDecomposition
Creates an uninitialized SVDecomposition with the specified computation flags.
ScanSupport - class maspack.util.ScanSupport.
 
ScanSupport() - Constructor for class maspack.util.ScanSupport
 
SpatialInertia - class maspack.spatialmotion.SpatialInertia.
 
SpatialInertia() - Constructor for class maspack.spatialmotion.SpatialInertia
Creates a new spatial inertia with a value of zero.
SpatialInertia(SpatialInertia) - Constructor for class maspack.spatialmotion.SpatialInertia
Creates a new spatial inertia with the same values as an existing one.
SpatialVector - class maspack.spatialmotion.SpatialVector.
A spatial vector, which is a 6-vector composed of two 3-vectors: a free vector and a line vector.
SubMatrixNd - class maspack.matrix.SubMatrixNd.
 
SubMatrixNd() - Constructor for class maspack.matrix.SubMatrixNd
 
SubMatrixNd(int, int, int, int, MatrixNd) - Constructor for class maspack.matrix.SubMatrixNd
 
SymmetricMatrix3d - class maspack.matrix.SymmetricMatrix3d.
A symmetric 3 x 3 matrix with the elements stored as explicit fields.
SymmetricMatrix3d() - Constructor for class maspack.matrix.SymmetricMatrix3d
Creates a symmetric matrix and initializes it to zero.
SymmetricMatrix3d(double[]) - Constructor for class maspack.matrix.SymmetricMatrix3d
Creates a symmetric matrix and initializes its elements from an array of doubles.
SymmetricMatrix3d(Matrix3dObject) - Constructor for class maspack.matrix.SymmetricMatrix3d
Creates a symmetric matrix and initializes its elements from the diagonal and upper off-diagonal elements of M.
SymmetricMatrix3d(double, double, double, double, double, double) - Constructor for class maspack.matrix.SymmetricMatrix3d
Creates a symmetric matrix and initializes its elements from the specified diagonal and uppper off-diagonal values.
s - Variable in class maspack.matrix.Quaternion
Scalar element
scale(double) - Method in class maspack.matrix.Matrix2d
Scales the elements of this matrix by s.
scale(double, Matrix2dObject) - Method in class maspack.matrix.Matrix2d
Scales the elements of matrix M1 by s and places the results in this matrix.
scale(double) - Method in class maspack.matrix.Matrix3d
Scales the elements of this matrix by s.
scale(double, Matrix3dObject) - Method in class maspack.matrix.Matrix3d
Scales the elements of matrix M1 by s and places the results in this matrix.
scale(double) - Method in class maspack.matrix.Matrix4d
Scales the elements of this matrix by s.
scale(double, Matrix4dObject) - Method in class maspack.matrix.Matrix4d
Scales the elements of matrix M1 by s and places the results in this matrix.
scale(double, MatrixNd) - Method in class maspack.matrix.MatrixNd
Scales the elements of matrix M1 by s and places the results in this matrix.
scale(double) - Method in class maspack.matrix.MatrixNd
Scales the elements of this matrix by s.
scale(double) - Method in class maspack.matrix.Quaternion
Scales the elements of this quaternion by r.
scale(double, Quaternion) - Method in class maspack.matrix.Quaternion
Scales the elements of quaternion q1 by r and places the results in this quaternion.
scale(double) - Method in class maspack.matrix.SymmetricMatrix3d
Scales the elements of this matrix by s.
scale(double, SymmetricMatrix3d) - Method in class maspack.matrix.SymmetricMatrix3d
Scales the elements of matrix M1 by s and places the results in this matrix.
scale(double) - Method in class maspack.matrix.Vector2d
Scales the elements of this vector by s.
scale(double, Vector2d) - Method in class maspack.matrix.Vector2d
Scales the elements of vector v1 by s and places the results in this vector.
scale(double) - Method in class maspack.matrix.Vector3d
Scales the elements of this vector by s.
scale(double, Vector3d) - Method in class maspack.matrix.Vector3d
Scales the elements of vector v1 by s and places the results in this vector.
scale(double) - Method in class maspack.matrix.Vector4d
Scales the elements of this vector by s.
scale(double, Vector4d) - Method in class maspack.matrix.Vector4d
Scales the elements of vector v1 by s and places the results in this vector.
scale(double) - Method in class maspack.matrix.VectorNd
Scales the elements of this vector by s.
scale(double, VectorNd) - Method in class maspack.matrix.VectorNd
Scales the elements of vector v1 by s and places the results in this vector.
scale(double, SpatialInertia) - Method in class maspack.spatialmotion.SpatialInertia
Scales the spatial inertia M1 by s and places the results in this spatial inertia.
scale(double) - Method in class maspack.spatialmotion.SpatialInertia
Scales this spatial inertia by s in place.
scale(double) - Method in class maspack.spatialmotion.SpatialVector
Scales the elements of this spatial vector by s.
scale(double, Twist) - Method in class maspack.spatialmotion.Twist
Scales the elements of twist tw1 by s and places the results in this twist.
scale(double, Wrench) - Method in class maspack.spatialmotion.Wrench
Scales the elements of wrench wr1 by s and places the results in this wrench.
scaleAdd(double, Quaternion) - Method in class maspack.matrix.Quaternion
Computes r this + q1 and places the result in this quaternion.
scaleAdd(double, Quaternion, Quaternion) - Method in class maspack.matrix.Quaternion
Computes r q1 + q2 and places the result in this quaternion.
scaleAdd(double, Vector2d) - Method in class maspack.matrix.Vector2d
Computes s this + v1 and places the result in this vector.
scaleAdd(double, Vector2d, Vector2d) - Method in class maspack.matrix.Vector2d
Computes s v1 + v2 and places the result in this vector.
scaleAdd(double, Vector3d, Vector3d) - Method in class maspack.matrix.Vector3d
Computes s v1 + v2 and places the result in this vector.
scaleAdd(double, Vector3d) - Method in class maspack.matrix.Vector3d
Computes s this + v1 and places the result in this vector.
scaleAdd(double, Vector4d) - Method in class maspack.matrix.Vector4d
Computes s this + v1 and places the result in this vector.
scaleAdd(double, Vector4d, Vector4d) - Method in class maspack.matrix.Vector4d
Computes s v1 + v2 and places the result in this vector.
scaleAdd(double, VectorNd, VectorNd) - Method in class maspack.matrix.VectorNd
Computes s v1 + v2 and places the result in this vector.
scaleAdd(double, VectorNd) - Method in class maspack.matrix.VectorNd
Computes s this + v1 and places the result in this vector.
scaleAdd(double, Twist, Twist) - Method in class maspack.spatialmotion.Twist
Computes s tw1 + tw2 and places the result in this twist.
scaleAdd(double, Twist) - Method in class maspack.spatialmotion.Twist
Computes s this + tw1 and places the result in this twist.
scaleAdd(double, Wrench, Wrench) - Method in class maspack.spatialmotion.Wrench
Computes s wr1 + wr2 and places the result in this wrench.
scaleAdd(double, Wrench) - Method in class maspack.spatialmotion.Wrench
Computes s this + wr1 and places the result in this wrench.
scan(StreamTokenizer) - Method in class maspack.matrix.MatrixObject
Sets the contents of this matrix to values read from a StreamTokenizer.
scan(StreamTokenizer) - Method in class maspack.matrix.RigidTransform3d
Reads the contents of this transformation from a StreamTokenizer.
scan(StreamTokenizer) - Method in class maspack.matrix.RotationMatrix3d
Reads the contents of this rotation from a StreamTokenizer.
scan(StreamTokenizer) - Method in class maspack.matrix.VectorObject
Sets the contents of this vector to values read from a StreamTokenizer.
scan(StreamTokenizer) - Method in class maspack.spatialmotion.SpatialInertia
Reads the contents of this spatial inertia from a StreamTokenizer.
scanCharacter(StreamTokenizer, char) - Static method in class maspack.util.ScanSupport
 
scanDouble(StreamTokenizer) - Static method in class maspack.util.ScanSupport
 
scanDoubleArray(StreamTokenizer, double[], int) - Static method in class maspack.util.ScanSupport
 
set(int, int, Point3d, Vector3d, double, double) - Method in class maspack.contact.Contact
Sets this contact to have specific values.
set(Contact) - Method in class maspack.contact.Contact
Sets this contact to be a copy of an existing contact.
set(RigidTransform2d) - Method in class maspack.matrix.AffineTransform2d
Sets this affine transform to the rigid body transform described by X.
set(int, int, double) - Method in class maspack.matrix.AffineTransform2dObject
Sets a single element of this matrix.
set(double[]) - Method in class maspack.matrix.AffineTransform2dObject
Sets the elements of this matrix from an array of doubles. The elements in the array should be stored using row-major order, so that element (i,j) is stored at location i*colSize()+j.
set(RigidTransform2d) - Method in class maspack.matrix.AffineTransform2dObject
Sets this affine transform to the rigid body transform described by X.
set(RigidTransform3d) - Method in class maspack.matrix.AffineTransform3d
Sets this affine transform to the rigid body transform described by X.
set(int, int, double) - Method in class maspack.matrix.AffineTransform3dObject
Sets a single element of this matrix.
set(double[]) - Method in class maspack.matrix.AffineTransform3dObject
Sets the elements of this matrix from an array of doubles. The elements in the array should be stored using row-major order, so that element (i,j) is stored at location i*colSize()+j.
set(double, double, double, double) - Method in class maspack.matrix.AxisAngle
Sets this AxisAngle to the prescribed values.
set(double[]) - Method in class maspack.matrix.AxisAngle
Sets this AxisAngle to the prescribed values.
set(Vector3d, double) - Method in class maspack.matrix.AxisAngle
Sets this AxisAngle to the prescribed values.
set(RotationMatrix3d) - Method in class maspack.matrix.AxisAngle
Sets this AxisAngle to the values appropriate for the specified rotation matrix.
set(Quaternion) - Method in class maspack.matrix.AxisAngle
Sets this AxisAngle to the values appropriate for the specified quaternion.
set(MatrixObject) - Method in class maspack.matrix.CholeskyDecomposition
Peforms an Cholesky decomposition on the MatrixObject M.
set(MatrixObject) - Method in class maspack.matrix.LUDecomposition
Peforms an LU decomposition on the MatrixObject M.
set(int, int, double) - Method in class maspack.matrix.Matrix2dObject
Sets a single element of this matrix.
set(double[]) - Method in class maspack.matrix.Matrix2dObject
Sets the elements of this matrix from an array of doubles. The elements in the array should be stored using row-major order, so that element (i,j) is stored at location i*colSize()+j.
set(Matrix2dObject) - Method in class maspack.matrix.Matrix2dObject
Sets the values of this matrix to those of matrix M.
set(int, int, double) - Method in class maspack.matrix.Matrix3dObject
Sets a single element of this matrix.
set(double[]) - Method in class maspack.matrix.Matrix3dObject
Sets the elements of this matrix from an array of doubles. The elements in the array should be stored using row-major order, so that element (i,j) is stored at location i*colSize()+j.
set(Matrix3dObject) - Method in class maspack.matrix.Matrix3dObject
Sets the values of this matrix to those of matrix M.
set(int, int, double) - Method in class maspack.matrix.Matrix4dObject
Sets a single element of this matrix.
set(double[]) - Method in class maspack.matrix.Matrix4dObject
Sets the elements of this matrix from an array of doubles. The elements in the array should be stored using row-major order, so that element (i,j) is stored at location i*colSize()+j.
set(Matrix4dObject) - Method in class maspack.matrix.Matrix4dObject
Sets the values of this matrix to those of matrix M.
set(int, int, double) - Method in class maspack.matrix.MatrixNd
Sets a single element of this matrix.
set(double[]) - Method in class maspack.matrix.MatrixNd
Sets the elements of this matrix from an array of doubles.
set(MatrixNd) - Method in class maspack.matrix.MatrixNd
Sets the size and values of this matrix to those of matrix M1.
set(int, int, double) - Method in class maspack.matrix.MatrixObject
Sets a single element of this matrix.
set(double[]) - Method in class maspack.matrix.MatrixObject
Sets the elements of this matrix from an array of doubles.
set(double[][]) - Method in class maspack.matrix.MatrixObject
Sets the elements of this matrix from a 2-dimensional array of doubles.
set(MatrixObject) - Method in class maspack.matrix.MatrixObject
Sets the size and values of this matrix to those of another matrix.
set(int, double) - Method in class maspack.matrix.Quaternion
Sets a single element of this quaternion.
set(double[]) - Method in class maspack.matrix.Quaternion
Sets the elements of this quaternion from an array of doubles.
set(Quaternion) - Method in class maspack.matrix.Quaternion
Sets the values of this quaternion to those of q1.
set(AxisAngle) - Method in class maspack.matrix.Quaternion
Sets this quaternion to a unit quaternion corresponding to a specified rotation.
set(RotationMatrix3d) - Method in class maspack.matrix.Quaternion
Sets this quaternion to a unit quaternion corresponding to a specified rotation.
set(double, double, double, double) - Method in class maspack.matrix.Quaternion
Sets the elements of this quaternion to the prescribed values.
set(Random) - Static method in class maspack.matrix.RandomGenerator
 
set(Quaternion) - Method in class maspack.matrix.RotationMatrix3d
Sets this rotation to one represented by the quaternion q.
set(MatrixObject) - Method in class maspack.matrix.SVDecomposition
Peforms an SVD on the MatrixObject M.
set(Matrix3dObject) - Method in class maspack.matrix.SymmetricMatrix3d
Sets the elements of this matrix from the the diagonal and upper off-diagonal elements of M.
set(double[]) - Method in class maspack.matrix.SymmetricMatrix3d
Sets the elements of this matrix from an array of doubles.
set(double, double, double, double, double, double) - Method in class maspack.matrix.SymmetricMatrix3d
Sets the values of this matrix from the specified diagonal and uppper off-diagonal values.
set(int, double) - Method in class maspack.matrix.Vector2d
Sets a single element of this vector.
set(double[]) - Method in class maspack.matrix.Vector2d
Sets the elements of this vector from an array of doubles.
set(Vector2d) - Method in class maspack.matrix.Vector2d
Sets the values of this vector to those of v1.
set(double, double) - Method in class maspack.matrix.Vector2d
Sets the elements of this vector to the prescribed values.
set(int, double) - Method in class maspack.matrix.Vector3d
Sets a single element of this vector.
set(double[]) - Method in class maspack.matrix.Vector3d
Sets the elements of this vector from an array of doubles.
set(Vector3d) - Method in class maspack.matrix.Vector3d
Sets the values of this vector to those of v1.
set(double, double, double) - Method in class maspack.matrix.Vector3d
Sets the elements of this vector to the prescribed values.
set(int, double) - Method in class maspack.matrix.Vector4d
Sets a single element of this vector.
set(double[]) - Method in class maspack.matrix.Vector4d
Sets the elements of this vector from an array of doubles.
set(Vector4d) - Method in class maspack.matrix.Vector4d
Sets the values of this vector to those of v1.
set(double, double, double, double) - Method in class maspack.matrix.Vector4d
Sets the elements of this vector to the prescribed values.
set(int, double) - Method in class maspack.matrix.VectorNd
Sets a single element of this vector.
set(double[]) - Method in class maspack.matrix.VectorNd
Sets the elements of this vector from an array of doubles.
set(VectorNd) - Method in class maspack.matrix.VectorNd
Sets the size and values of this vector to those of v1.
set(int, double) - Method in class maspack.matrix.VectorObject
Sets a single element of this vector.
set(double[]) - Method in class maspack.matrix.VectorObject
Sets the elements of this vector from an array of doubles.
set(VectorObject) - Method in class maspack.matrix.VectorObject
Sets the values of this vector to those of another vector.
set(int, int, double) - Method in class maspack.spatialmotion.SpatialInertia
Sets a single element of this spatial inertia.
set(SpatialInertia) - Method in class maspack.spatialmotion.SpatialInertia
Sets this spatial inertia to be identical to be identical to another one.
set(double, SymmetricMatrix3d) - Method in class maspack.spatialmotion.SpatialInertia
Sets this spatial inertia to have a specific mass and rotational inertia.
set(double, SymmetricMatrix3d, Point3d) - Method in class maspack.spatialmotion.SpatialInertia
Sets this spatial inertia to have a specific mass, rotational inertia, and center of mass.
set(double, double, double, double) - Method in class maspack.spatialmotion.SpatialInertia
Sets this spatial inertia to have a specific mass and a diagonal rotational inertia with the indicated element values.
set(int, double) - Method in class maspack.spatialmotion.SpatialVector
Sets a single element of this spatial vector.
set(double[]) - Method in class maspack.spatialmotion.SpatialVector
Sets the elements of this spatial vector from an array of doubles.
set(double, double, double, double, double, double) - Method in class maspack.spatialmotion.Twist
Sets the values of this twist to the specified component values.
set(Vector3d, Vector3d) - Method in class maspack.spatialmotion.Twist
Sets the values of this twist to the specified component values.
set(Twist) - Method in class maspack.spatialmotion.Twist
Sets the values of this twist to those of twist tw.
set(RigidTransform3d) - Method in class maspack.spatialmotion.Twist
Sets this twist to a representation of a rigid spatial transformation.
set(double, double, double, double, double, double) - Method in class maspack.spatialmotion.Wrench
Sets the values of this wrench to the specified component values.
set(Vector3d, Vector3d) - Method in class maspack.spatialmotion.Wrench
Sets the values of this wrench to the specified component values.
set(Wrench) - Method in class maspack.spatialmotion.Wrench
Sets the values of this wrench to those of wrench tw.
set(String) - Method in class maspack.util.NumberFormat
Sets the format characteristics according to the supplied String.
setActivityReportingEnabled(boolean) - Method in interface maspack.contact.ContactSolver
Experimental method.
setActivityReportingEnabled(boolean) - Method in class maspack.contact.FastContactSolver
Experimental method.
setActivityReportingEnabled(boolean) - Method in class maspack.contact.TradContactSolver
Experimental method.
setAngle(double) - Method in class maspack.matrix.RotationMatrix2d
 
setAxisAngle(AxisAngle) - Method in class maspack.matrix.RotationMatrix3d
Sets this rotation to one produced by rotating about an axis.
setAxisAngle(double, double, double, double) - Method in class maspack.matrix.RotationMatrix3d
Sets the rotation to one produced by rotating about an axis.
setBasisPresetEnabled(boolean) - Method in interface maspack.contact.ContactSolver
Experimental method.
setBasisPresetEnabled(boolean) - Method in class maspack.contact.FastContactSolver
Experimental method.
setBasisPresetEnabled(boolean) - Method in class maspack.contact.TradContactSolver
Experimental method.
setBuffer(int, int, double[], int) - Method in class maspack.matrix.MatrixNd
Explicitly sets the size and internal buffer associated with this matrix.
setBuffer(int, double[]) - Method in class maspack.matrix.VectorNd
Explicitly sets the size and internal buffer associated with this vector.
setCenterOfMass(Point3d) - Method in class maspack.spatialmotion.SpatialInertia
Sets the center of mass for this spatial inertia.
setCenterOfMass(double, double, double) - Method in class maspack.spatialmotion.SpatialInertia
Sets the center of mass for this spatial inertia.
setColumn(int, double[]) - Method in class maspack.matrix.AffineTransform2dObject
Sets a column of this matrix from an array of doubles.
setColumn(int, double[]) - Method in class maspack.matrix.AffineTransform3dObject
Sets a column of this matrix from an array of doubles.
setColumn(int, double[]) - Method in class maspack.matrix.Matrix2dObject
Sets a column of this matrix from an array of doubles.
setColumn(int, Vector2d) - Method in class maspack.matrix.Matrix2dObject
Sets a column of this matrix to the specified 2-vector.
setColumn(int, double[]) - Method in class maspack.matrix.Matrix3dObject
Sets a column of this matrix from an array of doubles.
setColumn(int, Vector3d) - Method in class maspack.matrix.Matrix3dObject
Sets a column of this matrix to the specified 3-vector.
setColumn(int, double[]) - Method in class maspack.matrix.Matrix4dObject
Sets a column of this matrix from an array of doubles.
setColumn(int, Vector4d) - Method in class maspack.matrix.Matrix4dObject
Sets a column of this matrix to the specified 4-vector.
setColumn(int, double[]) - Method in class maspack.matrix.MatrixNd
Sets a column of this matrix from an array of doubles.
setColumn(int, VectorObject) - Method in class maspack.matrix.MatrixNd
Sets a column of this matrix from a VectorObject.
setColumn(int, double[]) - Method in class maspack.matrix.MatrixObject
Sets a column of this matrix from an array of doubles.
setColumn(int, VectorObject) - Method in class maspack.matrix.MatrixObject
Sets a column of this matrix from a VectorObject.
setCoriolisEnabled(boolean) - Method in interface maspack.contact.ContactSolver
Enables the inclusion of coriolis forces for second order motion calculations.
setCoriolisEnabled(boolean) - Method in class maspack.contact.FastContactSolver
Enables the inclusion of coriolis forces for second order motion calculations.
setCoriolisEnabled(boolean) - Method in class maspack.contact.TradContactSolver
Enables the inclusion of coriolis forces for second order motion calculations.
setDebug(int) - Method in interface maspack.contact.ContactSolver
Enables the printing of debug information.
setDebug(int) - Method in class maspack.contact.FastContactSolver
setDebug(int) - Method in class maspack.contact.TradContactSolver
Enables the printing of debug information.
setDiagonal(Vector2d) - Method in class maspack.matrix.Matrix2d
Sets this matrix to a diagonal matrix whose values are specified by diag.
setDiagonal(double[]) - Method in class maspack.matrix.Matrix2d
Sets this matrix to a diagonal matrix whose values are specified by the array vals.
setDiagonal(Vector3d) - Method in class maspack.matrix.Matrix3d
Sets this matrix to a diagonal matrix whose values are specified by diag.
setDiagonal(double[]) - Method in class maspack.matrix.Matrix3d
Sets this matrix to a diagonal matrix whose values are specified by the array vals.
setDiagonal(Vector4d) - Method in class maspack.matrix.Matrix4d
Sets this matrix to a diagonal matrix whose values are specified by diag.
setDiagonal(double[]) - Method in class maspack.matrix.Matrix4d
Sets this matrix to a diagonal matrix whose values are specified by the array vals.
setDiagonal(VectorNd) - Method in class maspack.matrix.MatrixNd
Sets this matrix to a diagonal matrix whose diagonal elements are specified by a vector.
setDiagonal(double[]) - Method in class maspack.matrix.MatrixNd
Sets this matrix to a diagonal matrix whose diagonal elements are specified by the leading elements of an array of doubles
setDiagonal(Vector3d) - Method in class maspack.matrix.SymmetricMatrix3d
Sets this matrix to a diagonal matrix whose values are specified by diag.
setDiagonal(double[]) - Method in class maspack.matrix.SymmetricMatrix3d
Sets this matrix to a diagonal matrix whose values are specified by the array vals.
setDimensions(int, int, int, int, MatrixNd) - Method in class maspack.matrix.SubMatrixNd
 
setEpsilon(double) - Method in interface maspack.contact.ContactSolver
Sets the numeric tolerance that should be used for contact solutions.
setEpsilon(double) - Method in class maspack.contact.FastContactSolver
Sets the numeric tolerance that should be used for contact solutions. A value of AUTO_EPSILON indicates that the tolerance should be computed automatically whenever a solution is computed, after which it may be queried using getEpsilon.
setEpsilon(double) - Method in class maspack.contact.TradContactSolver
Sets the numeric tolerance that should be used for contact solutions. A value of AUTO_EPSILON indicates that the tolerance should be computed automatically whenever a solution is computed, after which it may be queried using getEpsilon.
setEuler(double, double, double) - Method in class maspack.matrix.RotationMatrix3d
Sets this rotation to one produced by Euler angles.
setEuler(double[]) - Method in class maspack.matrix.RotationMatrix3d
Sets this rotation to one produced by Euler angles.
setFieldWidth(int) - Method in class maspack.util.NumberFormat
Sets the field width associated with this format.
setFlags(int) - Method in class maspack.matrix.SVDecomposition
Sets the flags associated with SVD computation.
setFrictionEnabled(boolean) - Method in interface maspack.contact.ContactSolver
Enables/disables friction computation for this solver.
setFrictionEnabled(boolean) - Method in class maspack.contact.FastContactSolver
Enables/disables friction computation for this solver. Friction computation is enabled by default.
setFrictionEnabled(boolean) - Method in class maspack.contact.TradContactSolver
Enables/disables friction computation for this solver. Friction computation is enabled by default.
setFromHomogeneous(Vector4d) - Method in class maspack.matrix.Vector3d
Sets the values of this vector from a homogeneous representation stored in the 4-vector v1.
setIdentity() - Method in class maspack.matrix.AffineTransform2dObject
Sets the transformation to the identity.
setIdentity() - Method in class maspack.matrix.AffineTransform3dObject
Sets the transformation to the identity.
setIdentity() - Method in class maspack.matrix.Matrix2dObject
Sets this matrix to the identity.
setIdentity() - Method in class maspack.matrix.Matrix3dObject
Sets this matrix to the identity.
setIdentity() - Method in class maspack.matrix.Matrix4dObject
Sets this matrix to the identity.
setIdentity() - Method in class maspack.matrix.MatrixNd
Sets this matrix to the identity matrix.
setIncrementalPivoting(boolean) - Method in class maspack.contact.TradContactSolver
Enables incremental updates to the factors of the basis matrix when solving the LCP associated with this contact problem.
setMass(double) - Method in class maspack.spatialmotion.SpatialInertia
Sets the mass for this spatial inertia.
setMaxIterations(int) - Method in class maspack.matrix.SVDecomposition
Sets the maximum number of iterations allowed for SVD computations.
setMinimumSpeed(double) - Method in interface maspack.contact.ContactSolver
Experimental method.
setMinimumSpeed(double) - Method in class maspack.contact.FastContactSolver
Experimental method.
setMinimumSpeed(double) - Method in class maspack.contact.TradContactSolver
Experimental method.
setNumFrictionDirections(int) - Method in interface maspack.contact.ContactSolver
Sets the number of friction directions to be used by this solver (i.e., the number of sides in the polyhedral approximation to the friction cone).
setNumFrictionDirections(int) - Method in class maspack.contact.FastContactSolver
Sets the number of friction directions to be used by this solver (i.e., the number of sides in the polyhedral approximation to the friction cone). The default is 4.
setNumFrictionDirections(int) - Method in class maspack.contact.TradContactSolver
Sets the number of friction directions to be used by this solver (i.e., the number of sides in the polyhedral approximation to the friction cone). The default is 4.
setPrecision(int) - Method in class maspack.util.NumberFormat
Sets the precision associated with this format.
setPrefix(String) - Method in class maspack.util.NumberFormat
Sets the prefix associated with this format.
setRandom() - Method in class maspack.matrix.Matrix2d
Sets the elements of this matrix to uniformly distributed random values in the range -0.5 (inclusive) to 0.5 (exclusive).
setRandom(double, double) - Method in class maspack.matrix.Matrix2d
Sets the elements of this matrix to uniformly distributed random values in a specified range.
setRandom(double, double, Random) - Method in class maspack.matrix.Matrix2d
Sets the elements of this matrix to uniformly distributed random values in a specified range, using a supplied random number generator.
setRandom() - Method in class maspack.matrix.Matrix3d
Sets the elements of this matrix to uniformly distributed random values in the range -0.5 (inclusive) to 0.5 (exclusive).
setRandom(double, double) - Method in class maspack.matrix.Matrix3d
Sets the elements of this matrix to uniformly distributed random values in a specified range.
setRandom(double, double, Random) - Method in class maspack.matrix.Matrix3d
Sets the elements of this matrix to uniformly distributed random values in a specified range, using a supplied random number generator.
setRandom() - Method in class maspack.matrix.Matrix4d
Sets the elements of this matrix to uniformly distributed random values in the range -0.5 (inclusive) to 0.5 (exclusive).
setRandom(double, double) - Method in class maspack.matrix.Matrix4d
Sets the elements of this matrix to uniformly distributed random values in a specified range.
setRandom(double, double, Random) - Method in class maspack.matrix.Matrix4d
Sets the elements of this matrix to uniformly distributed random values in a specified range, using a supplied random number generator.
setRandom() - Method in class maspack.matrix.MatrixNd
Sets the elements of this matrix to uniformly distributed random values in the range -0.5 (inclusive) to 0.5 (exclusive).
setRandom(double, double) - Method in class maspack.matrix.MatrixNd
Sets the elements of this matrix to uniformly distributed random values in a specified range.
setRandom(double, double, Random) - Method in class maspack.matrix.MatrixNd
Sets the elements of this matrix to uniformly distributed random values in a specified range, using a supplied random number generator.
setRandom() - Method in class maspack.matrix.Quaternion
Sets the elements of this quaternion to uniformly distributed random values in the range -0.5 (inclusive) to 0.5 (exclusive).
setRandom(double, double) - Method in class maspack.matrix.Quaternion
Sets the elements of this quaternion to uniformly distributed random values in a specified range.
setRandom(double, double, Random) - Method in class maspack.matrix.Quaternion
Sets the elements of this quaternion to uniformly distributed random values in a specified range, using a supplied random number generator.
setRandom() - Method in class maspack.matrix.RotationMatrix2d
 
setRandom(Random) - Method in class maspack.matrix.RotationMatrix2d
 
setRandom() - Method in class maspack.matrix.RotationMatrix3d
Sets this rotation to one produced by rotating about a random axis by a random angle.
setRandom(Random) - Method in class maspack.matrix.RotationMatrix3d
Sets this rotation to one produced by rotating about a random axis by a random angle, using a supplied random number generator.
setRandom() - Method in class maspack.matrix.SymmetricMatrix3d
Sets the elements of this matrix to uniformly distributed random values in the range -0.5 (inclusive) to 0.5 (exclusive).
setRandom(double, double) - Method in class maspack.matrix.SymmetricMatrix3d
Sets the elements of this matrix to uniformly distributed random values in a specified range.
setRandom(double, double, Random) - Method in class maspack.matrix.SymmetricMatrix3d
Sets the elements of this matrix to uniformly distributed random values in a specified range, using a supplied random number generator.
setRandom() - Method in class maspack.matrix.Vector2d
Sets the elements of this vector to uniformly distributed random values in the range -0.5 (inclusive) to 0.5 (exclusive).
setRandom(double, double) - Method in class maspack.matrix.Vector2d
Sets the elements of this vector to uniformly distributed random values in a specified range.
setRandom(double, double, Random) - Method in class maspack.matrix.Vector2d
Sets the elements of this vector to uniformly distributed random values in a specified range, using a supplied random number generator.
setRandom() - Method in class maspack.matrix.Vector3d
Sets the elements of this vector to uniformly distributed random values in the range -0.5 (inclusive) to 0.5 (exclusive).
setRandom(double, double) - Method in class maspack.matrix.Vector3d
Sets the elements of this vector to uniformly distributed random values in a specified range.
setRandom(double, double, Random) - Method in class maspack.matrix.Vector3d
Sets the elements of this vector to uniformly distributed random values in a specified range, using a supplied random number generator.
setRandom() - Method in class maspack.matrix.Vector4d
Sets the elements of this vector to uniformly distributed random values in the range -0.5 (inclusive) to 0.5 (exclusive).
setRandom(double, double) - Method in class maspack.matrix.Vector4d
Sets the elements of this vector to uniformly distributed random values in a specified range.
setRandom(double, double, Random) - Method in class maspack.matrix.Vector4d
Sets the elements of this vector to uniformly distributed random values in a specified range, using a supplied random number generator.
setRandom() - Method in class maspack.matrix.VectorNd
Sets the elements of this vector to uniformly distributed random values in the range -0.5 (inclusive) to 0.5 (exclusive).
setRandom(double, double) - Method in class maspack.matrix.VectorNd
Sets the elements of this vector to uniformly distributed random values in a specified range.
setRandom(double, double, Random) - Method in class maspack.matrix.VectorNd
Sets the elements of this vector to uniformly distributed random values in a specified range, using a supplied random number generator.
setRandom() - Method in class maspack.spatialmotion.SpatialInertia
Sets the components of this spatial inertia to uniformly distributed random values in the range -0.5 (inclusive) to 0.5 (exclusive).
setRandom(double, double) - Method in class maspack.spatialmotion.SpatialInertia
Sets the components of this spatial inertia to uniformly distributed random values in a specified range.
setRandom(double, double, Random) - Method in class maspack.spatialmotion.SpatialInertia
Sets the components of this spatial inertia to uniformly distributed random values in a specified range, using a supplied random number generator.
setRandom() - Method in class maspack.spatialmotion.SpatialVector
Sets the elements of this vector to uniformly distributed random values in the range -0.5 (inclusive) to 0.5 (exclusive).
setRandom(double, double) - Method in class maspack.spatialmotion.SpatialVector
Sets the elements of this vector to uniformly distributed random values in a specified range.
setRandom(double, double, Random) - Method in class maspack.spatialmotion.SpatialVector
Sets the elements of this vector to uniformly distributed random values in a specified range, using a supplied random number generator.
setRandomOrthogonal() - Method in class maspack.matrix.MatrixNd
Sets this matrix to a random orthogonal matrix.
setRandomOrthogonal(Random) - Method in class maspack.matrix.MatrixNd
Sets this matrix to a random orthogonal matrix, using a supplied random number generator.
setRandomSvd(double[]) - Method in class maspack.matrix.MatrixNd
Sets this matrix to a random matrix with specified singular values.
setRandomSvd(double[], Random) - Method in class maspack.matrix.MatrixNd
Sets this matrix to a random matrix with specified singular values, using a supplied random number generator.
setRandomUnit() - Method in class maspack.matrix.Quaternion
Sets this quaternion to a random unit value.
setRandomUnit(Random) - Method in class maspack.matrix.Quaternion
Sets this quaternion to a random unit value, using a supplied random number generator.
setRestitutionEnabled(boolean) - Method in interface maspack.contact.ContactSolver
Enables/disables restitution computation for this solver.
setRestitutionEnabled(boolean) - Method in class maspack.contact.FastContactSolver
Enables/disables restitution computation for this solver. Resitution is only computed for second order solutions, and involves computing a restoring velocity at each contact, as determined by the restitution coefficient specified for that contact.
setRestitutionEnabled(boolean) - Method in class maspack.contact.TradContactSolver
Enables/disables restitution computation for this solver. Resitution is only computed for second order solutions, and involves computing a restoring velocity at each contact, as determined by the restitution coefficient specified for that contact.
setRestitutionThreshold(double) - Method in interface maspack.contact.ContactSolver
Sets the restitution threshold for this solver.
setRestitutionThreshold(double) - Method in class maspack.contact.FastContactSolver
Sets the restitution threshold for this solver. This is the minimum speed along a contact normal below which no restitution is calculated (assuming restitution is enabled).
setRestitutionThreshold(double) - Method in class maspack.contact.TradContactSolver
Sets the restitution threshold for this solver. This is the minimum speed along a contact normal below which no restitution is calculated (assuming restitution is enabled).
setRotX(double) - Method in class maspack.matrix.RotationMatrix3d
Sets this rotation to one produced by rotating about the x axis.
setRotY(double) - Method in class maspack.matrix.RotationMatrix3d
Sets this rotation to one produced by rotating about the y axis.
setRotZ(double) - Method in class maspack.matrix.RotationMatrix3d
Sets this rotation to one produced by rotating about the z axis.
setRotation(AxisAngle) - Method in class maspack.matrix.AffineTransform3dObject
Sets the matrix component of this affine transform to an explicit rotation.
setRotation(Quaternion) - Method in class maspack.matrix.AffineTransform3dObject
Sets the matrix component of this affine transform to an explicit rotation.
setRotation(RotationMatrix3d) - Method in class maspack.matrix.AffineTransform3dObject
Sets the matrix component of this affine transform to an explicit rotation.
setRotationalInertia(SymmetricMatrix3d) - Method in class maspack.spatialmotion.SpatialInertia
Sets the rotational interia for this spatial inertia.
setRotationalInertia(double, double, double, double, double, double) - Method in class maspack.spatialmotion.SpatialInertia
Sets the rotational interia for this spatial inertia, given the diagonal and upper off-diagonal elements
setRow(int, double[]) - Method in class maspack.matrix.AffineTransform2dObject
Set a row of this matrix from an array of doubles.
setRow(int, double[]) - Method in class maspack.matrix.AffineTransform3dObject
Set a row of this matrix from an array of doubles.
setRow(int, double[]) - Method in class maspack.matrix.Matrix2dObject
Set a row of this matrix from an array of doubles.
setRow(int, Vector2d) - Method in class maspack.matrix.Matrix2dObject
Sets a row of this matrix to the specified 2-vector.
setRow(int, double[]) - Method in class maspack.matrix.Matrix3dObject
Set a row of this matrix from an array of doubles.
setRow(int, Vector3d) - Method in class maspack.matrix.Matrix3dObject
Sets a row of this matrix to the specified 3-vector.
setRow(int, double[]) - Method in class maspack.matrix.Matrix4dObject
Set a row of this matrix from an array of doubles.
setRow(int, Vector4d) - Method in class maspack.matrix.Matrix4dObject
Sets a row of this matrix to the specified 4-vector.
setRow(int, double[]) - Method in class maspack.matrix.MatrixNd
Set a row of this matrix from an array of doubles.
setRow(int, VectorObject) - Method in class maspack.matrix.MatrixNd
Sets a row of this matrix from a VectorObject.
setRow(int, double[]) - Method in class maspack.matrix.MatrixObject
Set a row of this matrix from an array of doubles.
setRow(int, VectorObject) - Method in class maspack.matrix.MatrixObject
Sets a row of this matrix from a VectorObject.
setRpy(double, double, double) - Method in class maspack.matrix.RotationMatrix3d
Sets this rotation to one produced by roll-pitch-yaw angles.
setRpy(double[]) - Method in class maspack.matrix.RotationMatrix3d
Sets this rotation to one produced by Euler angles.
setSeed(int) - Static method in class maspack.matrix.RandomGenerator
 
setSize(int, int) - Method in class maspack.matrix.MatrixNd
Sets the size of this matrix.
setSize(int, int) - Method in class maspack.matrix.MatrixObject
Sets the size of this matrix.
setSize(int) - Method in class maspack.matrix.VectorNd
Sets the size of this vector.
setSize(int) - Method in class maspack.matrix.VectorObject
Sets the size of this vector.
setSolutionOrder(int) - Method in interface maspack.contact.ContactSolver
Sets the order used to compute contact solutions.
setSolutionOrder(int) - Method in class maspack.contact.FastContactSolver
Sets the order used to compute contact solutions. This should be either 1 or 2, where 1 corresponds to first order physics (force proportional to velocity), and 2 corresponds to the usual second order physics (force proportional to acceleration).
setSolutionOrder(int) - Method in class maspack.contact.TradContactSolver
Sets the order used to compute contact solutions. This should be either 1 or 2, where 1 corresponds to first order physics (force proportional to velocity), and 2 corresponds to the usual second order physics (force proportional to acceleration).
setStabilizingDistance(double) - Method in interface maspack.contact.ContactSolver
Sets the solver's stabilizing distance.
setStabilizingDistance(double) - Method in class maspack.contact.FastContactSolver
Sets the solver's stabilizing distance. By default, this quantity is zero, but if it is set to a positive value, and the solver is performing second order motions, then it will try to apply appropriate impulses to the bodies to maintain a separation of dist units at each of the contact points.
setStabilizingDistance(double) - Method in class maspack.contact.TradContactSolver
Sets the solver's stabilizing distance. By default, this quantity is zero, but if it is set to a positive value, and the solver is performing second order motions, then it will try to apply appropriate impulses to the bodies to maintain a separation of dist units at each of the contact points.
setSubMatrix(int, int, MatrixNd) - Method in class maspack.matrix.MatrixNd
Sets a submatrix of this matrix.
setSubMatrix(int[], int[], MatrixNd) - Method in class maspack.matrix.MatrixNd
Sets a submatrix of this matrix.
setSuffix(String) - Method in class maspack.util.NumberFormat
Sets the suffix associated with this format.
setToHomogeneous(Vector3d, double) - Method in class maspack.matrix.Vector4d
Sets the values of this vector to a homogeneous representation formed from a 3-vector and a weighting factor w.
setTranslation(Vector3d) - Method in class maspack.matrix.AffineTransform3dObject
Sets the translation component of this affine transform.
setVariableSize(boolean) - Method in class maspack.contact.FastContactSolver
Enables variable sizing of the LCP when solving a contact problem.
setZDirection(Vector3d) - Method in class maspack.matrix.RotationMatrix3d
Sets this rotation to one in which the z axis points in a specified direction.
setZero() - Method in class maspack.matrix.Matrix2d
Sets the elements of this matrix to zero.
setZero() - Method in class maspack.matrix.Matrix3d
Sets the elements of this matrix to zero.
setZero() - Method in class maspack.matrix.Matrix4d
Sets the elements of this matrix to zero.
setZero() - Method in class maspack.matrix.MatrixNd
Sets the elements of this matrix to zero.
setZero() - Method in class maspack.matrix.Quaternion
Sets the elements of this quaternion to zero.
setZero() - Method in class maspack.matrix.SymmetricMatrix3d
Sets the elements of this matrix to zero.
setZero() - Method in class maspack.matrix.Vector2d
Sets the elements of this vector to zero.
setZero() - Method in class maspack.matrix.Vector3d
Sets the elements of this vector to zero.
setZero() - Method in class maspack.matrix.Vector4d
Sets the elements of this vector to zero.
setZero() - Method in class maspack.matrix.VectorNd
Sets the elements of this vector to zero.
setZero() - Method in class maspack.spatialmotion.SpatialInertia
Sets this spatial inertia to zero.
setZero() - Method in class maspack.spatialmotion.SpatialVector
Sets the elements of this spatial vector to zero.
size() - Method in class maspack.matrix.Quaternion
Returns the size of this quaternion (which is always 4)
size() - Method in class maspack.matrix.Vector2d
Returns the size of this vector (which is always 2)
size() - Method in class maspack.matrix.Vector3d
Returns the size of this vector (which is always 3)
size() - Method in class maspack.matrix.Vector4d
Returns the size of this vector (which is always 4)
size() - Method in class maspack.matrix.VectorNd
Returns the size of this vector.
size() - Method in class maspack.matrix.VectorObject
Returns the number of elements in this vector.
size() - Method in class maspack.spatialmotion.SpatialVector
Returns the size of this spatial vector (which is always 6)
solve(Twist[], Contact[], int, RigidTransform3d[], Twist[], SpatialInertia[], Wrench[], double) - Method in interface maspack.contact.ContactSolver
Solves a multi-point contact problem for multiple rigid bodies.
solve(Twist, Contact[], int, RigidTransform3d, Twist, SpatialInertia, Wrench, double) - Method in interface maspack.contact.ContactSolver
Solves a multi-point contact problem for a single rigid body.
solve(Twist, Contact[], int, RigidTransform3d, Twist, SpatialInertia, Wrench, double) - Method in class maspack.contact.FastContactSolver
Solves a multi-point contact problem for a single rigid body. Information about each contact should be supplied in the contacts array. For each contact, the first body index is assumed to correspond to the rigid body in question and should be set to 0, and the second body index is assumed to correspond to a fixed object and should be set to -1.
solve(Twist[], Contact[], int, RigidTransform3d[], Twist[], SpatialInertia[], Wrench[], double) - Method in class maspack.contact.FastContactSolver
Solves a multi-point contact problem for multiple rigid bodies. Information about each contact point should be supplied in the contact array.

Information for each contact includes indices identifiying the two bodies associated with it. These indices should correspond to the indices the body with respect to newVels, XBodiesToWorld, etc. For contacts between a body and a fixed object, the first body index should reflect the body in question, and the second body index should be set to -1.

solve(Twist, Contact[], int, RigidTransform3d, Twist, SpatialInertia, Wrench, double) - Method in class maspack.contact.TradContactSolver
Solves a multi-point contact problem for a single rigid body. Information about each contact should be supplied in the contacts array. For each contact, the first body index is assumed to correspond to the rigid body in question and should be set to 0, and the second body index is assumed to correspond to a fixed object and should be set to -1.
solve(Twist[], Contact[], int, RigidTransform3d[], Twist[], SpatialInertia[], Wrench[], double) - Method in class maspack.contact.TradContactSolver
Solves a multi-point contact problem for multiple rigid bodies. Information about each contact point should be supplied in the contact array.

Information for each contact includes indices identifiying the two bodies associated with it. These indices should correspond to the indices the body with respect to newVels, XBodiesToWorld, etc. For contacts between a body and a fixed object, the first body index should reflect the body in question, and the second body index should be set to -1.

solve(VectorObject, VectorObject) - Method in class maspack.matrix.CholeskyDecomposition
Solves the linear equation
M x = b
where M is the original matrix associated with this decomposition, and x and b are vectors.
solve(MatrixObject, MatrixObject) - Method in class maspack.matrix.CholeskyDecomposition
Solves the linear equation
M X = B
where M is the original matrix associated with this decomposition, and X and B are matrices.
solve(VectorObject, VectorObject) - Method in class maspack.matrix.LUDecomposition
Solves the linear equation
M x = b
where M is the original matrix associated with this decomposition, and x and b are vectors.
solve(MatrixObject, MatrixObject) - Method in class maspack.matrix.LUDecomposition
Solves the linear equation
M X = B
where M is the original matrix associated with this decomposition, and X and B are matrices.
solve(VectorNd, VectorNd) - Method in class maspack.matrix.SVDecomposition
Solves the linear equation
M x = b
where M is the original matrix associated with this SVD, and x and b are vectors.
solve(MatrixNd, MatrixNd) - Method in class maspack.matrix.SVDecomposition
Solves the linear equation
M X = B
where M is the original matrix associated with this SVD, and X and B are matrices.
sort(Vector2d) - Method in class maspack.matrix.Vector2d
Sorts the contents of vector v1 by element value, with x being set to the largest value and y being set to the smallest value, and places the results in this vector.
sort() - Method in class maspack.matrix.Vector2d
Sorts the contents of this vector by element value, with x being set to the largest value and z being set to the smallest value.
sort(Vector3d) - Method in class maspack.matrix.Vector3d
Sorts the contents of vector v1 by element value, with x being set to the largest value and z being set to the smallest value, and places the results in this vector.
sort() - Method in class maspack.matrix.Vector3d
Sorts the contents of this vector by element value, with x being set to the largest value and z being set to the smallest value.
sort(Vector4d) - Method in class maspack.matrix.Vector4d
Sorts the contents of vector v1 by element value, with x being set to the largest value and w being set to the smallest value, and places the results in this vector.
sort() - Method in class maspack.matrix.Vector4d
Sorts the contents of this vector by element value, with x being set to the largest value and w being set to the smallest value.
sort() - Method in class maspack.matrix.VectorNd
Sorts the contents of this vector by element value, from largest to smallest value.
sort(VectorNd) - Method in class maspack.matrix.VectorNd
Sorts the contents of vector v1 by element value, from largest to smallest value, and places the result into this vector.
sortAbsolute() - Method in class maspack.matrix.Vector2d
Sorts the contents of this vector by absolute element value, with x being set to the largest value and y being set to the smallest value.
sortAbsolute() - Method in class maspack.matrix.Vector3d
Sorts the contents of this vector by absolute element value, with x being set to the largest value and z being set to the smallest value.
sortAbsolute() - Method in class maspack.matrix.Vector4d
Sorts the contents of the vector by the absolute value of its components.
sphericalInterpolate(Quaternion, double, Quaternion) - Method in class maspack.matrix.Quaternion
Computes a spherical (great circle) interpolation between quaternions q1 and q2 and places the result in this quaternion.
sphericalInterpolate(double, Quaternion) - Method in class maspack.matrix.Quaternion
Computes a spherical (great circle) interpolation between this quaternion and q1 and places the result in this quaternion.
start() - Method in class maspack.util.FunctionTimer
 
stop() - Method in class maspack.util.FunctionTimer
 
sub(Matrix2dObject, Matrix2dObject) - Method in class maspack.matrix.Matrix2d
Subtracts matrix M1 from M2 and places the result in this matrix.
sub(Matrix2dObject) - Method in class maspack.matrix.Matrix2d
Subtracts this matrix from M1 and places the result in this matrix.
sub(Matrix3dObject, Matrix3dObject) - Method in class maspack.matrix.Matrix3d
Subtracts matrix M1 from M2 and places the result in this matrix.
sub(Matrix3dObject) - Method in class maspack.matrix.Matrix3d
Subtracts this matrix from M1 and places the result in this matrix.
sub(Matrix4dObject, Matrix4dObject) - Method in class maspack.matrix.Matrix4d
Subtracts matrix M1 from M2 and places the result in this matrix.
sub(Matrix4dObject) - Method in class maspack.matrix.Matrix4d
Subtracts this matrix from M1 and places the result in this matrix.
sub(MatrixNd) - Method in class maspack.matrix.MatrixNd
Subtracts this matrix from M1 and places the result in this matrix.
sub(MatrixNd, MatrixNd) - Method in class maspack.matrix.MatrixNd
Subtracts matrix M1 from M2 and places the result in this matrix.
sub(Quaternion, Quaternion) - Method in class maspack.matrix.Quaternion
Subtracts quaternion q1 from q2 and places the result in this quaternion.
sub(Quaternion) - Method in class maspack.matrix.Quaternion
Subtracts q1 from this quaternion and places the result in this quaternion.
sub(SymmetricMatrix3d, SymmetricMatrix3d) - Method in class maspack.matrix.SymmetricMatrix3d
Subtracts matrix M1 from M2 and places the result in this matrix.
sub(SymmetricMatrix3d) - Method in class maspack.matrix.SymmetricMatrix3d
Subtracts this matrix from M1 and places the result in this matrix.
sub(Vector2d, Vector2d) - Method in class maspack.matrix.Vector2d
Subtracts vector v1 from v2 and places the result in this vector.
sub(Vector2d) - Method in class maspack.matrix.Vector2d
Subtracts v1 from this vector and places the result in this vector.
sub(Vector3d, Vector3d) - Method in class maspack.matrix.Vector3d
Subtracts vector v1 from v2 and places the result in this vector.
sub(Vector3d) - Method in class maspack.matrix.Vector3d
Subtracts v1 from this vector and places the result in this vector.
sub(Vector4d, Vector4d) - Method in class maspack.matrix.Vector4d
Subtracts vector v1 from v2 and places the result in this vector.
sub(Vector4d) - Method in class maspack.matrix.Vector4d
Subtracts v1 from this vector and places the result in this vector.
sub(VectorNd, VectorNd) - Method in class maspack.matrix.VectorNd
Subtracts vector v1 from v2 and places the result in this vector.
sub(VectorNd) - Method in class maspack.matrix.VectorNd
Subtracts v1 from this vector and places the result in this vector.
sub(SpatialInertia) - Method in class maspack.spatialmotion.SpatialInertia
Subtracts this spatial inertia from M1 and places the result in this spatial inertia.
sub(SpatialInertia, SpatialInertia) - Method in class maspack.spatialmotion.SpatialInertia
Subtracts spatial inertia M1 from M2 and places the result in this spatial inertia.
sub(Twist, Twist) - Method in class maspack.spatialmotion.Twist
Subtracts twist tw1 from tw2 and places the result in this twist.
sub(Twist) - Method in class maspack.spatialmotion.Twist
Subtracts tw1 from this twist and places the result in this twist.
sub(Wrench, Wrench) - Method in class maspack.spatialmotion.Wrench
Subtracts wrench wr1 from wr2 and places the result in this wrench.
sub(Wrench) - Method in class maspack.spatialmotion.Wrench
Subtracts wr1 from this wrench and places the result in this wrench.

T

TestException - exception maspack.util.TestException.
 
TestException() - Constructor for class maspack.util.TestException
 
TestException(String) - Constructor for class maspack.util.TestException
 
TestSupport - class maspack.util.TestSupport.
 
TestSupport() - Constructor for class maspack.util.TestSupport
 
TradContactSolver - class maspack.contact.TradContactSolver.
 
TradContactSolver() - Constructor for class maspack.contact.TradContactSolver
Creates a new traditional contact solver
Twist - class maspack.spatialmotion.Twist.
A spatial vector that represents a spatial velocity, comprised of a translation velocity v and an angular velocity w.
Twist() - Constructor for class maspack.spatialmotion.Twist
Creates a Twist and initializes its contents to zero.
Twist(Twist) - Constructor for class maspack.spatialmotion.Twist
Creates a Twist and initializes its contents to the values of an existing Twist.
Twist(double, double, double, double, double, double) - Constructor for class maspack.spatialmotion.Twist
Creates a Twist and initializes its components to the specified values.
Twist(Vector3d, Vector3d) - Constructor for class maspack.spatialmotion.Twist
Creates a Twist and initializes its components to the specified values.
toString() - Method in class maspack.contact.Contact
Returns a String representation of this contact, using the default format "%g" (see toString(String)).
toString(String) - Method in class maspack.contact.Contact
Returns a String representation of this contact, in which each floating point element is formated using a C printf style format string.
toString(NumberFormat) - Method in class maspack.contact.Contact
Returns a String representation of this contact, in which each floating point element is formated using a C printf style as decribed by the parameter NumberFormat.
toString() - Method in class maspack.matrix.AxisAngle
Returns a String representation of this AxisAngle, consisting of the x, y, and z components of the axis, followed by the angle (in radians).
toString(String) - Method in class maspack.matrix.AxisAngle
Returns a String representation of this AxisAngle, consisting of the x, y, and z components of the axis, followed by the angle (in radians).
toString(NumberFormat) - Method in class maspack.matrix.AxisAngle
Returns a String representation of this AxisAngle, consisting of the x, y, and z components of the axis, followed by the angle (in radians).
toString() - Method in class maspack.matrix.MatrixObject
Returns a String representation of this matrix, using the default format "%g" (see toString(String).
toString(String) - Method in class maspack.matrix.MatrixObject
Returns a String representation of this matrix, in which each element is formated using a C printf style format string.
toString(NumberFormat) - Method in class maspack.matrix.MatrixObject
Returns a String representation of this matrix, in which each element is formated using a C printf style as decribed by the parameter NumberFormat.
toString() - Method in class maspack.matrix.RigidTransform3d
Returns a string representation of this transformation as a 4 x 4 matrix.
toString(String) - Method in class maspack.matrix.RigidTransform3d
Returns a string representation of this transformation as a 4 x 4 matrix, with each number formatted according to a supplied numeric format.
toString(String, int) - Method in class maspack.matrix.RigidTransform3d
Returns a specified string representation of this transformation, with each number formatted according to the a supplied numeric format.
toString(NumberFormat, int) - Method in class maspack.matrix.RigidTransform3d
Returns a specified string representation of this transformation, with each number formatted according to the a supplied numeric format.
toString() - Method in class maspack.matrix.RotationMatrix3d
Returns a string representation of this transformation as a 3 x 3 matrix.
toString(String) - Method in class maspack.matrix.RotationMatrix3d
Returns a string representation of this transformation as a 3 x 3 matrix, with each number formatted according to a supplied numeric format.
toString(String, int) - Method in class maspack.matrix.RotationMatrix3d
Returns a specified string representation of this transformation, with each number formatted according to the a supplied numeric format.
toString(NumberFormat, int) - Method in class maspack.matrix.RotationMatrix3d
Returns a specified string representation of this transformation, with each number formatted according to the a supplied numeric format.
toString() - Method in class maspack.matrix.VectorObject
Returns a String representation of this vector, using the default format "%g" (see toString(String).
toString(String) - Method in class maspack.matrix.VectorObject
Returns a String representation of this vector, in which each element is formated using a C printf style format string.
toString(NumberFormat) - Method in class maspack.matrix.VectorObject
Returns a String representation of this vector, in which each element is formated using a C printf style as decribed by the parameter NumberFormat.
toString() - Method in class maspack.spatialmotion.SpatialInertia
Returns a string representation of this spatial inertia as a 6 x 6 matrix.
toString(String) - Method in class maspack.spatialmotion.SpatialInertia
Returns a string representation of this spatial inertia as a 6 x 6 matrix, with each number formatted according to a supplied numeric format.
toString(String, int) - Method in class maspack.spatialmotion.SpatialInertia
Returns a specified string representation of this spatial inertia, with each number formatted according to the a supplied numeric format.
toString(NumberFormat, int) - Method in class maspack.spatialmotion.SpatialInertia
Returns a specified string representation of this spatial inertia, with each number formatted according to the a supplied numeric format.
toString(NumberFormat) - Method in class maspack.spatialmotion.SpatialVector
Returns a String representation of this vector, in which each element is formated using a C printf style as decribed by the parameter NumberFormat. When called numerous times, this routine can be more efficient than toString(String), because the NumberFormat does not need to be recreated each time from a specification string.
toString(boolean[]) - Static method in class maspack.util.TestSupport
Converts an array of booleans into a String
toString(int[]) - Static method in class maspack.util.TestSupport
Converts an array of integers into a String
toString(double[]) - Static method in class maspack.util.TestSupport
Converts an array of doubles into a String
tokenName(StreamTokenizer) - Static method in class maspack.util.ScanSupport
 
transform(AffineTransform2dObject) - Method in class maspack.matrix.Point2d
Applies a affine transformation to this point, in place.
transform(AffineTransform2dObject, Vector2d) - Method in class maspack.matrix.Point2d
Applies a affine transformation to the point p1, and places the result in this point.
transform(AffineTransform3dObject) - Method in class maspack.matrix.Point3d
Applies an affine transformation to this point, in place.
transform(AffineTransform3dObject, Vector3d) - Method in class maspack.matrix.Point3d
Applies an affine transformation to the point p1, and places the result in this point.
transform(Vector2d, Vector2d) - Method in class maspack.matrix.RotationMatrix2d
 
transform(Vector2d) - Method in class maspack.matrix.RotationMatrix2d
 
transform(RotationMatrix2d) - Method in class maspack.matrix.Vector2d
Applies a rotational transformation to this vector, in place.
transform(RotationMatrix2d, Vector2d) - Method in class maspack.matrix.Vector2d
Applies a rotational transformation to the vector v1 and stores the result in this vector.
transform(AffineTransform2dObject) - Method in class maspack.matrix.Vector2d
Applies a affine transformation to this vector, in place.
transform(AffineTransform2dObject, Vector2d) - Method in class maspack.matrix.Vector2d
Applies a affine transformation to the vector v1, and places the result in this vector.
transform(RotationMatrix3d) - Method in class maspack.matrix.Vector3d
Applies a rotational transformation to this vector, in place.
transform(RotationMatrix3d, Vector3d) - Method in class maspack.matrix.Vector3d
Applies a rotational transformation to the vector v1 and stores the result in this vector.
transform(AffineTransform3dObject) - Method in class maspack.matrix.Vector3d
Applies a affine transformation to this vector, in place.
transform(AffineTransform3dObject, Vector3d) - Method in class maspack.matrix.Vector3d
Applies an affine transformation to the vector v1, and places the result in this vector.
transform(RigidTransform3d) - Method in class maspack.spatialmotion.SpatialInertia
Transforms this inertia into a new coordinate frame, given a spatial transformation matrix.
transform(RotationMatrix3d) - Method in class maspack.spatialmotion.SpatialVector
Applies a rotational transformation to this spatial vector, in place.
transform(RigidTransform3d) - Method in class maspack.spatialmotion.SpatialVector
Applies a rigid spatial transformation to this spatial vector, in place.
transform(RotationMatrix3d, Twist) - Method in class maspack.spatialmotion.Twist
Applies a rotational transformation to the twist tw1 and stores the result in this twist.
transform(RigidTransform3d, Twist) - Method in class maspack.spatialmotion.Twist
Applies a rigid spatial transformation to the twist tw1, and places the result in this twist.
transform(RotationMatrix3d, Wrench) - Method in class maspack.spatialmotion.Wrench
Applies a rotational transformation to the wrench wr1 and stores the result in this wrench.
transform(RigidTransform3d, Wrench) - Method in class maspack.spatialmotion.Wrench
Applies a rigid spatial transformation to the wrench wr1, and places the result in this wrench.
transpose(Matrix2dObject) - Method in class maspack.matrix.Matrix2d
Takes the transpose of matrix M1 and places the result in this matrix.
transpose() - Method in class maspack.matrix.Matrix2dObject
Transposes this matrix in place.
transpose(Matrix3dObject) - Method in class maspack.matrix.Matrix3d
Takes the transpose of matrix M1 and places the result in this matrix.
transpose() - Method in class maspack.matrix.Matrix3dObject
Transposes this matrix in place.
transpose(Matrix4dObject) - Method in class maspack.matrix.Matrix4d
Takes the transpose of matrix M1 and places the result in this matrix.
transpose() - Method in class maspack.matrix.Matrix4dObject
Transposes this matrix in place.
transpose() - Method in class maspack.matrix.MatrixNd
Replaces this matrix by its tranpose.
transpose(MatrixNd) - Method in class maspack.matrix.MatrixNd
Takes the transpose of matrix M1 and places the result in this matrix.
transpose() - Method in class maspack.matrix.RotationMatrix3d
Transposes this rotation in place.
transpose(RotationMatrix3d) - Method in class maspack.matrix.RotationMatrix3d
Transposes rotation R1 and places the result in this rotation.

U

UNBOUNDED_RAY - Static variable in interface maspack.contact.ContactSolver
Return code indicating that the solver was unable to find a contact solution because Lemke's algorithm terminated with an unbounded ray.
u - Variable in class maspack.matrix.Quaternion
Vector element
unsetBuffer() - Method in class maspack.matrix.MatrixNd
Removes an explicit buffer provided for this matrix and replaces it with a default implicit buffer.
unsetBuffer() - Method in class maspack.matrix.VectorNd
Removes an explicit buffer provided for this vector and replaces it with a default implicit buffer.
usec() - Method in class maspack.util.FunctionTimer
 

V

Vector2d - class maspack.matrix.Vector2d.
Implements a 2 element vector, along with its most commonly used operations.
Vector2d() - Constructor for class maspack.matrix.Vector2d
Creates a 2-vector and initializes its elements to 0.
Vector2d(Vector2d) - Constructor for class maspack.matrix.Vector2d
Creates a 2-vector by copying an existing one.
Vector2d(double, double) - Constructor for class maspack.matrix.Vector2d
Creates a 2-vector with the supplied element values.
Vector3d - class maspack.matrix.Vector3d.
Implements a 3 element vector, along with its most commonly used operations.
Vector3d() - Constructor for class maspack.matrix.Vector3d
Creates a 3-vector and initializes its elements to 0.
Vector3d(Vector3d) - Constructor for class maspack.matrix.Vector3d
Creates a 3-vector by copying an existing one.
Vector3d(double, double, double) - Constructor for class maspack.matrix.Vector3d
Creates a 3-vector with the supplied element values.
Vector3d(double[]) - Constructor for class maspack.matrix.Vector3d
Creates a 3-vector with the supplied element values.
Vector4d - class maspack.matrix.Vector4d.
Implements a 4 element vector, along with its most commonly used operations.
Vector4d() - Constructor for class maspack.matrix.Vector4d
Creates a 4-vector and initializes its elements to 0.
Vector4d(Vector4d) - Constructor for class maspack.matrix.Vector4d
Creates a 4-vector by copying an existing one.
Vector4d(double, double, double, double) - Constructor for class maspack.matrix.Vector4d
Creates a 4-vector with the supplied element values.
VectorNd - class maspack.matrix.VectorNd.
Implements general vectors, along with their most commonly used operations.
VectorNd(int) - Constructor for class maspack.matrix.VectorNd
Creates a vector of a specific size, and initializes its elements to 0.
VectorNd(int, double[]) - Constructor for class maspack.matrix.VectorNd
Creates a vector of a specific size, and initializes its elements from an array of values.
VectorNd(double[]) - Constructor for class maspack.matrix.VectorNd
Creates a vector from an array of doubles.
VectorNd(VectorObject) - Constructor for class maspack.matrix.VectorNd
Creates a vector whose size and elements are the same as an existing VectorObject.
VectorObject - class maspack.matrix.VectorObject.
Base class for vectors.
VectorObject() - Constructor for class maspack.matrix.VectorObject
 
v - Variable in class maspack.spatialmotion.Twist
Translational velocity

W

Wrench - class maspack.spatialmotion.Wrench.
A spatial vector that represents a spatial force, comprised of a translation force f and a moment m.
Wrench() - Constructor for class maspack.spatialmotion.Wrench
Creates a Wrench and initializes its contents to zero.
Wrench(Wrench) - Constructor for class maspack.spatialmotion.Wrench
Creates a Wrench and initializes its contents to the values of an existing Wrench.
Wrench(double, double, double, double, double, double) - Constructor for class maspack.spatialmotion.Wrench
Creates a Wrench and initializes its components to the specified values.
Wrench(Vector3d, Vector3d) - Constructor for class maspack.spatialmotion.Wrench
Creates a Wrench and initializes its components to the specified values.
w - Variable in class maspack.matrix.Vector4d
Fourth element
w - Variable in class maspack.spatialmotion.Twist
Rotational (angular) velocity

X

x - Variable in class maspack.matrix.Vector2d
First element
x - Variable in class maspack.matrix.Vector3d
First element
x - Variable in class maspack.matrix.Vector4d
First element

Y

y - Variable in class maspack.matrix.Vector2d
Second element
y - Variable in class maspack.matrix.Vector3d
Second element
y - Variable in class maspack.matrix.Vector4d
Second element

Z

z - Variable in class maspack.matrix.Vector3d
Third element
z - Variable in class maspack.matrix.Vector4d
Third element

A B C D E F G H I L M N O P Q R S T U V W X Y Z