Quantcast
Channel: Pattern matching and HoldForm - Mathematica Stack Exchange
Browsing latest articles
Browse All 2 View Live

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 Article


Pattern 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

Browsing latest articles
Browse All 2 View Live