Click or drag to resize

FunctionBitdotT 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.3.0
Syntax
public static T Bitdot<T>(
	T mask,
	params int[] weights
)

Parameters

mask
Type: T
The bit mask.
weights
Type: SystemInt32
The weights for each bit.

Type Parameters

T
The type of the mask.

Return Value

Type: T
The sum of products of each bit of a mask multiplied with its weight.
See Also