cupy.linalg.matrix_power¶
-
cupy.linalg.matrix_power(M, n)[source]¶ Raise a square matrix to the (integer) power n.
- Parameters
- Returns
Output array.
- Return type
Note
M must be of dtype float32 or float64.
..seealso::
numpy.linalg.matrix_power()
cupy.linalg.matrix_power(M, n)[source]¶Raise a square matrix to the (integer) power n.
Output array.
Note
M must be of dtype float32 or float64.
..seealso:: numpy.linalg.matrix_power()