numvalue

Classes

NonNumericValue(value)

An object that contains a non-numeric value

NumericConstant(value)

An object that contains a constant numeric value.

Functions

as_numeric(obj)

A function that creates a NumericConstant object that wraps Python numeric values.

check_if_numeric_type_and_cache(obj)

DEPRECATED.

is_constant(obj)

A utility function that returns a boolean that indicates whether the object is a constant.

is_fixed(obj)

A utility function that returns a boolean that indicates whether the input object's value is fixed.

is_numeric_data(obj)

A utility function that returns a boolean indicating whether the input object is numeric and not potentially variable.

is_potentially_variable(obj)

A utility function that returns a boolean indicating whether the input object can reference variables.

is_variable_type(obj)

A utility function that returns a boolean indicating whether the input object is a variable.

polynomial_degree(obj)

A utility function that returns an integer that indicates the polynomial degree for an object.