chainerx.linalg.solve¶
-
chainerx.linalg.
solve
(a, b)¶ Solves a linear matrix equation, or system of linear scalar equations.
It computes the exact solution of
x
inax = b
, wherea
is a square and full rank matrix,b
can be a vector, or a rectangular matrix. Whenb
is matrix, its columns are treated as separate vectors representing multiple right-hand sides.- Parameters
- Returns
Solution to the system
ax = b
. Shape is identical tob
.- Return type
Note
The
dtype
must befloat32
orfloat64
(float16
is not supported yet.)See also