IDS peak ICV v1.6.0
Loading...
Searching...
No Matches
utils.py File Reference

Namespaces

namespace  python_interface_common
 !
 
namespace  python_interface_common._internal
 
namespace  python_interface_common._internal.utils
 

Functions

bool is_equal (int|float left, int|float right, float tolerance=1e-7)
 Compare two numbers for equality, allowing a tolerance for floating point comparison.
 
None validate_parameter_types (*Any args, Tuple[Type,...] accepted_types)
 Validate that all given arguments are instances of the accepted types and are all of the same type.