Table of Contents

Struct bool4x2

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

Constructors

bool4x2(bool4)

public bool4x2(bool4 value)

Parameters

value bool4

bool4x2(bool4, bool4)

public bool4x2(bool4 c0, bool4 c1)

Parameters

c0 bool4
c1 bool4

bool4x2(bool)

public bool4x2(bool value)

Parameters

value bool

bool4x2(bool, bool, bool, bool, bool, bool, bool, bool)

public bool4x2(bool m00, bool m01, bool m10, bool m11, bool m20, bool m21, bool m30, bool m31)

Parameters

m00 bool
m01 bool
m10 bool
m11 bool
m20 bool
m21 bool
m30 bool
m31 bool

bool4x2(in ReadOnlySpan<bool4>)

public bool4x2(in ReadOnlySpan<bool4> values)

Parameters

values ReadOnlySpan<bool4>

bool4x2(in ReadOnlySpan<uint>)

public bool4x2(in ReadOnlySpan<uint> values)

Parameters

values ReadOnlySpan<uint>

bool4x2(uint)

public bool4x2(uint value)

Parameters

value uint

bool4x2(uint, uint, uint, uint, uint, uint, uint, uint)

public bool4x2(uint m00, uint m01, uint m10, uint m11, uint m20, uint m21, uint m30, uint m31)

Parameters

m00 uint
m01 uint
m10 uint
m11 uint
m20 uint
m21 uint
m30 uint
m31 uint

Fields

c0

public bool4 c0

Field Value

bool4

c1

public bool4 c1

Field Value

bool4

Properties

this[int]

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

Parameters

index int

Property Value

bool4

Methods

Equals(bool4x2)

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

public readonly bool Equals(bool4x2 other)

Parameters

other bool4x2

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

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

Parameters

lhs bool4x2
rhs bool4x2

Returns

bool4x2

implicit operator bool4x2(bool4)

public static implicit operator bool4x2(bool4 value)

Parameters

value bool4

Returns

bool4x2

implicit operator bool4x2(ReadOnlySpan<bool4>)

public static implicit operator bool4x2(ReadOnlySpan<bool4> value)

Parameters

value ReadOnlySpan<bool4>

Returns

bool4x2

operator !=(bool4x2, bool4x2)

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

Parameters

lhs bool4x2
rhs bool4x2

Returns

bool4x2