Timeline for Is it possible to define a function like this f[K[1]_,K[2]_,K[3]_]
Current License: CC BY-SA 4.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Nov 23, 2018 at 16:15 | vote | accept | acoustics | ||
Nov 23, 2018 at 10:31 | comment | added | Rolf Mertig |
You could do K[x_] := Symbol["K" <> ToString[x]] .
|
|
Nov 23, 2018 at 10:00 | review | Low quality posts | |||
Nov 23, 2018 at 14:40 | |||||
Nov 23, 2018 at 9:46 | comment | added | acoustics | actually, I have written a small function from where the K1, K2, and K3 are coming. In that function I have used Table[K[i],{i,1,3}]. If I can able to express this then it would be very useful. Are there any ways to execute this? | |
Nov 23, 2018 at 9:43 | history | answered | Rolf Mertig | CC BY-SA 4.0 |