|TensorFlow 1 version||View source on GitHub|
Computes the matrix exponential of one or more square matrices.
Compat aliases for migration
See Migration guide for more details.
tf.linalg.expm( input, name=None )
The exponential is computed using a combination of the scaling and squaring method and the Pade approximation. Details can be found in: Nicholas J. Higham, "The scaling and squaring method for the matrix exponential revisited," SIAM J. Matrix Anal. Applic., 26:1179-1193, 2005.
The input is a tensor of shape
[..., M, M] whose inner-most 2 dimensions
form square matrices. The output is a tensor of the same shape as the input
containing the exponential for all input submatrices
[..., :, :].
A name to give this
|the matrix exponential of the input.|
||An unsupported type is provided as input.|
Equivalent to scipy.linalg.expm