bayesia logo

Transformation Functions

Clip(x,min,max)

Description: Clip x to the interval [min, max].

Number of Parameters: 3

Parameter type: numerical, numerical, numerical

Result type: real

Round(x) 

Description: Nearest integer less than or equal to x if the fractional part is less than 1/2, nearest integer greater than or equal to x otherwise.

Number of Parameter: 1

Parameter type: numerical

Result type: real

RoundTo(x, n)

Description: Round of x to n digit after (if n is negative) or before the decimal point (if n is positive). When n is equal to 0, this function is identical to Round(x).

Number of Parameters: 2

Parameter type: numerical, integer

Result type: real

Sign(x)

Description: Returns -1, 0 or 1 depending on the sign of x.

Number of Parameter: 1

Parameter type: numerical

Result type: integer


Copyright © 2025 Bayesia S.A.S., Bayesia USA, LLC, and Bayesia Singapore Pte. Ltd. All Rights Reserved.