 | SQXLogBinTable Method |
Function [table] LogBinTable([bigint] N, [bigint] K)
(Mathematics)
Namespace:
sqx
Assembly:
SQX (in SQX.dll) Version: 1.0.2.6 (1.0.2.6)
Syntaxpublic static IEnumerator LogBinTable(
SqlInt64 N,
SqlInt64 K
)
Parameters
- N
- Type: System.Data.SqlTypesSqlInt64
[bigint] - K
- Type: System.Data.SqlTypesSqlInt64
[bigint]
Return Value
Type:
IEnumerator[table]
RemarksLog Binomial coefficient table Log((ⁿₖ)) function.
Support: N, K [+/-]
Attributes
IsDeterministic = true, IsPrecise = true, DataAccess = DataAccessKind.None, SystemDataAccess = SystemDataAccessKind.None, TableDefinition = "[Sign] int,[Value] float"
ExamplesDECLARE @N int = -10, @K int = 3
SELECT lbt.[Sign], lbt.Value
, lbt.[Sign] * Exp(lbt.Value) BinFromLogBin
, sqx.Bin(@N,@K) Bin
FROM sqx.LogBinTable(@N,@K) lbt
See Also