Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'Troubles with FullSimplify' topicStudent Support Forum > General > Archives > "Troubles with FullSimplify"

< Previous CommentHelp | Reply To Comment | Reply To Topic
Author Comment/Response
jf
10/08/12 4:35pm

Left alone, they do reduce,

In[5]:= P[Abs[1], Abs[-4]]
Out[5]= P[1, 4]

The problem is that If holds its second and third arguments so FullSimplify cannot access them.

In[8]:= Attributes[If]
Out[8]= {HoldRest, Protected}

If S is defined, the test can be evaluated and the appropriate 2nd or 3rd argument evaluated.



URL: ,

Subject (listing for 'Troubles with FullSimplify')
Author Date Posted
Troubles with FullSimplify Frank 10/08/12 09:02am
Re: Troubles with FullSimplify jf 10/08/12 4:35pm
< Previous CommentHelp | Reply To Comment | Reply To Topic