Table of Contents

Delegate BinaryScalar<TLhs, TRhs, TOut>

Namespace
NumSharp.Backends.Kernels
Assembly
NumSharp.dll

Binary scalar function delegate. Used for element-by-element binary operations in broadcasting and general paths.

public delegate TOut BinaryScalar<in TLhs, TRhs, out TOut>(TLhs lhs, TRhs rhs)

Parameters

lhs TLhs

Left operand value

rhs TRhs

Right operand value

Returns

TOut

Result of binary operation

Type Parameters

TLhs

Left operand type

TRhs

Right operand type

TOut

Result type

Extension Methods