Timeline for Plotting maxima within a simplex
Current License: CC BY-SA 4.0
11 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jul 23, 2019 at 0:42 | comment | added | kglr | ... The function Reduce[#[p, q] >= max[p, q] , {p, q} ∈ SSSTriangle[1, 1, 1]] & a pure function (a function with unnamed argument(s))) (where Slot (#) is a placeholder for the argument.) We could have defined the same function using myreduce[arg_]:=Reduce[arg[p, q] >= max[p, q] , {p, q} ∈ SSSTriangle[1, 1, 1]]. When supplied an argument (myreduce[func] for example) this function gives the result of Reduce[func[p, q] >= max[p, q] , {p, q} ∈ SSSTriangle[1, 1, 1]]. | |
| Jul 23, 2019 at 0:37 | comment | added | kglr | @Amanda, you are about rf (rg and rh). I used Quiet to suppress warning messages that Reduce gives (try it by removing Quiet @ to see what i mean). For the second part related to & , /@ .., see (1) Function (&) and (2) Map (/@) in the documentation center ... | |
| Jul 23, 2019 at 0:11 | comment | added | Amanda | Can I ask for help in understanding the code for future issues? I think rf defines the region of (p,q) where f is the maximum, etc. This is achieved with '{rf, rg, rh} = Quiet @ Reduce[#[p, q] >= max[p, q] , {p, q} ∈ SSSTriangle[1, 1, 1]] & /@ {f, g, h};' Can you please explain this line... I'm confused by the role of 'Quiet @ Reduce[#[p, q] >= max[p, q]' and '& /@ {f, g, h}' @kglr (I hope this is the right formatting for comments?) | |
| Jul 22, 2019 at 21:41 | vote | accept | Amanda | ||
| Oct 20, 2019 at 0:55 | |||||
| Jul 22, 2019 at 21:09 | history | edited | kglr | CC BY-SA 4.0 | deleted 88 characters in body |
| Jul 22, 2019 at 19:50 | history | edited | kglr | CC BY-SA 4.0 | deleted 38 characters in body |
| Jul 22, 2019 at 19:19 | history | edited | kglr | CC BY-SA 4.0 | deleted 542 characters in body |
| Jul 22, 2019 at 18:53 | history | edited | kglr | CC BY-SA 4.0 | added 380 characters in body |
| Jul 22, 2019 at 17:38 | history | edited | kglr | CC BY-SA 4.0 | added 141 characters in body |
| Jul 22, 2019 at 16:07 | history | edited | kglr | CC BY-SA 4.0 | added 381 characters in body |
| Jul 22, 2019 at 15:45 | history | answered | kglr | CC BY-SA 4.0 |