Table of Contents

Struct float2x2

Namespace
Misaki.HighPerformance.Mathematics
Assembly
Misaki.HighPerformance.Mathematics.dll
[NumericType(typeof(float2), 4, 2, 2, "global::Misaki.HighPerformance.Mathematics.float", true, true, typeof(float), null)]
[NumericConvertable("{v}.{c}", new Type[] { typeof(int2x2), typeof(uint2x2), typeof(double2x2) })]
public struct float2x2 : IEquatable<float2x2>
Implements
Inherited Members

Constructors

float2x2(double2x2)

public float2x2(double2x2 v)

Parameters

v double2x2

float2x2(float2)

public float2x2(float2 value)

Parameters

value float2

float2x2(float2, float2)

public float2x2(float2 c0, float2 c1)

Parameters

c0 float2
c1 float2

float2x2(int2x2)

public float2x2(int2x2 v)

Parameters

v int2x2

float2x2(uint2x2)

public float2x2(uint2x2 v)

Parameters

v uint2x2

float2x2(in ReadOnlySpan<float2>)

public float2x2(in ReadOnlySpan<float2> values)

Parameters

values ReadOnlySpan<float2>

float2x2(in ReadOnlySpan<float>)

public float2x2(in ReadOnlySpan<float> values)

Parameters

values ReadOnlySpan<float>

float2x2(float)

public float2x2(float value)

Parameters

value float

float2x2(float, float, float, float)

public float2x2(float m00, float m01, float m10, float m11)

Parameters

m00 float
m01 float
m10 float
m11 float

Fields

c0

public float2 c0

Field Value

float2

c1

public float2 c1

Field Value

float2

Properties

this[int]

public ref float2 this[int index] { get; }

Parameters

index int

Property Value

float2

identity

public static float2x2 identity { get; }

Property Value

float2x2

zero

public static float2x2 zero { get; }

Property Value

float2x2

Methods

Equals(float2x2)

Indicates whether the current object is equal to another object of the same type.

public readonly bool Equals(float2x2 other)

Parameters

other float2x2

An object to compare with this object.

Returns

bool

true if the current object is equal to the other parameter; otherwise, false.

Equals(object?)

Indicates whether this instance and a specified object are equal.

public override readonly bool Equals(object? obj)

Parameters

obj object

The object to compare with the current instance.

Returns

bool

true if obj and 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 +(float2, float2x2)

public static float2x2 operator +(float2 lhs, float2x2 rhs)

Parameters

lhs float2
rhs float2x2

Returns

float2x2

operator +(float2x2, float2)

public static float2x2 operator +(float2x2 lhs, float2 rhs)

Parameters

lhs float2x2
rhs float2

Returns

float2x2

operator +(float2x2, float2x2)

public static float2x2 operator +(float2x2 lhs, float2x2 rhs)

Parameters

lhs float2x2
rhs float2x2

Returns

float2x2

operator --(float2x2)

public static float2x2 operator --(float2x2 value)

Parameters

value float2x2

Returns

float2x2

operator /(float2, float2x2)

public static float2x2 operator /(float2 lhs, float2x2 rhs)

Parameters

lhs float2
rhs float2x2

Returns

float2x2

operator /(float2x2, float2)

public static float2x2 operator /(float2x2 lhs, float2 rhs)

Parameters

lhs float2x2
rhs float2

Returns

float2x2

operator /(float2x2, float2x2)

public static float2x2 operator /(float2x2 lhs, float2x2 rhs)

Parameters

lhs float2x2
rhs float2x2

Returns

float2x2

operator ==(float2x2, float2x2)

public static bool2x2 operator ==(float2x2 lhs, float2x2 rhs)

Parameters

lhs float2x2
rhs float2x2

Returns

bool2x2

operator >(float2x2, float2x2)

public static bool2x2 operator >(float2x2 lhs, float2x2 rhs)

Parameters

lhs float2x2
rhs float2x2

Returns

bool2x2

operator >=(float2x2, float2x2)

public static bool2x2 operator >=(float2x2 lhs, float2x2 rhs)

Parameters

lhs float2x2
rhs float2x2

Returns

bool2x2

implicit operator float2x2(float2)

public static implicit operator float2x2(float2 value)

Parameters

value float2

Returns

float2x2

implicit operator float2x2(ReadOnlySpan<float2>)

public static implicit operator float2x2(ReadOnlySpan<float2> value)

Parameters

value ReadOnlySpan<float2>

Returns

float2x2

operator ++(float2x2)

public static float2x2 operator ++(float2x2 value)

Parameters

value float2x2

Returns

float2x2

operator !=(float2x2, float2x2)

public static bool2x2 operator !=(float2x2 lhs, float2x2 rhs)

Parameters

lhs float2x2
rhs float2x2

Returns

bool2x2

operator <(float2x2, float2x2)

public static bool2x2 operator <(float2x2 lhs, float2x2 rhs)

Parameters

lhs float2x2
rhs float2x2

Returns

bool2x2

operator <=(float2x2, float2x2)

public static bool2x2 operator <=(float2x2 lhs, float2x2 rhs)

Parameters

lhs float2x2
rhs float2x2

Returns

bool2x2

operator %(float2, float2x2)

public static float2x2 operator %(float2 lhs, float2x2 rhs)

Parameters

lhs float2
rhs float2x2

Returns

float2x2

operator %(float2x2, float2)

public static float2x2 operator %(float2x2 lhs, float2 rhs)

Parameters

lhs float2x2
rhs float2

Returns

float2x2

operator %(float2x2, float2x2)

public static float2x2 operator %(float2x2 lhs, float2x2 rhs)

Parameters

lhs float2x2
rhs float2x2

Returns

float2x2

operator *(float2, float2x2)

public static float2x2 operator *(float2 lhs, float2x2 rhs)

Parameters

lhs float2
rhs float2x2

Returns

float2x2

operator *(float2x2, float2)

public static float2x2 operator *(float2x2 lhs, float2 rhs)

Parameters

lhs float2x2
rhs float2

Returns

float2x2

operator *(float2x2, float2x2)

public static float2x2 operator *(float2x2 lhs, float2x2 rhs)

Parameters

lhs float2x2
rhs float2x2

Returns

float2x2

operator -(float2, float2x2)

public static float2x2 operator -(float2 lhs, float2x2 rhs)

Parameters

lhs float2
rhs float2x2

Returns

float2x2

operator -(float2x2, float2)

public static float2x2 operator -(float2x2 lhs, float2 rhs)

Parameters

lhs float2x2
rhs float2

Returns

float2x2

operator -(float2x2, float2x2)

public static float2x2 operator -(float2x2 lhs, float2x2 rhs)

Parameters

lhs float2x2
rhs float2x2

Returns

float2x2

operator -(float2x2)

public static float2x2 operator -(float2x2 value)

Parameters

value float2x2

Returns

float2x2

operator +(float2x2)

public static float2x2 operator +(float2x2 value)

Parameters

value float2x2

Returns

float2x2