numpy.linalg.tensorsolve()
numpy.linalg.tensorsolve
-
numpy.linalg.tensorsolve(a, b, axes=None)
[source] -
Solve the tensor equation
a x = b
for x.It is assumed that all indices of
x
are summed over in the product, together with the rightmost indices ofa
, as is done in, for example,tensordot(a, x, axes=len(b.shape))
.Parameters: a : array_like
Coefficient tensor, of shape
b.shape + Q
.Q登录查看完整内容