Skip to content

Esta página también está en español.

Léela en español

このページは日本語でも読めます。

日本語で読む

本页也有简体中文版本。

阅读简体中文版本

Matrix exponential (matrix_exp)

Exponential of a square matrix.

How to write it

matrix_exp(matrix)

matrix
A square matrix. Takes a matrix, written as a list of rows.

Examples

  • exp⁡(0100)=(1101)\displaystyle \exp \begin{pmatrix} 0 & 1 \\ 0 & 0 \end{pmatrix} = \begin{pmatrix} 1 & 1 \\ 0 & 1 \end{pmatrix}
    matrix_exp([[0, 1], [0, 0]])

    In the solver, matrix_exp([[0, 1], [0, 0]]) gives [[1, 1], [0, 1]].

    Open in the solver