smart_arrays_base 2.1.0 smart_arrays_base: ^2.1.0 copied to clipboard
Provides basic functionalities for 1- and 2-dimensional arrays. Minima/maxima. Split, shuffle, swap, extract, extend. Submatrices, rows, columns, projections, sums.
Smart Arrays Base #
What the package can do for you #
This package provides basic functionalities for one- and two-dimensional arrays (vectors and matrices).
The major API functionalities #
-
class
Array1D
: This class provides utility functions for 1D arrays (vectors):- adding arrays with various options
- Finding the minimum or maximum values with various options
- splitting, shuffling, swapping and extracting given index ranges
- extending with zeroes, cutting
- computing the integral function of an array
-
class
Array2D
:This class provides utility functions for 2D arrays (matrices):- Extracting rows, columns, appending rows
- Extracting sub-matrices, building envelopes
- Computing projections or sums over rows or columns
- Swapping or reversing rows
- Finding minimum or maximum values
- Integrating a matrix region
Related packages #
smart_arrays_numerics
: Numerics with 1D and 2D arrays
smart_arrays_compress
: Compress 1D and 2D arrays to a smaller size.
smart_arrays_sample_data
: Computes 1D and 2D arrays containing sample data.
smart_arrays_dbstore
: Store 1D and 2D arrays along with metadata on the local device.
smart_arrays_peaks
: Detect peaks in 1D and 2D arrays.
smart_arrays_plot_polyline
: Plot 1D arrays as polyline along with axes and more.
smart_lorentz_gauss
: Compute Lorentz-Gauss (pseudo-Voigt) line shapes.
smart_signal_processing
: Fourier transform and more of arrays.