Skip to main content

%DeepSee.PMML.Utils.Math

Class %DeepSee.PMML.Utils.Math [ System = 4 ]

This class groups a number of simple mathematical functions used by other PMML code.

Methods

Ceil

ClassMethod Ceil(pNumber As %Double) As %Integer

Floor

ClassMethod Floor(pNumber As %Double) As %Integer

Round

ClassMethod Round(pNumber As %Double) As %Integer

Rint

ClassMethod Rint(pNumber As %Double) As %Integer

CastInteger

ClassMethod CastInteger(pNumber As %Double, pMode As %String(VALUELIST=",ceil,floor,round")) As %Integer

Factorial

ClassMethod Factorial(pN As %Integer) As %Integer

Binomial

ClassMethod Binomial(pN As %Integer, pK As %Integer) As %Double