Wolfram Library Archive


All Collections Articles Books Conference Proceedings
Courseware Demos MathSource Technical Notes
Title Downloads

Functions of Matrices
Author

Roger B. Kirchner
Old MathSource #

0202-284
Revision date

1992-06-01
Description

Defines a function, MatrixReplace, to evaluate an expression at a matrix using a generalization of a formula in R. B. Kirchner, "An Explicit Formula for e^(A t)", American Mathematical Monthly, Vol 74, No 10, December 1967.

For example, let A be a square matrix. MatrixReplace[f[x], x -> A] returns f[A], where multiplication is matrix multiplication. MatrixReplace[E^(x t), x -> A] returns the matrix exponential of A t. MatrixReplace[x^n, x -> A] returns the nth matrix power of A.
Subject

*Mathematics > Algebra > Linear Algebra
Keywords

Algebra, Eigen value, Eigen vector, Matrix exponential, Matrix multiplication, Matrix operations, Matrix replace, MatrixPower, MatrixReplace, MatrixReplace.m
Downloads Download Wolfram CDF Player

Download
MatrixReplace.m (4.4 KB) - Mathematica Package