|
| 1 | +""" |
| 2 | +Function stubs for linear algebra functions (Extension). |
| 3 | +
|
| 4 | +NOTE: This file is generated automatically by the generate_stubs.py script. Do |
| 5 | +not modify it directly. |
| 6 | +
|
| 7 | +See |
| 8 | +https://github.com/data-apis/array-api/blob/master/spec/API_specification/linear_algebra_functions.md |
| 9 | +""" |
| 10 | + |
| 11 | +from __future__ import annotations |
| 12 | + |
| 13 | + |
| 14 | +def cholesky(x, /, *, upper=False): |
| 15 | + pass |
| 16 | + |
| 17 | +def cross(x1, x2, /, *, axis=-1): |
| 18 | + pass |
| 19 | + |
| 20 | +def det(x, /): |
| 21 | + pass |
| 22 | + |
| 23 | +def diagonal(x, /, *, axis1=0, axis2=1, offset=0): |
| 24 | + pass |
| 25 | + |
| 26 | +def eig(): |
| 27 | + pass |
| 28 | + |
| 29 | +def eigh(x, /, *, upper=False): |
| 30 | + pass |
| 31 | + |
| 32 | +def eigvals(): |
| 33 | + pass |
| 34 | + |
| 35 | +def eigvalsh(x, /, *, upper=False): |
| 36 | + pass |
| 37 | + |
| 38 | +def einsum(): |
| 39 | + pass |
| 40 | + |
| 41 | +def inv(x, /): |
| 42 | + pass |
| 43 | + |
| 44 | +def lstsq(x1, x2, /, *, rtol=None): |
| 45 | + pass |
| 46 | + |
| 47 | +def matmul(x1, x2, /): |
| 48 | + pass |
| 49 | + |
| 50 | +def matrix_power(x, n, /): |
| 51 | + pass |
| 52 | + |
| 53 | +def matrix_rank(x, /, *, rtol=None): |
| 54 | + pass |
| 55 | + |
| 56 | +def norm(x, /, *, axis=None, keepdims=False, ord=None): |
| 57 | + pass |
| 58 | + |
| 59 | +def outer(x1, x2, /): |
| 60 | + pass |
| 61 | + |
| 62 | +def pinv(x, /, *, rtol=None): |
| 63 | + pass |
| 64 | + |
| 65 | +def qr(x, /, *, mode='reduced'): |
| 66 | + pass |
| 67 | + |
| 68 | +def slogdet(x, /): |
| 69 | + pass |
| 70 | + |
| 71 | +def solve(x1, x2, /): |
| 72 | + pass |
| 73 | + |
| 74 | +def svd(x, /, *, full_matrices=True): |
| 75 | + pass |
| 76 | + |
| 77 | +def tensordot(x1, x2, /, *, axes=2): |
| 78 | + pass |
| 79 | + |
| 80 | +def svdvals(x, /): |
| 81 | + pass |
| 82 | + |
| 83 | +def trace(x, /, *, axis1=0, axis2=1, offset=0): |
| 84 | + pass |
| 85 | + |
| 86 | +def transpose(x, /, *, axes=None): |
| 87 | + pass |
| 88 | + |
| 89 | +def vecdot(x1, x2, /, *, axis=None): |
| 90 | + pass |
| 91 | + |
| 92 | +__all__ = ['cholesky', 'cross', 'det', 'diagonal', 'eig', 'eigh', 'eigvals', 'eigvalsh', 'einsum', 'inv', 'lstsq', 'matmul', 'matrix_power', 'matrix_rank', 'norm', 'outer', 'pinv', 'qr', 'slogdet', 'solve', 'svd', 'tensordot', 'svdvals', 'trace', 'transpose', 'vecdot'] |
0 commit comments