Top
Back: numerator
Forward: open
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.108 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: numerator Forward: open FastBack: Functions and system variables FastForward: Control structures Up: Functions Top: Singular Manual Contents: Table of Contents Index: Index About: About this document
            User manual for Singular version 4.3.1, 2022, generated by texi2html.