Struct BinaryScalarKey
Cache key for scalar binary operations. Used for element-by-element operations in general/broadcast paths.
public readonly record struct BinaryScalarKey : IEquatable<BinaryScalarKey>
- Implements
- Inherited Members
- Extension Methods
Constructors
BinaryScalarKey(NPTypeCode, NPTypeCode, NPTypeCode, BinaryOp)
Cache key for scalar binary operations. Used for element-by-element operations in general/broadcast paths.
public BinaryScalarKey(NPTypeCode LhsType, NPTypeCode RhsType, NPTypeCode ResultType, BinaryOp Op)
Parameters
LhsTypeNPTypeCodeRhsTypeNPTypeCodeResultTypeNPTypeCodeOpBinaryOp
Properties
IsSameType
public bool IsSameType { get; }
Property Value
LhsType
public NPTypeCode LhsType { get; init; }
Property Value
Op
public BinaryOp Op { get; init; }
Property Value
ResultType
public NPTypeCode ResultType { get; init; }
Property Value
RhsType
public NPTypeCode RhsType { get; init; }
Property Value
Methods
ToString()
Returns the fully qualified type name of this instance.
public override string ToString()
Returns
- string
The fully qualified type name.