Top
Back: texcoef
Forward: magnitude
FastBack:
FastForward:
Up: findifs_lib
Top: Singular Manual
Contents: Table of Contents
Index: Index
About: About this document

D.11.4.6 npar

Procedure from library findifs.lib (see findifs_lib).

Usage:
npar(n); n a number

Return:
int

Purpose:
searches for 'n' among the parameters and returns its number

Example:
 
LIB "findifs.lib";
ring r = (0,dh,dt,theta,A),t,dp;
npar(dh);
==> 1
number T = theta;
npar(T);
==> 3
npar(dh^2);
==> Incorrect parameter
==> 0


Top Back: texcoef Forward: magnitude FastBack: FastForward: Up: findifs_lib Top: Singular Manual Contents: Table of Contents Index: Index About: About this document
            User manual for Singular version 4.4.0, 2024, generated by texi2html.