[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: searching for the elegant code (matrix indexing and more)
From: |
oxy |
Subject: |
Re: searching for the elegant code (matrix indexing and more) |
Date: |
Wed, 22 Jan 2014 17:11:25 +0100 |
... you probably realized a small mistake. Parameter E is also
an index to the matrix sig:
dim=11;
for A=(1:dim)
for B=(1:dim)
for C=(1:dim)
for D=(1:dim)
for E=(1:dim)
sig(A, B, C, D, E) = A*B^2 - C*D^3 +10*E;
endfor
endfor
endfor
endfor
endfor
- searching for the elegant code (matrix indexing and more), oxy, 2014/01/22
- Re: searching for the elegant code (matrix indexing and more),
oxy <=
- Re: searching for the elegant code (matrix indexing and more), Juan Pablo Carbajal, 2014/01/22
- Re: searching for the elegant code (matrix indexing and more), Andrei Bobrov, 2014/01/22
- Re: searching for the elegant code (matrix indexing and more), Markus Appel, 2014/01/23
- Re: searching for the elegant code (matrix indexing and more), oxy, 2014/01/23
- Re: searching for the elegant code (matrix indexing and more), Markus Appel, 2014/01/23
- Re: searching for the elegant code (matrix indexing and more), oxy, 2014/01/24