SharedMeatAxe  1.0
zpo - Power

Command Line

zpo [Options] Input N Result 
Options
Standard options, see Standard Command Line Options
Input
Input file.
N
Exponent.
Result
Output file.

Input Files

Input
Input file.

Output Files

Result
Output file.

Description

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

SharedMeatAxe 1.0 documentation, generated on Sat Dec 30 2017 12:13:21