Home Online Manual
Top
Back: netPoly
Forward: netRing
FastBack:
FastForward:
Up: nets_lib
Top: Singular Manual
Contents: Table of Contents
Index: Index
About: About this document

D.15.26.20 netPrimePower

Procedure from library nets.lib (see nets_lib).

Usage:
netPrimePower(n,m); n,m int

Return:
visual presentation of the prime power n^m

Theory:
A Singular object is converted into a character array (a Net) for on screen printing.

Example:
 
LIB "nets.lib";
ring r=0,x,lp;
int n=2;
int m=5;
netPrimePower(n,m);
==> 2^5
==>