Struct double2x2
- Namespace
- Misaki.HighPerformance.Mathematics
- Assembly
- Misaki.HighPerformance.Mathematics.dll
[NumericType(typeof(double2), 8, 2, 2, "global::Misaki.HighPerformance.Mathematics.double", true, true, typeof(double), null)]
public struct double2x2 : IEquatable<double2x2>
- Implements
- Inherited Members
Constructors
double2x2(double2)
public double2x2(double2 value)
Parameters
valuedouble2
double2x2(double2, double2)
public double2x2(double2 c0, double2 c1)
Parameters
double2x2(double)
public double2x2(double value)
Parameters
valuedouble
double2x2(double, double, double, double)
public double2x2(double m00, double m01, double m10, double m11)
Parameters
double2x2(in ReadOnlySpan<double2>)
public double2x2(in ReadOnlySpan<double2> values)
Parameters
valuesReadOnlySpan<double2>
double2x2(in ReadOnlySpan<double>)
public double2x2(in ReadOnlySpan<double> values)
Parameters
valuesReadOnlySpan<double>
Fields
c0
public double2 c0
Field Value
c1
public double2 c1
Field Value
Properties
this[int]
public ref double2 this[int index] { get; }
Parameters
indexint
Property Value
identity
public static double2x2 identity { get; }
Property Value
zero
public static double2x2 zero { get; }
Property Value
Methods
Equals(double2x2)
Indicates whether the current object is equal to another object of the same type.
public readonly bool Equals(double2x2 other)
Parameters
otherdouble2x2An object to compare with this object.
Returns
Equals(object?)
Indicates whether this instance and a specified object are equal.
public override readonly bool Equals(object? obj)
Parameters
objobjectThe object to compare with the current instance.
Returns
- bool
true if
objand this instance are the same type and represent the same value; otherwise, false.
GetHashCode()
Returns the hash code for this instance.
public override readonly int GetHashCode()
Returns
- int
A 32-bit signed integer that is the hash code for this instance.
ToString()
Returns the fully qualified type name of this instance.
public override readonly string ToString()
Returns
- string
The fully qualified type name.
Operators
operator +(double2, double2x2)
public static double2x2 operator +(double2 lhs, double2x2 rhs)
Parameters
Returns
operator +(double2x2, double2)
public static double2x2 operator +(double2x2 lhs, double2 rhs)
Parameters
Returns
operator +(double2x2, double2x2)
public static double2x2 operator +(double2x2 lhs, double2x2 rhs)
Parameters
Returns
operator --(double2x2)
public static double2x2 operator --(double2x2 value)
Parameters
valuedouble2x2
Returns
operator /(double2, double2x2)
public static double2x2 operator /(double2 lhs, double2x2 rhs)
Parameters
Returns
operator /(double2x2, double2)
public static double2x2 operator /(double2x2 lhs, double2 rhs)
Parameters
Returns
operator /(double2x2, double2x2)
public static double2x2 operator /(double2x2 lhs, double2x2 rhs)
Parameters
Returns
operator ==(double2x2, double2x2)
public static bool2x2 operator ==(double2x2 lhs, double2x2 rhs)
Parameters
Returns
operator >(double2x2, double2x2)
public static bool2x2 operator >(double2x2 lhs, double2x2 rhs)
Parameters
Returns
operator >=(double2x2, double2x2)
public static bool2x2 operator >=(double2x2 lhs, double2x2 rhs)
Parameters
Returns
implicit operator double2x2(double2)
public static implicit operator double2x2(double2 value)
Parameters
valuedouble2
Returns
implicit operator double2x2(ReadOnlySpan<double2>)
public static implicit operator double2x2(ReadOnlySpan<double2> value)
Parameters
valueReadOnlySpan<double2>
Returns
operator ++(double2x2)
public static double2x2 operator ++(double2x2 value)
Parameters
valuedouble2x2
Returns
operator !=(double2x2, double2x2)
public static bool2x2 operator !=(double2x2 lhs, double2x2 rhs)
Parameters
Returns
operator <(double2x2, double2x2)
public static bool2x2 operator <(double2x2 lhs, double2x2 rhs)
Parameters
Returns
operator <=(double2x2, double2x2)
public static bool2x2 operator <=(double2x2 lhs, double2x2 rhs)
Parameters
Returns
operator %(double2, double2x2)
public static double2x2 operator %(double2 lhs, double2x2 rhs)
Parameters
Returns
operator %(double2x2, double2)
public static double2x2 operator %(double2x2 lhs, double2 rhs)
Parameters
Returns
operator %(double2x2, double2x2)
public static double2x2 operator %(double2x2 lhs, double2x2 rhs)
Parameters
Returns
operator *(double2, double2x2)
public static double2x2 operator *(double2 lhs, double2x2 rhs)
Parameters
Returns
operator *(double2x2, double2)
public static double2x2 operator *(double2x2 lhs, double2 rhs)
Parameters
Returns
operator *(double2x2, double2x2)
public static double2x2 operator *(double2x2 lhs, double2x2 rhs)
Parameters
Returns
operator -(double2, double2x2)
public static double2x2 operator -(double2 lhs, double2x2 rhs)
Parameters
Returns
operator -(double2x2, double2)
public static double2x2 operator -(double2x2 lhs, double2 rhs)
Parameters
Returns
operator -(double2x2, double2x2)
public static double2x2 operator -(double2x2 lhs, double2x2 rhs)
Parameters
Returns
operator -(double2x2)
public static double2x2 operator -(double2x2 value)
Parameters
valuedouble2x2
Returns
operator +(double2x2)
public static double2x2 operator +(double2x2 value)
Parameters
valuedouble2x2