Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add test for tensor-valued stream with signature values This test verifies the construction and querying of a tensor-valued stream created from signature values of a sampled Brownian stream. It ensures the domain consistency and validates the terminal values using array comparison. * Fix incorrect sign in ldexp call for path_md resolution Corrected the sign in the exponent passed to ldexp, ensuring proper computation of the path metadata support. This resolves potential inaccuracies in interval computations caused by the incorrect exponent. * Fix type check for 'support' in kwargs_to_path_metadata Corrected the conditional logic to properly handle 'support' as an Interval. Added an explicit error throw when 'support' is not an Interval, ensuring clearer feedback for invalid input. * Fix argument order in tensor multiplication calls Reversed the order of arguments in tensor multiplication to ensure correct calculations. This change impacts methods using `p_increment_stream->signature` where the initial value must be multiplied first. * Return initial value for parameter equal to domain start. This change adds a condition to return the initial value when the input parameter matches the lower bound of the domain. It ensures correct behavior for edge-case input and prevents unnecessary computations. * Replaced the sligtly incorrect increment calculation The increment between two values is not quite the difference of their Lie values as previously used. Instead, it is the log of antipode(previous)*current at each step. * Refactor tensor-valued stream test for accuracy. Simplified stream initialization by removing unused resolution, refined initial value assertion, and adjusted query intervals to align with expected behavior. Improved test robustness by introducing an epsilon margin in interval checks.
- Loading branch information