Timeline for MatchQ’ing Except[…] and Except[…]
Current License: CC BY-SA 3.0
6 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Dec 20, 2015 at 21:04 | comment | added | jdaw1 |
Just what was needed: thank you. I might have been confused because Position seems to take either a pattern or a function evaluating to a Boolean. Whatever, problem cured: thank you.
|
|
Dec 20, 2015 at 21:03 | vote | accept | jdaw1 | ||
Dec 20, 2015 at 19:33 | comment | added | march |
Oh right, because the Alternatives is inside the Except ! I didn't notice that. Nevermind!
|
|
Dec 20, 2015 at 19:31 | comment | added | eldo |
Read it as Not[this Or that] which must evaluate to True because 9 is positive and Times doesn't apply.
|
|
Dec 20, 2015 at 19:26 | comment | added | march |
I thought of this, too, but then I realized that Alternatives is more like Or than And , because MatchQ will return True if any of the patterns joined by Alternatives match the expression, rather than all.
|
|
Dec 20, 2015 at 19:22 | history | answered | eldo | CC BY-SA 3.0 |