ASKSAGE: Sage Q&A Forum - RSS feedhttps://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Sat, 21 May 2011 23:55:46 +0200How to magically define variables and use functional notation instead of methodshttps://ask.sagemath.org/question/8127/how-to-magically-define-variables-and-use-functional-notation-instead-of-methods/I am always too lazy to look up again where it is that one can do these things. Not that I would ever use such dangerous things myself.
- Magically define variables (so that you don't have to `var('y')`)
- Magically define functions (so that one doesn't need `boof.annoying_method()`, but instead can do `annoying_method(boof)`)
Once it's on here, people can find it more easily and put themselves in more danger. kcrismanSat, 21 May 2011 23:55:46 +0200https://ask.sagemath.org/question/8127/