Is "gauss(x) = exp(-(x)2/(2*sigma2))" a typo? Because that raises a syntax error for me.
-M. Hampton On Oct 24, 6:12 am, Jason Grout <[EMAIL PROTECTED]> wrote: > LRN wrote: > > Here's the code: > > > sigma = 0.2 > > > gauss(x) = exp(-(x)2/(2*sigma2)) > > > gauss1 = gauss(x).derivative > > > gauss2 = gauss1(x).derivative > > > ngauss2(x) = -1*gauss2(x) > > > sngauss2(x,y) = ngauss2(sqrt(x2 + y2)) > > > a1 = var('a1'); a2 = var('a2'); b1 = var('b1'); b2 = var('b2') > > chunkx = integral(sngauss2, x, a1, b1) > > chunky = integral(chunkx, y, a2, b2) > > chunky.show() > > > When evaluated it says "It looks like jsMath failed to set up properly > > (error code -7). I will try to keep going, but it could get ugly." > > This is a problem with fonts, not with any math. To get the nice TeX > display with jsMath, please download a set of fonts from here: > > http://www.math.union.edu/~dpvc/jsMath/download/jsMath-fonts.html > > If you are on Unix, ignore the instructions on the page and just unzip > the fonts into your ~/.fonts directory. > > Please let us know if that solves the problem. > > We *really* ought to fix this to behave nicer (i.e., instead of just > giving an error, just offer to give the fonts to the user and give them > instructions for installing them). Of course, I've said this before, > but not done anything about it! > > Thanks, > > Jason --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---