diff --git a/spec/API_specification/linear_algebra_functions.md b/spec/API_specification/linear_algebra_functions.md index c428c104e..79a59ab5c 100644 --- a/spec/API_specification/linear_algebra_functions.md +++ b/spec/API_specification/linear_algebra_functions.md @@ -13,6 +13,10 @@ A conforming implementation of the array API standard must provide and support t +### # cholesky() + +TODO + ### # cross(x1, x2, /, *, axis=-1) Returns the cross product of 3-element vectors. If `x1` and `x2` are multi-dimensional arrays (i.e., both have a rank greater than `1`), then the cross-product of each pair of corresponding 3-element vectors is independently computed. @@ -87,6 +91,22 @@ Returns the specified diagonals. If `x` has more than two dimensions, then the a - if `x` is a two-dimensional array, a one-dimensional array containing the diagonal; otherwise, a multi-dimensional array containing the diagonals and whose shape is determined by removing `axis1` and `axis2` and appending a dimension equal to the size of the resulting diagonals. Must have the same data type as `x`. +### # dot() + +TODO + +### # eig() + +TODO + +### # eigvalsh() + +TODO + +### # einsum() + +TODO + ### # inv(x, /) Computes the multiplicative inverse of a square matrix (or stack of square matrices) `x`. @@ -103,6 +123,22 @@ Computes the multiplicative inverse of a square matrix (or stack of square matri - an array containing the multiplicative inverses. Must have the same data type and shape as `x`. +### # lstsq() + +TODO + +### # matmul() + +TODO + +### # matrix_power() + +TODO + +### # matrix_rank() + +TODO + ### # norm(x, /, *, axis=None, keepdims=False, ord=None) Computes the matrix or vector norm of `x`. @@ -201,6 +237,26 @@ Computes the outer product of two vectors `x1` and `x2`. - a two-dimensional array containing the outer product and whose shape is `NxM`. +### # pinv() + +TODO + +### # qr() + +TODO + +### # slogdet() + +TODO + +### # solve() + +TODO + +### # svd() + +TODO + ### # trace(x, /, *, axis1=0, axis2=1, offset=0) Returns the sum along the specified diagonals. If `x` has more than two dimensions, then the axes (dimensions) specified by `axis1` and `axis2` are used to determine the two-dimensional sub-arrays for which to compute the trace.