Struct UnaryScalarKey
Cache key for scalar unary operations. Used for element-by-element operations in general/broadcast paths.
public readonly record struct UnaryScalarKey : IEquatable<UnaryScalarKey>
- Implements
- Inherited Members
- Extension Methods
Constructors
UnaryScalarKey(NPTypeCode, NPTypeCode, UnaryOp)
Cache key for scalar unary operations. Used for element-by-element operations in general/broadcast paths.
public UnaryScalarKey(NPTypeCode InputType, NPTypeCode OutputType, UnaryOp Op)
Parameters
InputTypeNPTypeCodeOutputTypeNPTypeCodeOpUnaryOp
Properties
InputType
public NPTypeCode InputType { get; init; }
Property Value
IsSameType
public bool IsSameType { get; }
Property Value
Op
public UnaryOp Op { get; init; }
Property Value
OutputType
public NPTypeCode OutputType { 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.