Table of Contents

Struct bool2x2

Namespace
Misaki.HighPerformance.Mathematics
Assembly
Misaki.HighPerformance.Mathematics.dll
[NumericType(typeof(bool2), 4, 2, 2, "global::Misaki.HighPerformance.Mathematics.bool", false, true, typeof(uint), null)]
public struct bool2x2 : IEquatable<bool2x2>
Implements
Inherited Members

Constructors

bool2x2(bool2)

public bool2x2(bool2 value)

Parameters

value bool2

bool2x2(bool2, bool2)

public bool2x2(bool2 c0, bool2 c1)

Parameters

c0 bool2
c1 bool2

bool2x2(bool)

public bool2x2(bool value)

Parameters

value bool

bool2x2(bool, bool, bool, bool)

public bool2x2(bool m00, bool m01, bool m10, bool m11)

Parameters

m00 bool
m01 bool
m10 bool
m11 bool

bool2x2(in ReadOnlySpan<bool2>)

public bool2x2(in ReadOnlySpan<bool2> values)

Parameters

values ReadOnlySpan<bool2>

bool2x2(in ReadOnlySpan<uint>)

public bool2x2(in ReadOnlySpan<uint> values)

Parameters

values ReadOnlySpan<uint>

bool2x2(uint)

public bool2x2(uint value)

Parameters

value uint

bool2x2(uint, uint, uint, uint)

public bool2x2(uint m00, uint m01, uint m10, uint m11)

Parameters

m00 uint
m01 uint
m10 uint
m11 uint

Fields

c0

public bool2 c0

Field Value

bool2

c1

public bool2 c1

Field Value

bool2

Properties

this[int]

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

Parameters

index int

Property Value

bool2

Methods

Equals(bool2x2)

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

public readonly bool Equals(bool2x2 other)

Parameters

other bool2x2

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 ==(bool2x2, bool2x2)

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

Parameters

lhs bool2x2
rhs bool2x2

Returns

bool2x2

implicit operator bool2x2(bool2)

public static implicit operator bool2x2(bool2 value)

Parameters

value bool2

Returns

bool2x2

implicit operator bool2x2(ReadOnlySpan<bool2>)

public static implicit operator bool2x2(ReadOnlySpan<bool2> value)

Parameters

value ReadOnlySpan<bool2>

Returns

bool2x2

operator !=(bool2x2, bool2x2)

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

Parameters

lhs bool2x2
rhs bool2x2

Returns

bool2x2