public class EigenDecomposition extends Object implements IEquatable<EigenDecomposition>
| Constructor and Description |
|---|
EigenDecomposition(Matrix3By3 eigenvectors,
Matrix3By3 eigenValues)
Initializes a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
static boolean |
equals(EigenDecomposition left,
EigenDecomposition right)
Returns
true if the two instances are exactly equal. |
boolean |
equals(Object obj)
Indicates whether another object is exactly equal to this instance.
|
boolean |
equalsType(EigenDecomposition other)
Indicates whether another instance of this type is exactly equal to this instance.
|
Matrix3By3 |
getValues()
Gets the 3-by-3 matrix where the diagonal elements of the matrix hold the eigenvalues.
|
Matrix3By3 |
getVectors()
Gets the 3-by-3 matrix where the columns of the matrix hold the eigenvectors.
|
int |
hashCode()
Returns a hash code for this instance, which is suitable for use in hashing algorithms and data structures like a hash table.
|
static boolean |
notEquals(EigenDecomposition left,
EigenDecomposition right)
Returns
true if the two instances are not exactly equal. |
public EigenDecomposition(@Nonnull Matrix3By3 eigenvectors, @Nonnull Matrix3By3 eigenValues)
eigenvectors - The 3-by-3 matrix where the columns of the matrix hold the eigenvectors.eigenValues - The 3-by-3 matrix where the diagonal elements of the matrix hold the eigenvalues.@Nonnull public final Matrix3By3 getVectors()
@Nonnull public final Matrix3By3 getValues()
public boolean equals(Object obj)
equals in class Objectobj - The object to compare to this instance.true if obj is an instance of this type and represents the same value as this instance; otherwise false.Object.hashCode(),
HashMappublic final boolean equalsType(EigenDecomposition other)
equalsType in interface IEquatable<EigenDecomposition>other - The instance to compare to this instance.true if other represents the same value as this instance; otherwise false.public int hashCode()
hashCode in class ObjectObject.equals(java.lang.Object),
System.identityHashCode(java.lang.Object)public static boolean equals(EigenDecomposition left, EigenDecomposition right)
true if the two instances are exactly equal.left - The instance to compare to right.right - The instance to compare to left.true if left represents the same value as right; otherwise false.public static boolean notEquals(EigenDecomposition left, EigenDecomposition right)
true if the two instances are not exactly equal.left - The instance to compare to right.right - The instance to compare to left.true if left does not represent the same value as right; otherwise false.