Timeline for Forming a 2D table with conditions with a function
Current License: CC BY-SA 3.0
9 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Sep 25, 2017 at 20:27 | answer | added | Nasser | timeline score: 1 | |
Sep 25, 2017 at 20:17 | history | edited | user49535 | CC BY-SA 3.0 |
added 189 characters in body
|
Sep 25, 2017 at 20:06 | comment | added | user49535 | Ok..I can try to make it clearer. | |
Sep 25, 2017 at 20:05 | comment | added | user49535 | Yes.. Let me simplify. Lets say f = f(1, 2) + f(1, 3) + f(2, 3). I want to make a 2D table with f such that indices i = 1 - 3 and j = 1 - 3. Now each element of table will represented by a {i, j} set. What I need is that for the element represented by i = 1; j = 2 f(1, 2) = 5 and so on.. | |
Sep 25, 2017 at 20:04 | comment | added | Nasser |
so in this example you just typed, is m=1 and n=2 ? If so, please edit your question and clarify that n and m are extra input.
|
|
Sep 25, 2017 at 19:56 | comment | added | Nasser |
but what is n and m in the code? You show i and j only. Are n and m separate input?
|
|
Sep 25, 2017 at 19:55 | comment | added | user49535 | f(m, n) is a general representation of components f(1, 2), f(2, 3) etc. Hope it explains... | |
Sep 25, 2017 at 19:35 | comment | added | Nasser |
may be I am missing something. But where does m and n come from in the code you show? And what is f(f(m, n))
|
|
Sep 25, 2017 at 19:22 | history | asked | user49535 | CC BY-SA 3.0 |