Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 14489

Questions about how Mathematica evaluates expressions, tracing evaluation (Trace*), handling expressions in unevaluated form (Hold*, Unevaluated), nonstandard evaluation, etc.

2 votes

How to extract part of a held expression without evaluating it

Like so: Attributes@holdFormComplete={HoldAllComplete} MakeBoxes[holdFormComplete@a_,f_]:=MakeBoxes[HoldForm@a,f]; w=4; Extract[Hold[w=3],{1,1},holdFormComplete] %//FullForm (*w*) (*holdFormComplete[ …
Chris Chiasson's user avatar
8 votes
Accepted

What is wrong with RuleCondition here?

Update Jan 22nd: WRI Tech Support indicates that the fixes for all the test cases below, including the ones that don't depend on SameQ, may land in the next point release. The fixes could miss the poi …
Chris Chiasson's user avatar
20 votes
2 answers
734 views

What is wrong with RuleCondition here?

Bug introduced in 9.0 or earlier and fixed in 10.4 Hold@1`5 /. x_Real :> RuleCondition[N@x, True] Hold@1`5 /. x_Real :> RuleCondition[N@2`5, True] Hold@2`5 /. x_Real :> RuleCondition[N@2`5, True] H …
Chris Chiasson's user avatar
4 votes

NMinimize with NIntegrate (crash in symbolic evaluation, memory leak)

{a->p,d->1},ggxExprFN/.fitTestParm,{{x,-kernelSize,kernelSize},{y,-kernelSize,kernelSize}},{p,s},{(s>0),(0<=p<=1)},"DifferentialEvolution","QuasiMonteCarlo",100] During evaluation of In[209]:= NIntegrate … NIntegrate obtained 170.3335009372765` and 51.646836786706295` for the integral and error estimates. >> During evaluation of In[209]:= NIntegrate::maxp: The integral failed to converge after 100 integrand …
Chris Chiasson's user avatar