Timeline for Returning Sin[t] from package turns into Sin[scope`t]
Current License: CC BY-SA 3.0
6 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Nov 27, 2016 at 17:29 | vote | accept | Neel Basu | ||
Nov 13, 2016 at 20:51 | comment | added | user21 | Use something like 't_Symbol' in the definition of F1. Have look in the documentation under pattern matching. | |
Nov 13, 2016 at 13:41 | comment | added | Neel Basu |
If I have t=42 in my Notebook prior invoking F1[x, t] it will use that t and return Sin[x + 42] . So is there any way such that user is forced to pass a variable only. or the symbol is used instead of its value even if a predefined variable is passed.
|
|
Nov 12, 2016 at 19:37 | comment | added | user21 | @NeelBasu, I don't understand what you are looking for. Can you show (code) what is conflicting in this case? | |
Nov 12, 2016 at 18:57 | comment | added | Neel Basu |
Is there any way to force t to be a variable not a value so that it doesn't conflict with a global variable t declared in user's notebook ?
|
|
Nov 11, 2016 at 14:40 | history | answered | user21 | CC BY-SA 3.0 |