 | Function.Bitdot<T> Method |
Returns the sum of products of each bit of a mask multiplied with its weight.
Namespace:
SphinxConnector.FluentApi
Assembly:
SphinxConnector (in SphinxConnector.dll) Version: 5.4.1
Syntaxpublic static T Bitdot<T>(
T mask,
params int[] weights
)
Public Shared Function Bitdot(Of T) (
mask As T,
ParamArray weights As Integer()
) As T
Parameters
- mask
- Type: T
The bit mask. - weights
- Type:System.Int32[]
The weights for each bit.
Type Parameters
- T
- The type of the mask.
Return Value
Type:
TThe sum of products of each bit of a
mask multiplied with its weight.
See Also