The index into Matrix3 for column 0, row 0.
The index into Matrix3 for column 0, row 1.
The index into Matrix3 for column 0, row 2.
The index into Matrix3 for column 1, row 0.
The index into Matrix3 for column 1, row 1.
The index into Matrix3 for column 1, row 2.
The index into Matrix3 for column 2, row 0.
The index into Matrix3 for column 2, row 1.
The index into Matrix3 for column 2, row 2.
An immutable Matrix3 instance initialized to the identity matrix.
An immutable Matrix3 instance initialized to the zero matrix.
The number of elements used to pack the object into an array.
Duplicates the provided Matrix3 instance.
The modified result parameter or a new Matrix3 instance if one was not provided.
Compares this matrix to the provided matrix componentwise and returns
true
if they are equal, false
otherwise.
true
if they are equal, false
otherwise.
Compares this matrix to the provided matrix componentwise and returns
true
if they are within the provided epsilon,
false
otherwise.
true
if they are within the provided epsilon, false
otherwise.
Creates a string representing this Matrix with each row being on a separate line and in the format '(column0, column1, column2)'.
A string representing the provided Matrix with each row being on a separate line and in the format '(column0, column1, column2)'.
Computes a matrix, which contains the absolute (unsigned) values of the provided matrix's elements.
The matrix with signed elements.
The object onto which to store the result.
The modified result parameter.
Computes the sum of two matrices.
The first matrix.
The second matrix.
The object onto which to store the result.
The modified result parameter.
Duplicates a Matrix3 instance.
The matrix to duplicate.
The modified result parameter or a new Matrix3 instance if one was not provided. (Returns undefined if matrix is undefined)
Computes the eigenvectors and eigenvalues of a symmetric matrix.
Returns a diagonal matrix and unitary matrix such that:
matrix = unitary matrix * diagonal matrix * transpose(unitary matrix)
The values along the diagonal of the diagonal matrix are the eigenvalues. The columns of the unitary matrix are the corresponding eigenvectors.
The matrix to decompose into diagonal and unitary matrix. Expected to be symmetric.
An object with unitary and diagonal properties which are the unitary and diagonal matrices, respectively.
Computes the determinant of the provided matrix.
The matrix to use.
The value of the determinant of the matrix.
Compares the provided matrices componentwise and returns
true
if they are equal, false
otherwise.
true
if left and right are equal, false
otherwise.
Compares the provided matrices componentwise and returns
true
if they are within the provided epsilon,
false
otherwise.
true
if left and right are within the provided epsilon, false
otherwise.
Creates a Matrix3 instance from a column-major order array.
The column-major order array.
The modified result parameter, or a new Matrix3 instance if one was not provided.
Computes a Matrix3 instance representing the cross product equivalent matrix of a Cartesian3 vector.
the vector on the left hand side of the cross product operation.
The modified result parameter, or a new Matrix3 instance if one was not provided.
Computes a 3x3 rotation matrix from the provided headingPitchRoll. (see http://en.wikipedia.org/wiki/Conversion_between_quaternions_and_Euler_angles )
the headingPitchRoll to use.
The 3x3 rotation matrix from this headingPitchRoll.
Computes a 3x3 rotation matrix from the provided quaternion.
the quaternion to use.
The 3x3 rotation matrix from this quaternion.
Creates a rotation matrix around the x-axis.
The angle, in radians, of the rotation. Positive angles are counterclockwise.
The modified result parameter, or a new Matrix3 instance if one was not provided.
Creates a rotation matrix around the y-axis.
The angle, in radians, of the rotation. Positive angles are counterclockwise.
The modified result parameter, or a new Matrix3 instance if one was not provided.
Creates a rotation matrix around the z-axis.
The angle, in radians, of the rotation. Positive angles are counterclockwise.
The modified result parameter, or a new Matrix3 instance if one was not provided.
Creates a Matrix3 instance from a row-major order array. The resulting matrix will be in column-major order.
The row-major order array.
The modified result parameter, or a new Matrix3 instance if one was not provided.
Computes a Matrix3 instance representing a non-uniform scale.
The x, y, and z scale factors.
The modified result parameter, or a new Matrix3 instance if one was not provided.
Computes a Matrix3 instance representing a uniform scale.
The uniform scale factor.
The modified result parameter, or a new Matrix3 instance if one was not provided.
Retrieves a copy of the matrix column at the provided index as a Cartesian3 instance.
The matrix to use.
The zero-based index of the column to retrieve.
The object onto which to store the result.
The modified result parameter.
Computes the array index of the element at the provided row and column.
The zero-based index of the row.
The zero-based index of the column.
The index of the element at the provided row and column.
Computes the maximum scale assuming the matrix is an affine transformation. The maximum scale is the maximum length of the column vectors.
The matrix.
The maximum scale.
Extracts the rotation assuming the matrix is an affine transformation.
The matrix.
The object onto which to store the result.
The modified result parameter
Retrieves a copy of the matrix row at the provided index as a Cartesian3 instance.
The matrix to use.
The zero-based index of the row to retrieve.
The object onto which to store the result.
The modified result parameter.
Extracts the non-uniform scale assuming the matrix is an affine transformation.
The matrix.
The object onto which to store the result.
The modified result parameter.
Computes the inverse of the provided matrix.
The matrix to invert.
The object onto which to store the result.
The modified result parameter.
Computes the product of two matrices.
The first matrix.
The second matrix.
The object onto which to store the result.
The modified result parameter.
Computes the product of a matrix and a scalar.
The matrix.
The number to multiply by.
The object onto which to store the result.
The modified result parameter.
Computes the product of a matrix times a (non-uniform) scale, as if the scale were a scale matrix.
The matrix on the left-hand side.
The non-uniform scale on the right-hand side.
The object onto which to store the result.
The modified result parameter.
Computes the product of a matrix and a column vector.
The matrix.
The column.
The object onto which to store the result.
The modified result parameter.
Creates a negated copy of the provided matrix.
The matrix to negate.
The object onto which to store the result.
The modified result parameter.
Stores the provided instance into the provided array.
The value to pack.
The array to pack into.
The array that was packed into
Computes a new matrix that replaces the specified column in the provided matrix with the provided Cartesian3 instance.
The matrix to use.
The zero-based index of the column to set.
The Cartesian whose values will be assigned to the specified column.
The object onto which to store the result.
The modified result parameter.
Computes a new matrix that replaces the specified row in the provided matrix with the provided Cartesian3 instance.
The matrix to use.
The zero-based index of the row to set.
The Cartesian whose values will be assigned to the specified row.
The object onto which to store the result.
The modified result parameter.
Computes the difference of two matrices.
The first matrix.
The second matrix.
The object onto which to store the result.
The modified result parameter.
Creates an Array from the provided Matrix3 instance. The array will be in column-major order.
The matrix to use..
The modified Array parameter or a new Array instance if one was not provided.
Computes the transpose of the provided matrix.
The matrix to transpose.
The object onto which to store the result.
The modified result parameter.
Retrieves an instance from a packed array.
The packed array.
The modified result parameter or a new Matrix3 instance if one was not provided.
Gets the number of items in the collection.