MeatAxe  2.4
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.

Input 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

MeatAxe 2.4 documentation, generated on Mon Jun 7 2021 11:42:24