Search Results
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 |
Questions on the correct (or improved) formulation of Mathematica code to achieve particular results. Use this tag (not "symbol") for questions about all those odd @@ /@ # & and _ characters, which are keyboard shortcuts for the Wolfram Language named functions Apply, Map, Slot, Function, and Blank.
1
vote
2
answers
119
views
Assigning domain and/or value restrictions to multiple variables at once
Suppose I want to assign value and/or domain restrictions to a set of variables. As an example, let expr be some function of a, b, c, d, and e. Instead of writing, say:
Solve[expr == z,
-10<=a<=10 && …
0
votes
Assigning domain and/or value restrictions to multiple variables at once
.:
However, this syntax won't work with equalities or inequalities (e.g.,-10<={a,b,c,d,e}<=10), since that would constitute applying a scalar test to a vector. … For those, the And@@Thread[...] syntax can be used. …