11,475 reputation
22276
bio website
location
age
visits member for 2 years, 10 months
seen 16 mins ago

2d
comment My code does not give the same results on mathematica 9 and 10
@Developer2000 May be it is platform-specific issue, I do not know. I recommend you to install v9 and/or v8 again in parallel with v10 and check it by yourself. On my machine v8 and v10 perfectly live together.
2d
comment My code does not give the same results on mathematica 9 and 10
In MMa 8.0.4 I get the same results as in MMa 10.0.1 under Win7 x64.
Dec
5
comment Exporting to eps loses font information
I see no problem with both v.8.0.4 and 10.0.1 installed on Windows 7 x64.
Dec
3
comment How Unevaluated works Through its Attributes?
In the other words, Unevaluated is already stripped off at the first step when the first evaluation rule was applied. But what will happen if the evaluation rule must not be applied? Consider this: Clear[times]; times[x__]:=times2[x]/;False;Trace[times[1,Unevaluated[{{5+6},{7+8}}]],TraceOrigi‌​nal->True]. You see that at some step the Unevaluated is stripped off but finally the original expression is returned. In other words, if the evaluation does not change the original expression, Unevaluated is not stripped off in the result.
Dec
3
comment How Unevaluated works Through its Attributes?
As you see, at the second step you have a new expression without Unevaluated which is evaluated in the usual way. Now check this: SetAttributes[times2, HoldAll];times[x__] := times2[x]; Trace[times[1, Unevaluated[{{5 + 6}, {7 + 8}}]], TraceOriginal -> True]. You see that if times2 has the HoldAll attribute you get almost the same result as without any evaluation rules defined: evaluation stops but in any case Unevaluated fires when the first evaluation rule fires.
Dec
3
comment How Unevaluated works Through its Attributes?
What your call "unclear" is the expected behavior. The cases like Unevaluated[{{5 + 6}, {7 + 8}}]*1 can be understood from Trace[Unevaluated[{{5 + 6}, {7 + 8}}]*1, TraceOriginal -> True]. What happens is that at the first step the Unevaluated is stripped off and without evaluation of its contents (as expected) and you get {{5 + 6}, {7 + 8}}*1. Now further evaluation rules (built-in) of Times are applied, consider this hand-made reconstruction of Times: times[x__] := times2[x]; Trace[ times[1, Unevaluated[{{5 + 6}, {7 + 8}}]], TraceOriginal -> True]. (continued)
Dec
2
comment How Unevaluated works Through its Attributes?
The expected behavior of TreeForm should be as in this example: treeForm@Unevaluated[{{5 + 6}, {7 + 8}}] (it is the documented behavior). Your example is principally different and actually is a special case (undocumented).
Dec
2
revised Difference between Evaluation>>Quit Kernel and Quit[]
added 195 characters in body
Dec
2
revised Difference between Evaluation>>Quit Kernel and Quit[]
added 392 characters in body
Dec
2
answered Difference between Evaluation>>Quit Kernel and Quit[]
Dec
1
awarded  Popular Question
Nov
29
comment In Graphics, a button without action will not work?
Thanks for the Accept. I agree that such a message is confusing for a new user if it face it without previous experience with Mathematica. Generally there are infinite number of such issues. And there are still at least hundreds of well-known issues which trouble newcomers for decades all the time: see this thread. Unfortunately the politics of the company still does not coincide well with expectations of the customers.
Nov
29
revised In Graphics, a button without action will not work?
added 83 characters in body
Nov
29
revised In Graphics, a button without action will not work?
deleted 5 characters in body
Nov
29
answered In Graphics, a button without action will not work?
Nov
29
comment Obtain approximate Hessian using FindMinimum
As explained in the linked answer, Hessian takes three possible values: Automatic, Symbolic and FiniteDifference with Automatic being equivalent to Symbolic AFAIK.
Nov
29
revised How do I draw a pair of buttocks?
edited tags
Nov
28
comment How Unevaluated works Through its Attributes?
Related: 1, 2.
Nov
28
comment How Unevaluated works Through its Attributes?
Relevant StackOverflow thread: "Why does TreeForm[Unevaluated[4^5]] evaluate the 4^5?"
Nov
28
revised How Unevaluated works Through its Attributes?
edited tags