NumPy API# Array creation routines From shape or value From existing data Numerical ranges Building matrices The Matrix class Array manipulation routines Basic operations Changing array shape Transpose-like operations Changing number of dimensions Changing kind of array Joining arrays Splitting arrays Tiling arrays Adding and removing elements Rearranging elements Binary operations Elementwise bit operations Bit packing Output formatting Discrete Fourier Transform Standard FFTs Real FFTs Hermitian FFTs Helper routines Indexing routines Generating index arrays Indexing-like operations Inserting data into arrays Iterating over arrays Input and output NumPy binary files (NPY, NPZ) Text files Raw binary files String formatting Memory mapping files Text formatting options Base-n representations Data sources Binary Format Description Linear algebra (xorbits.numpy.linalg) The @ operator Matrix and vector products Decompositions Matrix eigenvalues Norms and other numbers Solving equations and inverting matrices Exceptions Linear algebra on several matrices at once Logic functions Truth value testing Array contents Array type testing Logical operations Comparison Mathematical functions Trigonometric functions Hyperbolic functions Rounding Sums, products, differences Exponents and logarithms Other special functions Floating point routines Rational routines Arithmetic operations Handling complex numbers Extrema Finding Miscellaneous Random Sampling Sample random data Distributions Random number generator Set routines Making proper sets Boolean operations Sorting, searching, and counting Sorting Searching Counting Statistics Order statistics Averages and variances Correlating Histograms