Top
Back: minIntRoot
Forward: isRational
FastBack: central_lib
FastForward: dmodapp_lib
Up: dmod_lib
Top: Singular Manual
Contents: Table of Contents
Index: Index
About: About this document
7.7.3.0. varNum
Procedure from library dmod.lib (see dmod_lib).

Usage:
varNum(s); string s

Return:
int

Purpose:
returns the number of the variable with the name s
among the variables of basering or 0 if there is no such variable

Example:
 
LIB "dmod.lib";
ring X = 0,(x,y1,t,z(0),z,tTa),dp;
varNum("z");
==> 5
varNum("t");
==> 3
varNum("xyz");
==> 0


Top Back: minIntRoot Forward: isRational FastBack: central_lib FastForward: dmodapp_lib Up: dmod_lib Top: Singular Manual Contents: Table of Contents Index: Index About: About this document
            User manual for Singular version 3-1-3, March 2011, generated by texi2html.