Hi,<br><br>I've a SciLab problem dealing with<b> linear algebra / tensor multiplication.</b><br><br>Let's say I have <b>a matrix A wich size is i * j * k</b> ( is it called a matrix in SciLab ? a 3rd order tensor ? a table ?...) <br>
<br>SciLab knows that <b>A(:,:,1) is a matrix</b>, and SciLab is able to multiply it with another matrix...<br>But it is <b>not the case of A(1,:,:)</b> for example.... which seems to be a table of 2 1x2 vectors. [at least in SciLab 4.2.1]<br>
<br>I'm looking for an elegant solution to avoid many loops... my calculation is becoming too slow :<br><br><b>So these are my questions :</b><br><ul><li>why it is not implemented in SciLab ? (sorry for this naive question)<b> Is there a specific reason not to authorize to build a matrix from table values ?</b><br>
</li><li><b>How could it be done</b> (call to external C/Fortran routine or specific linear algebra libraries) ? <br></li><li><b>Is it possible to simply make a permutation of two subscript</b><span class="POS2"> : for example from A(i,j,k) I want to get B = A(k,j,i) ? This way I could make my basic multiplications...</span></li>
</ul>I hope it is clear enough...<br>Thank you in advance for your help.<br><br><br><br clear="all"><b>Julien Colmars</b><br><br>PhD student, <br>Équipe Mécanique de l'Arbre et du Bois<br>Laboratoire de Mécanique et Génie Civil<br>
Adresse :   LMGC - UMR5508 <br>                 Université Montpellier 2<br>                 CC 048 Place Eugène Bataillon<br>                 34090 Montpellier, France<br>Tel. :         +33 (0)4 67 14 96 42<br>Fax. :        +33 (0)4 67 14 47 92<br>