Expand description
Utility functions for numerical operations
This module provides common utility functions used throughout SciRS2
.
Functions§
- all
- Checks if all elements in an iterable satisfy a predicate
- any
- Checks if any element in an iterable satisfies a predicate
- arange
- Creates a range of values with a specified step size
- arange_
unchecked - Convenience function that provides the old behavior (panics on error)
- arrays_
equal - Compare arrays within a tolerance
- differentiate
- Differentiate a function using central difference method.
- fill_
diagonal - Fills the diagonal of a matrix with a value
- generate_
window - Create window functions of various types.
- get_
window - Get window function compatible with SciPy API
- integrate
- Integrate a function using composite Simpson’s rule.
- is_
close - Checks if two floating-point values are approximately equal
- linspace
- Creates a linearly spaced array between start and end (inclusive)
- logspace
- Creates a logarithmically spaced array between base^start and base^end (inclusive)
- maximum
- Compute the element-wise maximum of two arrays
- minimum
- Compute the element-wise minimum of two arrays
- normalize
- Normalize a vector to have unit energy or unit peak amplitude.
- pad_
array - Pad an array with values according to the specified mode.
- points_
equal - Check if two points are equal within a tolerance
- prod
- Computes the product of all elements in an iterable