📄️ NDArray::cholesky
Calculates the Cholesky decomposition of a positive-definite array, decomposing
📄️ NDArray::cond
Computes the condition number of an array.
📄️ NDArray::det
Computes the determinant of a square array, which represents the scaling factor of the volume
📄️ NDArray::dot
The dot function performs the dot product of two arrays. The behaviour of the function
📄️ NDArray::eig
Computes the eigenvalues and eigenvectors of a square array.
📄️ NDArray::inner
Calculates the inner product of two arrays. This operation involves multiplying corresponding
📄️ NDArray::inv
Compute the inverse of a matrix, such that $a * nd::identity($a->shape()).
📄️ NDArray::lstsq
Performs the least-squares solution to a linear matrix equation Ax = b,
📄️ NDArray::lu
Computes the LU factorization of a matrix
📄️ NDArray::matmul
Performs matrix multiplication between two arrays and returns the result as a new array.
📄️ NDArray::matrix_rank
Calculates the numerical rank of a matrix, number of singular values of the array that are greater than tol.
📄️ NDArray::norm
Calculates different norms (e.g., L1 norm, L2 norm) of an array,
📄️ NDArray::outer
Computes the outer product of two vectors, which results in a higher-dimensional array with dimensions
📄️ NDArray::qr
Calculates the QR decomposition of an array, which expresses it as the product of an orthogonal matrix (Q)
📄️ NDArray::solve
Solves a linear system of equations for x, where Ax = b, and A and b are given arrays.
📄️ NDArray::svd
Calculates the Singular Value Decomposition (SVD) of an array, which decomposes the array
📄️ NDArray::trace
Computes the sum of the diagonal elements of a square array, also known as the trace of the array.