frobenius.matrix {matrixcalc} | R Documentation |
Frobenius Matrix
Description
This function returns an order n Frobenius matrix that is useful in numerical mathematics.
Usage
frobenius.matrix(n)
Arguments
n |
a positive integer value greater than 1 |
Details
The Frobenius matrix is also called the companion matrix. It arises
in the solution of systems of linear first order differential equations.
The formula for the order Frobenius matrix is
.
Value
An order matrix
Note
If the argument n is not a positive integer that is greater than 1, the function presents an error message and stops.
Author(s)
Frederick Novomestky fnovomes@poly.edu
References
Aceto, L. and D. Trigiante (2001). Matrices of Pascal and Other Greats, American Mathematical Monthly, March 2001, 108(3), 232-245.
Examples
F <- frobenius.matrix( 10 )
print( F )
[Package matrixcalc version 1.0-6 Index]