Home Online Manual
Top
Back: ncols
Forward: nres
FastBack: Functions and system variables
FastForward: Control structures
Up: Functions
Top: Singular Manual
Contents: Table of Contents
Index: Index
About: About this document

5.1.99 npars

Syntax:
npars ( ring_name )
Type:
int
Purpose:
returns the number of parameters of a ring.
Example:
 
  ring r=(23,t,v),(x,a(1..7)),lp;
  // the parameters are t,v
  npars(r);
==> 2
See par; parstr; ring.