Ewise
Posted: Thu Jan 06, 2011 5:38 am
Dear users,
Im not sure about the last part [j-(j>i)] of this code:
ewise a(i,j)=%if(i==j,1.0,ap(i,j-(j>i)))
does this mean the following?:
if the elements of matrix (ap) are= a11 a12
a21 a22
a31 a32
and the elements of the matrix (a) are= b11 b12 b13
b21 b22 b23
b31 b32 b33
the b11=b22=b33=1
and b12= a11, b13=a12, b21=a21, b23=a22, b31=a31, b32=a32
Thank you in advance.
Im not sure about the last part [j-(j>i)] of this code:
ewise a(i,j)=%if(i==j,1.0,ap(i,j-(j>i)))
does this mean the following?:
if the elements of matrix (ap) are= a11 a12
a21 a22
a31 a32
and the elements of the matrix (a) are= b11 b12 b13
b21 b22 b23
b31 b32 b33
the b11=b22=b33=1
and b12= a11, b13=a12, b21=a21, b23=a22, b31=a31, b32=a32
Thank you in advance.