<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
----- Message d'origine ----- <br>
De : Samuel GOUGEON <br>
Date : 05/06/2009 12:04:
<blockquote cite="mid:4A28EDAA.1000602@univ-lemans.fr" type="cite">.../...<br>
The "m" in the test1(m) prototype is a local copy of the expected
argument.
<br>
Then, when you run test1() without argument, no m matrix is copied
<br>
(and a bit surprisingly, no error occurs). So, the m(5,1)=1 statement
<br>
creates the m from scratch, as a minimal object, here a column of 5
<br>
lines with 1 at the fifth one, and by default 0 on previous lines.
<br>
In the test() definition, writing m(1,4)=1 will then display the 0 0
0 1
<br>
line-vector instead.
<br>
</blockquote>
Sorry, mistake: In the test<b><font color="#990000">1(</font></b>)
définition, writing m(1,4)=1; ..etc<br>
<br>
</body>
</html>