samplepaths.utils.validationΒΆ

Validation of parameters and arguments.

Functions

check_coefficients

Ensure that a value is a number or a sequence of numbers.

check_increments

Ensure that time values are nonnegative and strictly increasing.

check_nonnegative_integer

Ensure that a number is a nonnegative integer.

check_nonnegative_number

Ensure that a value is a nonnegative number.

check_numeric

Ensure that a value is a number.

check_numeric_or_single_arg_callable

Ensure that a value is a number or a single argument callable.

check_positive_integer

Ensure that a number is a positive integer.

check_positive_number

Ensure that a value is a positive number.

is_integer

Check whether a value is an integer.

is_number

Check whether a value is a real number.

times_to_increments

Convert time values to the increments between them.