Sets the values in this Matrix3d equal to the row-major
array parameter (ie, the first three elements of the
array will be copied into the first row of this matrix, etc.).
Sets the values in this Matrix3f equal to the row-major
array parameter (ie, the first three elements of the
array will be copied into the first row of this matrix, etc.).
Sets the values in this Matrix4d equal to the row-major
array parameter (ie, the first four elements of the
array will be copied into the first row of this matrix, etc.).
Sets the rotational component (upper 3x3) of this matrix to the
matrix values in the single precision Matrix3f argument; the other
elements of this matrix are initialized as if this were an identity
matrix (i.e., affine matrix with no translational component).
Sets the rotational component (upper 3x3) of this matrix to the
matrix values in the double precision Matrix3d argument; the other
elements of this matrix are initialized as if this were an identity
matrix (i.e., affine matrix with no translational component).
Sets the value of this transform to a scale and translation matrix;
the scale is not applied to the translation and all of the matrix
values are modified.
Sets the value of this transform to a scale and translation matrix;
the translation is scaled by the scale factor and all of the matrix
values are modified.
Sets the rotational component (upper 3x3) of this matrix to the
matrix values in the single precision Matrix3f argument; the other
elements of this matrix are initialized as if this were an identity
matrix (i.e., affine matrix with no translational component).
Sets the rotational component (upper 3x3) of this matrix to the
matrix values in the double precision Matrix3d argument; the other
elements of this matrix are initialized as if this were an identity
matrix (i.e., affine matrix with no translational component).
Sets the values in this Matrix4f equal to the row-major
array parameter (ie, the first four elements of the
array will be copied into the first row of this matrix, etc.).
Sets the value of this transform to a scale and translation matrix;
the scale is not applied to the translation and all of the matrix
values are modified.
Sets the value of this transform to a scale and translation matrix;
the translation is scaled by the scale factor and all of the matrix
values are modified.
Sets the rotational component (upper 3x3) of this matrix to the
matrix values in the double precision Matrix3d argument; the other
elements of this matrix are unchanged; a singular value
decomposition is performed on this object's upper 3x3 matrix to
factor out the scale, then this object's upper 3x3 matrix components
are replaced by the passed rotation components,
and then the scale is reapplied to the rotational components.
Sets the rotational component (upper 3x3) of this matrix to the
matrix values in the single precision Matrix3f argument; the other
elements of this matrix are unchanged; a singular value
decomposition is performed on this object's upper 3x3 matrix to
factor out the scale, then this object's upper 3x3 matrix components
are replaced by the passed rotation components,
and then the scale is reapplied to the rotational components.
Sets the rotational component (upper 3x3) of this matrix to the
matrix equivalent values of the quaternion argument; the other
elements of this matrix are unchanged; a singular value
decomposition is performed on this object's upper 3x3 matrix to
factor out the scale, then this object's upper 3x3 matrix components
are replaced by the matrix equivalent of the quaternion,
and then the scale is reapplied to the rotational components.
Sets the rotational component (upper 3x3) of this matrix to the
matrix equivalent values of the quaternion argument; the other
elements of this matrix are unchanged; a singular value
decomposition is performed on this object's upper 3x3 matrix to
factor out the scale, then this object's upper 3x3 matrix components
are replaced by the matrix equivalent of the quaternion,
and then the scale is reapplied to the rotational components.
Sets the rotational component (upper 3x3) of this matrix to the
matrix equivalent values of the axis-angle argument; the other
elements of this matrix are unchanged; a singular value
decomposition is performed on this object's upper 3x3 matrix to
factor out the scale, then this object's upper 3x3 matrix components
are replaced by the matrix equivalent of the axis-angle,
and then the scale is reapplied to the rotational components.
Sets the rotational component (upper 3x3) of this matrix to the
matrix values in the double precision Matrix3d argument; the other
elements of this matrix are unchanged; a singular value
decomposition is performed on this object's upper 3x3 matrix to
factor out the scale, then this object's upper 3x3 matrix components
are replaced by the passed rotation components,
and then the scale is reapplied to the rotational components.
Sets the rotational component (upper 3x3) of this matrix to the
matrix values in the single precision Matrix3f argument; the other
elements of this matrix are unchanged; a singular value
decomposition is performed on this object's upper 3x3 matrix to
factor out the scale, then this object's upper 3x3 matrix components
are replaced by the passed rotation components,
and then the scale is reapplied to the rotational components.
Sets the rotational component (upper 3x3) of this matrix to the
matrix equivalent values of the quaternion argument; the other
elements of this matrix are unchanged; a singular value
decomposition is performed on this object's upper 3x3 matrix to
factor out the scale, then this object's upper 3x3 matrix components
are replaced by the matrix equivalent of the quaternion,
and then the scale is reapplied to the rotational components.
Sets the rotational component (upper 3x3) of this matrix to the
matrix equivalent values of the quaternion argument; the other
elements of this matrix are unchanged; a singular value
decomposition is performed on this object's upper 3x3 matrix to
factor out the scale, then this object's upper 3x3 matrix components
are replaced by the matrix equivalent of the quaternion,
and then the scale is reapplied to the rotational components.
Sets the rotational component (upper 3x3) of this matrix to the
matrix equivalent values of the axis-angle argument; the other
elements of this matrix are unchanged; a singular value
decomposition is performed on this object's upper 3x3 matrix to
factor out the scale, then this object's upper 3x3 matrix components
are replaced by the matrix equivalent of the axis-angle,
and then the scale is reapplied to the rotational components.
Sets the scale component of the current matrix by factoring
out the current scale (by doing an SVD) from the rotational
component and multiplying by the new scale.
Sets the scale component of the current matrix by factoring
out the current scale (by doing an SVD) from the rotational
component and multiplying by the new scale.
Finds the singular value decomposition (SVD) of this matrix
such that this = U*W*transpose(V); and returns the rank of
this matrix; the values of U,W,V are all overwritten.
Solves for x in Ax = b, where x is this vector (nx1), A is mxn,
b is mx1, and A = U*W*transpose(V); U,W,V must
be precomputed and can be found by taking the singular value
decomposition (SVD) of A using the method SVD found in the
GMatrix class.