Timeline for Checking if all the variables are present in the defined function
Current License: CC BY-SA 3.0
24 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Mar 31, 2019 at 22:25 | comment | added | J. M.'s missing motivation♦ | Related. | |
Aug 2, 2016 at 9:05 | comment | added | Erdem | For me it does contribute to the evaluation it just does not change the result. As long as, a is given in the vas for the purpose of calculation it is fine | |
Aug 2, 2016 at 2:10 | comment | added | Eric Towers |
What do you intend to do with a + w + x + y + z - a , which contains all the variables and an extra variable that contributes nothing to evaluation (in fact easily simplifies away)?
|
|
Aug 1, 2016 at 16:32 | answer | added | Michael E2 | timeline score: 3 | |
Aug 1, 2016 at 14:23 | comment | added | Michael E2 |
One might use a strategy similar to NIntegrate[] in that case. I'll try to work up an answer.
|
|
Aug 1, 2016 at 13:12 | history | tweeted | twitter.com/StackMma/status/760100802790842368 | ||
Aug 1, 2016 at 12:40 | comment | added | Erdem |
u= y z^2 w^3 is an acceptable function and user can enter vas={x,y,z,w} and Sort[vas] === Variables @ Level[u, {-1}] result in False so I won't do the calculation (Because there is one extra variable.) I checked u=1; with the accepted answer and it does work. The rhs produce {} and is it not equivalent with Sort[vas]. About vas, the user will actually enter set of variables with set of limits like {x,-1,1},{w,0,2} for the u function. I will subtract variables from there.
|
|
Aug 1, 2016 at 12:15 | comment | added | Michael E2 |
Are constant functions allowed? Would the variables have to be specified as vas = {} ? (Your Do-loop allows constant functions, BTW, but the accepted answer does not. It also allows some variables to be missing. Change u to u = 1 , for example.)
|
|
Aug 1, 2016 at 12:09 | history | edited | Mr.Wizard | CC BY-SA 3.0 |
deleted 3 characters in body
|
Aug 1, 2016 at 12:01 | answer | added | BoLe | timeline score: 1 | |
Aug 1, 2016 at 11:56 | comment | added | Michael E2 |
What if the user enters u = y z^2 w^3 ? Would that be valid or invalid if the variables are specified as {x, y, z, w} ? Or does the user have to specify exactly the variables that literally occur?
|
|
Aug 1, 2016 at 11:53 | comment | added | Erdem | @Micheal E2 I am not sure if I am following your question. | |
Aug 1, 2016 at 11:42 | vote | accept | Erdem | ||
Aug 1, 2016 at 11:01 | history | edited | J. M.'s missing motivation♦ |
edited tags; edited tags
|
|
Aug 1, 2016 at 10:45 | history | edited | Erdem | CC BY-SA 3.0 |
deleted 17 characters in body
|
Aug 1, 2016 at 10:42 | history | edited | Mr.Wizard | CC BY-SA 3.0 |
deleted 12 characters in body
|
Aug 1, 2016 at 10:37 | vote | accept | Erdem | ||
Aug 1, 2016 at 11:42 | |||||
Aug 1, 2016 at 10:37 | vote | accept | Erdem | ||
Aug 1, 2016 at 10:37 | |||||
Aug 1, 2016 at 10:37 | history | edited | Erdem | CC BY-SA 3.0 |
added 852 characters in body
|
Aug 1, 2016 at 10:29 | answer | added | kglr | timeline score: 3 | |
Aug 1, 2016 at 9:55 | answer | added | J. M.'s missing motivation♦ | timeline score: 11 | |
Aug 1, 2016 at 9:52 | answer | added | Mr.Wizard | timeline score: 10 | |
Aug 1, 2016 at 9:49 | history | edited | Mr.Wizard | CC BY-SA 3.0 |
added 52 characters in body
|
Aug 1, 2016 at 9:31 | history | asked | Erdem | CC BY-SA 3.0 |