File: creation.matrix.Rd

package info (click to toggle)
r-cran-matrixcalc 1.0.6-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 552 kB
  • sloc: makefile: 2
file content (46 lines) | stat: -rw-r--r-- 1,327 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
\name{creation.matrix}
\alias{creation.matrix}
\title{ Creation Matrix }
\description{
  This function returns the order n creation matrix, a square matrix with the
  sequence 1, 2, ..., n - 1 on the sub-diagonal below the principal diagonal.
}
\usage{
creation.matrix(n)
}
\arguments{
  \item{n}{ a positive integer greater than 1 }
}
\details{
  The order \eqn{n} creation matrix is also called the derivation matrix and is
  used in numerical mathematics and physics. It arises in the solution of linear
  dynamical systems.  The form of the matrix is 
  \eqn{\left\lbrack {\begin{array}{cccccc}
0&0&0& \cdots &0&0\\
1&0&0& \cdots &0&0\\
0&2&0& \cdots &0&0\\
0&0&3& \ddots &0&0\\
 \vdots & \vdots & \vdots & \ddots & \ddots &{}\\
0&0&0& \cdots &{n - 1}&0
\end{array}} \right\rbrack}.
}
\value{
  An order \eqn{n} matrix.
}
\references{
  Aceto, L. and D. Trigiante (2001). Matrices of Pascal and Other Greats,
  \emph{American Mathematical Monthly}, March 2001, 108(3), 232-245.
  
  Weinberg, S. (1995). \emph{The Quantum Theory of Fields}, Cambridge
  University Press.
}
\author{ Frederick Novomestky \email{fnovomes@poly.edu} }
\note{
  If the argument n is not an integer that is greater than 1, 
  the function presents an error message and stops.
}
\examples{
H <- creation.matrix( 10 )
print( H )
}
\keyword{ math }