↧
Answer by Alexey Popkov for Pattern matching and HoldForm
As Leonid explained in the comment, HoldForm is not transparent for the pattern matcher as opposed to HoldPattern:MatchQ[#, HoldForm[_]] & /@ {a, HoldForm[a]}MatchQ[#, HoldPattern[_]] & /@ {a,...
View ArticlePattern matching and HoldForm
Create rules based on data.I have a system that picks out on date,based on some rules. I then want to generate a new rule based on this date and apply the rule to a new dataset. datePicked={{2008, 3,...
View Article
More Pages to Explore .....