Struct bool2x4
- Namespace
- Misaki.HighPerformance.Mathematics
- Assembly
- Misaki.HighPerformance.Mathematics.dll
[NumericType(typeof(bool2), 4, 2, 4, "global::Misaki.HighPerformance.Mathematics.bool", false, true, typeof(uint), null)]
public struct bool2x4 : IEquatable<bool2x4>
- Implements
- Inherited Members
Constructors
bool2x4(bool2)
public bool2x4(bool2 value)
Parameters
valuebool2
bool2x4(bool2, bool2, bool2, bool2)
public bool2x4(bool2 c0, bool2 c1, bool2 c2, bool2 c3)
Parameters
bool2x4(bool)
public bool2x4(bool value)
Parameters
valuebool
bool2x4(bool, bool, bool, bool, bool, bool, bool, bool)
public bool2x4(bool m00, bool m01, bool m02, bool m03, bool m10, bool m11, bool m12, bool m13)
Parameters
bool2x4(in ReadOnlySpan<bool2>)
public bool2x4(in ReadOnlySpan<bool2> values)
Parameters
valuesReadOnlySpan<bool2>
bool2x4(in ReadOnlySpan<uint>)
public bool2x4(in ReadOnlySpan<uint> values)
Parameters
valuesReadOnlySpan<uint>
bool2x4(uint)
public bool2x4(uint value)
Parameters
valueuint
bool2x4(uint, uint, uint, uint, uint, uint, uint, uint)
public bool2x4(uint m00, uint m01, uint m02, uint m03, uint m10, uint m11, uint m12, uint m13)
Parameters
Fields
c0
public bool2 c0
Field Value
c1
public bool2 c1
Field Value
c2
public bool2 c2
Field Value
c3
public bool2 c3
Field Value
Properties
this[int]
public ref bool2 this[int index] { get; }
Parameters
indexint
Property Value
Methods
Equals(bool2x4)
Indicates whether the current object is equal to another object of the same type.
public readonly bool Equals(bool2x4 other)
Parameters
otherbool2x4An 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 ==(bool2x4, bool2x4)
public static bool2x4 operator ==(bool2x4 lhs, bool2x4 rhs)
Parameters
Returns
implicit operator bool2x4(bool2)
public static implicit operator bool2x4(bool2 value)
Parameters
valuebool2
Returns
implicit operator bool2x4(ReadOnlySpan<bool2>)
public static implicit operator bool2x4(ReadOnlySpan<bool2> value)
Parameters
valueReadOnlySpan<bool2>
Returns
operator !=(bool2x4, bool2x4)
public static bool2x4 operator !=(bool2x4 lhs, bool2x4 rhs)