Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- test[x_, y_, z_]:= Total@Log[DeleteCases[Chop[{x, y, z, 1 - x - y - z}], 0]]
- In[2]:= test[x, y, z] /. {x -> 0.5622814903606034,
- y -> 0.21885925481969834, z -> 0.21885925481969834}
- Out[2]= -41.0444 + 3.14159 I
- In[3]:= test[0.5622814903606034, 0.21885925481969834, 0.21885925481969834]
- Out[3]= -3.61441
Add Comment
Please, Sign In to add comment