salim-barzani

1555 Reputation

9 Badges

1 years, 16 days

MaplePrimes Activity


These are replies submitted by salim-barzani

@dharr  swear to God this is the best code ever seen in my life, very nice and pretty

@vv  thank you so much
your code are great  i liked a lot yea i am at begining of learning machine learning and i have a lot idea but i can't do it with this pure skill in machin learning , this code not run in my maple but didn't give me any error , yea 4^8 is a lot of calculation but when this fuction outcome is done i use it in other equation must be satisfy which is i asked the question but they delete my post i will post in comment if you can help me with this i will be really appreciate... thanks any help

@vv 

restart;
phi := (p__1, p__2, p__3, p__4, q__1, q__2, q__3, q__4, xi) -> (p__1*exp(q__1*xi) - p__2*exp(q__2*xi))/(p__3*exp(q__3*xi) + p__4*exp(q__4*xi));
xi := x;
for p__1 in [1, -1, I, -I] do
    for p__2 in [1, -1, I, -I] do for p__3 in [1, -1, I, -I] do for p__4 in [1, -1, I, -I] do for q__1 in [1, -1, I, -I] do for q__2 in [1, -1, I, -I] do for q__3 in [1, -1, I, -I] do for q__4 in [1, -1, I, -I] do result1 := evalf(phi(p__1, p__2, p__3, p__4, q__1, q__2, q__3, q__4, xi)); print('phi'(p__1, p__2, p__3, p__4, q__1, q__2, q__3, q__4, xi) = result1); end do; end do; end do; end do; end do; end do; end do;
end do;


in one place stop and not continues when is zero how tell him not calculate that one which is equal to zero?

@vv  thank you so much ...

@mmcdara  i already use it but in first picture i crop the picture.

@Carl Love thanks a lot it is worked

First 35 36 37 Page 37 of 37