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.Wed, 07 Sep 2011 23:10:58 +0200Indexed family of functionshttps://ask.sagemath.org/question/8308/indexed-family-of-functions/I want to create a finite (but large-ish) sequence of symbolic functions f_0(x), f_1(x), etc. (up to, say, f_1000(x)). I can do this for any one function by typing something like:
f_4 = function('f_4', nargs=1)
Short of doing this 1000 times, how can I do this?
(For various reasons, I prefer having the subscript be part of the function's name rather than as a second variable.)jdcWed, 07 Sep 2011 23:10:58 +0200https://ask.sagemath.org/question/8308/