zpo [Options] Input N Result
- Options
- Standard options, see Standard Command Line Options
- Input
- Input file.
- N
- Exponent.
- Result
- Output file.
- Input
- Input file.
- Result
- Output file.
This program calculates the
N-th power of a matrix or permutation. The exponent
N may be negative. For compatibility with the old
zsm program, the power may be specified in the
zsm format. The following example shows two equivalent ways to calculate the 69-th power of a matrix:
zpo matrix 69 result
zpo matrix pwr69 result