"tests/git@developer.sourcefind.cn:tianlh/lightgbm-dcu.git" did not exist on "a7253603e6b036274a3804d3e86acc32eb1a4a6a"
linalg.rst 1.09 KB
Newer Older
root's avatar
root committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
.. module:: cupy.linalg

Linear algebra (:mod:`cupy.linalg`)
===================================

.. Hint:: `NumPy API Reference: Linear algebra (numpy.linalg) <https://numpy.org/doc/stable/reference/routines.linalg.html>`_

.. seealso:: :doc:`scipy_linalg`

.. currentmodule:: cupy

Matrix and vector products
--------------------------

.. autosummary::
   :toctree: generated/

   dot
   vdot
   inner
   outer
   matmul
   tensordot
   einsum
   linalg.matrix_power
   kron

Decompositions
--------------

.. autosummary::
   :toctree: generated/

   linalg.cholesky
   linalg.qr
   linalg.svd

Matrix eigenvalues
------------------

.. autosummary::
   :toctree: generated/

   linalg.eigh
   linalg.eigvalsh

Norms and other numbers
-----------------------

.. autosummary::
   :toctree: generated/

   linalg.norm
   linalg.det
   linalg.matrix_rank
   linalg.slogdet
   trace


Solving equations and inverting matrices
----------------------------------------

.. autosummary::
   :toctree: generated/

   linalg.solve
   linalg.tensorsolve
   linalg.lstsq
   linalg.inv
   linalg.pinv
   linalg.tensorinv