Timeline for How to efficiently populate a symmetric matrix?
Current License: CC BY-SA 4.0
16 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| May 5, 2020 at 19:42 | history | became hot network question | |||
| May 5, 2020 at 18:00 | history | tweeted | twitter.com/StackMma/status/1257731880067137538 | ||
| May 5, 2020 at 15:25 | vote | accept | Ponyboy Curtis | ||
| May 5, 2020 at 15:25 | vote | accept | Ponyboy Curtis | ||
| May 5, 2020 at 15:25 | |||||
| May 5, 2020 at 15:25 | vote | accept | Ponyboy Curtis | ||
| May 5, 2020 at 15:25 | |||||
| May 5, 2020 at 14:30 | history | edited | Ponyboy Curtis | CC BY-SA 4.0 | added 834 characters in body |
| May 5, 2020 at 14:26 | comment | added | Ponyboy Curtis | @MariusLadegårdMeyer, I got it now. My cf does not calculate for a list of m, n, p and q. :( | |
| May 5, 2020 at 14:00 | answer | added | Marius Ladegård Meyer | timeline score: 5 | |
| May 5, 2020 at 13:58 | comment | added | Marius Ladegård Meyer | Yes, but you want to evaluate this function not for only one value of these integers, but for many different ones. If we put these many different ones in a list, and feed that list to cf, will it work? For instance, if I want to find Sin[x] for x = 1, 2, 3, ..., 100 I don't need to loop, I just do Sin[Range[100]]. I'm asking whether this applies to your function cf. | |
| May 5, 2020 at 13:55 | comment | added | Ponyboy Curtis | @MariusLadegårdMeyer, m,n,p,q are integers. All others are lists. cf = Compile[{{Nfunc, _Real, 2}, {xi, _Real, 1}, {yi, _Real, 1}, {wix, _Real, 1}, {wiy, _Real, 1}, {m, _Integer}, {n, _Integer}, {p, _Integer}, {q, _Integer}}. | |
| May 5, 2020 at 13:53 | comment | added | Ponyboy Curtis | @ΑλέξανδροςΖεγγ, that is the exact point. I'm not getting create a algorithm to only one Do | |
| May 5, 2020 at 13:40 | answer | added | bill s | timeline score: 5 | |
| May 5, 2020 at 13:35 | comment | added | Marius Ladegård Meyer | What is the nature of cf? Is it Listable in any of its arguments? I.e. would cf[nFunc, xi, yi, wix, wiy, m, n, p, {q1, q2, q3}] correctly give a list of three values? | |
| May 5, 2020 at 13:33 | history | edited | Αλέξανδρος Ζεγγ | CC BY-SA 4.0 | added 3 characters in body |
| May 5, 2020 at 13:32 | comment | added | Αλέξανδρος Ζεγγ | At least you can just use only one Do. | |
| May 5, 2020 at 11:42 | history | asked | Ponyboy Curtis | CC BY-SA 4.0 |