summaryrefslogtreecommitdiffstats
path: root/scilab_doc
diff options
context:
space:
mode:
authorPierre Marechal <pierre.marechal@scilab.org>2007-11-06 08:01:36 +0000
committerPierre Marechal <pierre.marechal@scilab.org>2007-11-06 08:01:36 +0000
commitca9d9dabe35e314a7432429ac5b62d763939b819 (patch)
treeacc7ee743bed87a69b8e5cc0d0e4da01573730a2 /scilab_doc
parent0ce2956b66cfe3305c620d4d2fb1db6f69a4fde1 (diff)
downloadscilab-ca9d9dabe35e314a7432429ac5b62d763939b819.zip
scilab-ca9d9dabe35e314a7432429ac5b62d763939b819.tar.gz
return carriage at line 80
Diffstat (limited to 'scilab_doc')
-rw-r--r--scilab_doc/toolbox_guide/html/toolbox.html21
1 files changed, 16 insertions, 5 deletions
diff --git a/scilab_doc/toolbox_guide/html/toolbox.html b/scilab_doc/toolbox_guide/html/toolbox.html
index a8452c5..4ffbe4a 100644
--- a/scilab_doc/toolbox_guide/html/toolbox.html
+++ b/scilab_doc/toolbox_guide/html/toolbox.html
@@ -203,12 +203,17 @@ int minlhs=1, maxlhs=1, minrhs=2, maxrhs=2;
203CheckRhs(minrhs,maxrhs) ; 203CheckRhs(minrhs,maxrhs) ;
204CheckLhs(minlhs,maxlhs) ; 204CheckLhs(minlhs,maxlhs) ;
205 205
206/* 2 - Check inputs arguments type, and get the size and the address in the Scilab stack of the inputs arguments */ 206/* 2 - Check inputs arguments type, and get the size
207 and the address in the Scilab stack of the inputs
208 arguments
209*/
207GetRhsVar(1, "d", &m1, &n1, &l1); 210GetRhsVar(1, "d", &m1, &n1, &l1);
208GetRhsVar(2, "d", &m2, &n2, &l2); 211GetRhsVar(2, "d", &m2, &n2, &l2);
209 212
210/* 3 - Check that the inputs arguments have the same size */ 213/* 3 - Check that the inputs arguments have the same size */
211/* it's possible to use the chekdims and getscalar functions to make these checks*/ 214/* it's possible to use the chekdims and getscalar
215 functions to make these checks
216*/
212n=m2*n2; 217n=m2*n2;
213if( n1!=n2 || m1!=m2) 218if( n1!=n2 || m1!=m2)
214{ 219{
@@ -354,7 +359,9 @@ int sci_fun(char *fname)
354 CheckRhs(minrhs,maxrhs) ; 359 CheckRhs(minrhs,maxrhs) ;
355 CheckLhs(minlhs,maxlhs) ; 360 CheckLhs(minlhs,maxlhs) ;
356 361
357 /* 2 - Check the rhs type, get the rows number (ma) and the columns number (na) of rhs, and its address (la) in the Scilab stack (first position) */ 362 /* 2 - Check the rhs type, get the rows number (ma)
363 and the columns number (na) of rhs, and its address
364 (la) in the Scilab stack (first position) */
358 GetRhsVar(1, "d", &ma, &na, &la); 365 GetRhsVar(1, "d", &ma, &na, &la);
359 366
360 /* 3 - Check rhs is a vector */ 367 /* 3 - Check rhs is a vector */
@@ -369,10 +376,14 @@ int sci_fun(char *fname)
369 376
370 fun1(stk(la), na*ma, &nx, &x, &s); 377 fun1(stk(la), na*ma, &nx, &x, &s);
371 378
372 /* 4 - Create the place for the first output argument x ( a vector of doubles, size: 1*nx ) to the address lx in the Scilab stack (second position) */ 379 /* 4 - Create the place for the first output argument x
380 ( a vector of doubles, size: 1*nx ) to the address
381 lx in the Scilab stack (second position) */
373 CreateVar(2, "d", &m, &nx, &lx); 382 CreateVar(2, "d", &m, &nx, &lx);
374 383
375 /* if there are two outputs variables then: Create the place for the second output s ( a double, size 1*1) to the address ls in the Scilab stack (third position) */ 384 /* if there are two outputs variables then: Create
385 the place for the second output s ( a double, size 1*1)
386 to the address ls in the Scilab stack (third position) */
376 /* get the value of s, and put it in the Scilab stack */ 387 /* get the value of s, and put it in the Scilab stack */
377 if(Lhs==2) 388 if(Lhs==2)
378 { 389 {