Biomodèles/Biomodels
SCILAB 3.0 PAS A PAS
SCILAB 3.0 STEP-TO-STEP

Jacques-Deric Rouault

Laboratoire de Neurobiologie de l'Apprentissage, de la Mémoire et de la Communication. CNRS UMR 8620, Bat. 446, Université Paris-Sud, F91400 Orsay

Orscilab
ORSCILAB

16 LES FRACTIONS RATIONNELLES
16 RATIONALS
16.1 Définition / Definition
Version 2.1.2 du 4 Février 2005 / Version 2.1.2, February 4th 2005
Biomodèles/Biomodels N°1 pp 0x-0y Décembre 2004 December 2004

Retour à la Table générale / Return to the General table
Index général / General index
Passage à la section suivante 16.2 / Next section 16.2

a
den (rlist)
dt (rlist)
Fraction rationnelle (Type)
num (rlist)
Rational (Type)
r (tlist)
rlist (Type)

b
 
c
rational (type)

Une fraction rationnelle est mathématiquement définie comme le quotient de deux polynomes. En Scilab, c'est une variable de type rlist, cas particulier de tlist avec 4 champs "r", "num", "den" et "dt".
A rational is mathematically defined as the ratio of two polynoms. In Scilab, a rational is a variable of type rlist, particular case of tlist with 4 fields : "r", "num", "den", and "dt".

// PROGRAMME SPAS160101
p1 = poly ([1, 2, 3], "x","coeff") ;
p2 = poly ([1, 3, 5], "x","coeff") ;
r = p1/p2,

Ch16Sc01-Fig01

Il est possible d'accéder directement au contenu des 3 derniers champs "num", "den" et "dt".
It is possible to directly access to the values of the 3 last fields "num", "den", and "dt".

// PROGRAMME SPAS160102
p1 = poly ([1, 2, 3], "x","coeff") ;
p2 = poly ([1, 3, 5], "x","coeff") ;
r = p1/p2;
r.num,
r.den,
r.dt,

Ch16Sc01-Fig02

Une fraction rationnelle est de type rational ou 16.
A rational is of type rational or 16.

// PROGRAMME SPAS160103
p1 = poly ([1, 2, 3], "x","coeff") ;
p2 = poly ([1, 3, 5], "x","coeff") ;
r = p1/p2;
type (r),
typeof (r),



Retour à la Table générale / Return to the General table
Index général / General index
Passage à la section suivante 16.2 / Next section 16.2