messe
searching PlanetScale…
- 1.▲
- 2.▲
- 3.▲
- 4.▲
- 5.▲
- 6.▲
120 ms·
- 1681.▲
- 1682.▲
- 1683.▲
- 1684.▲
- 1685.▲
- 1686.▲
- 1687.▲
- 1688.▲
- 1689.▲
- 1690.▲
- 1691.▲
- 1692.▲
- 1693.▲
What's wrong with: >>> import numpy as np
>>> m = np.array([[0,1,0],[0,0,1],[1,0,0]])
>>> v = np.array([2,3,1])
>>> np.linalg.solve(m,v)
array([ 1., 2., 3.])
No need to tr - 1694.▲
- 1695.▲
- 1696.▲
- 1697.▲
- 1698.▲
- 1699.▲
- 1700.▲
- 1701.▲
- 1702.▲
- 1703.▲
- 1704.▲
- 1705.▲
- 1706.▲
- 1707.▲
- 1708.▲