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
xinax = b, whereais a square and full rank matrix,bcan be a vector, or a rectangular matrix. Whenbis 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
dtypemust befloat32orfloat64(float16is not supported yet.)See also