kumulant

In

@Serializable
@SerialName(value = "In")
data class In(val of: ScalarExpr, val values: List<Double>) : BoolExpr(source)

Membership test: of in values (exact equality). Use it to flatten chains of Eq predicates joined by Or; e.g. VIndex In listOf(0.0, 3.0).

Constructors

Link copied to clipboard
constructor(of: ScalarExpr, values: List<Double>)

Properties

Link copied to clipboard

Scalar expression being tested.

Link copied to clipboard

Allowed values; exact equality.

Functions

Link copied to clipboard
infix fun BoolExpr.and(rhs: BoolExpr): BoolExpr

Short-circuiting conjunction.

Link copied to clipboard
open override fun eval(x: Double, y: Double = 0.0, v: DoubleArray = EMPTY_VECTOR, primary: Result? = null): Boolean

Evaluate this predicate against the per-update inputs. Returns true to keep an observation under filter or to take the then branch under IfExpr.

Link copied to clipboard
operator fun BoolExpr.not(): BoolExpr

Logical negation.

Link copied to clipboard
infix fun BoolExpr.or(rhs: BoolExpr): BoolExpr

Short-circuiting disjunction.

In

constructor(of: ScalarExpr, values: List<Double>)(source)

eval

open override fun eval(x: Double, y: Double = 0.0, v: DoubleArray = EMPTY_VECTOR, primary: Result? = null): Boolean(source)

Evaluate this predicate against the per-update inputs. Returns true to keep an observation under filter or to take the then branch under IfExpr.

of

Scalar expression being tested.

values

Allowed values; exact equality.