I think this will work. You'll have to test it to confirm:
$A[0][0] = x;
$A[0][1] = x;
$A[0][2] = x;
$A[0][3] = x;
$A[0][4] = x;
$A[1][0] = 0;
$A[1][1] = 0;
$A[1][2] = 0;
$A[1][3] = 0;
$A[1][4] = 0;
$B = $C = array();
$B = $A[0];
$C = $A[1];
$A[0] = $C;
$A[1] = $B;
-Original
If there isn't one, (have you tried phpclasses.org etc.), I think the
string functions are powerful enough.
What kind of manipulations you need? Is it simple column/row transforms or
doing all kinds of maptrix operations?
hi list,
i have a question regarding a class for matrix modifications so
On Tuesday 11 June 2002 11:32, johannes reichardt wrote:
hi list,
i have a question regarding a class for matrix modifications so i dont
have to re-invent the wheel ;)
i would like to do things like this:
matrix with 5*5 colums/rows
x x x x x
0 0 0 0 0
x x x x x
x x x x x
x x x x x
3 matches
Mail list logo