Top
Back: nrows
Forward: open
FastBack: Functions and system variables
FastForward: Control structures
Up: Functions
Top: Singular 2-0-4 Manual
Contents: Table of Contents
Index: Index
About: About this document

5.1.87 nvars

Syntax:
nvars ( ring_name )
Type:
int
Purpose:
returns the number of variables of a ring.
Example:
 
  ring r=(23,t,v),(x,a(1..7)),ls;
  // the variables are x,a(1),...,a(7)
  nvars(r);
==> 8
See npars; ring; var; varstr.

Top Back: nrows Forward: open FastBack: Functions and system variables FastForward: Control structures Up: Functions Top: Singular 2-0-4 Manual Contents: Table of Contents Index: Index About: About this document
            User manual for Singular version 2-0-4, May 2003, generated by texi2html.