Helper Functions (pyrex.internal_functions
)¶
Helper functions and classes for use in PyREx modules.
This module is intended as a container for functions, typically used in more than one PyREx module, which are not physics-motivated and are instead used mainly to clean up code. Functions and classes in this module may also be computer-science-motivated structures that python doesn’t include naturally.
Normalize the given vector. |
|
Find the enum value given some representation of it. |
|
Flattens an iterator to iterate over all elements individually. |
|
Perform interpolation on complex values. |
|
Perform bilinear interpolation on complex values. |
|
Mirror the attributes of one function onto another. |
|
Decorator that makes a property lazily evaluated. |
|
Class with lazy properties which may depend on other class attributes. |