Skip to main content

NumPy Mapping

The list of Matft's functions and their counterparts in Numpy (and Scipy, OpenCV, librosa, PIL / transformers). Almost all functions have the same names and behaviors as Numpy's, and use the Accelerate framework inside.

Legend​

ColumnMeaning
Method ✓The method version exists too, e.g. a.shallowcopy() as well as Matft.shallowcopy(a) where a is an MfArray.
Method onlyOnly the method version exists, e.g. a.toArray(), not Matft.toArray(a).
Complex ✓Supports complex arrays.

For the exact signatures, see the API Reference in the navbar.

Categories​

  • Creation — arange, eye, concatenate, window functions, …
  • Conversion and Search — astype, transpose, reshape, sort, unique, where, histogram, …
  • Operation — arithmetic / comparison operators and ufunc reduction
  • Math — sin, exp, round, isnan, complex functions, …
  • Statistics — mean, std, median, nan*, cov, …
  • Linear Algebra — solve, inv, eig, svd, lstsq, norms, …
  • FFT and Audio — rfft, stft, mel spectrogram, …
  • Interpolation — interp, polyfit, interp1d, …
  • Image — OpenCV and PIL / transformers compatible functions
  • File and Random — loadtxt, savetxt, random.rand, …