# expm

> Matrix exponential, logarithm and square root for R

Source: https://talira.ai/catalog/expm-g2t9vc24
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library
- Categories: [libraries / math / linear algebra](https://talira.ai/categories/libraries/math/linear-algebra), [languages / r](https://talira.ai/categories/languages/r)
- Licence: GPL-2.0-or-later[^1]
- Pricing: Free and open source[^1]
- Free tier: yes[^1]
- Backed by: [Martin Maechler](https://talira.ai/orgs/martin-maechler.md)

expm is an R package that computes the matrix exponential, logarithm, square root and related quantities, with both traditional and modern methods (Padé and Taylor approximations and Higham's 2008 methods among them). It builds on the [Matrix](https://talira.ai/catalog/matrix-e98dmn43.md) package.

## Links

- Website: https://r-forge.r-project.org/projects/expm/

## Problems it solves

- compute the exponential of a matrix in R
- take the logarithm of a matrix in my R analysis
- get the square root of a matrix in R

## Features

- matrix exponential with several methods
- matrix logarithm and square root
- Higham 2008 scaling-and-squaring methods

## Trust

Overall: 0.35 out of 1.
Signals: maintenance 0.45, adoption 0.62, backing 0.30, extensibility 0.00.

- latest package release 3 months ago (CRAN expm 1.0-1)
- packages released for 16 years
- 90k package downloads a month (CRAN)
- backed by Martin Maechler

## Related

- Works with [Matrix](https://talira.ai/catalog/matrix-e98dmn43.md)

## Sources

[^1]: https://cran.r-project.org/package=expm (checked 29 Nov 2026)
