Struct Eigen
Eigen data structure with values and vectors in double precision.
Inherited Members
System.ValueType.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Fusee.Math.Core
Assembly: Fusee.Math.Core.dll
Syntax
public struct Eigen
Constructors
Eigen(double3[])
Creates a new instance.
Declaration
public Eigen(double3[] vals)
Parameters
Type | Name | Description |
---|---|---|
double3[] | vals |
Eigen(float3[])
Creates a new instance.
Declaration
public Eigen(float3[] vals)
Parameters
Type | Name | Description |
---|---|---|
float3[] | vals |
Fields
Values
Eigen values.
Declaration
public double[] Values
Field Value
Type | Description |
---|---|
System.Double[] |
Vectors
Eigen vectors.
Declaration
public double3[] Vectors
Field Value
Type | Description |
---|---|
double3[] |
Properties
RotationMatrix
Generates the rotation matrix from eigen vectors
Declaration
public readonly double4x4 RotationMatrix { get; }
Property Value
Type | Description |
---|---|
double4x4 |
Methods
Equals(Object)
Checks if two EigenD values are the same
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
System.Object | obj |
Returns
Type | Description |
---|---|
System.Boolean |
Overrides
System.ValueType.Equals(System.Object)
GetHashCode()
Returns hash code
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 |
Overrides
System.ValueType.GetHashCode()
Operators
Equality(Eigen, Eigen)
Checks if two EigenD values are the same
Declaration
public static bool operator ==(Eigen left, Eigen right)
Parameters
Type | Name | Description |
---|---|---|
Eigen | left | |
Eigen | right |
Returns
Type | Description |
---|---|
System.Boolean |
Inequality(Eigen, Eigen)
Checks if two EigenD values aren't the same
Declaration
public static bool operator !=(Eigen left, Eigen right)
Parameters
Type | Name | Description |
---|---|---|
Eigen | left | |
Eigen | right |
Returns
Type | Description |
---|---|
System.Boolean |