Top
Back: 5.1.86 nrows
Forward: 5.1.88 open
FastBack: 5. Functions and system variables
FastForward: 6. Tricks and pitfalls
Up: 5.1 Functions
Top: Singular 2-0-4 Manual
Contents: Table of Contents
Index: F. 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: 5.1.86 nrows Forward: 5.1.88 open FastBack: 5. Functions and system variables FastForward: 6. Tricks and pitfalls Up: 5.1 Functions Top: Singular 2-0-4 Manual Contents: Table of Contents Index: F. Index About: About This Document
            User manual for Singular version 2-0-4, October 2002, generated by texi2html.