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.Thu, 24 Apr 2014 08:54:25 +0200What should the FAQ contain?https://ask.sagemath.org/question/7570/what-should-the-faq-contain/The [mathoverflow site][1] has [a great FAQ][2]. What are some key points that the FAQ for this ask.sagemath.org site should make?
[1]: http://mathoverflow.net/
[2]: http://mathoverflow.net/faqWilliam SteinWed, 18 Aug 2010 19:55:17 +0200https://ask.sagemath.org/question/7570/built in cython integration [beginner]https://ask.sagemath.org/question/11360/built-in-cython-integration-beginner/When I run a built-in sage function that is defined as cython code, does it automatically run compiled code, or do I have to activate cython or something?
For example:
When I run the code
g = graphs.CompleteGraph(10)
g.traveling_salesman_problem()
in a notebook, without anything else, the second command contains instances of 'MixedIntegerLinearProgram', which appears to be a cdef from a pyx file. I've learnt today that this means it is written in cython, and I would like to confirm that if MixedIntegerLinearProgram gets called in g.traveling_salesman_problem(), that it does indeed run compiled code, and that I don't have to do anything special to activate it.alejandroericksonThu, 24 Apr 2014 08:54:25 +0200https://ask.sagemath.org/question/11360/autodeclare variableshttps://ask.sagemath.org/question/8363/autodeclare-variables/Hello Everyone!
Is there a way to autodeclare variables?
For example:
I want to import an expression from another computer program.
Now this expression is stored as a string, that means I have to evaluate it in sage.
sage_eval(expression)
It works fine, but if the expression contains variables, these have to be manually declared first as var('variables').
I want to do this automatically, e.g.: sage_eval(expression, autodeclarevariables=on)
Is there a way to do something like that?
nablaoperatorSun, 09 Oct 2011 13:02:41 +0200https://ask.sagemath.org/question/8363/Defining custom global constantshttps://ask.sagemath.org/question/8980/defining-custom-global-constants/Is it possible to define a custom constant like pi? One that is handled symbolically, one that can be used without prior definition...
For example, could it be possible to define "tau" to equal 2*pi for my Sage installation so that when I open my notebook, I can call "tau" without needing to define it in every cell?
And to take it a step further, would it be possible to replace constants? Like pi with tau/2? This isn't as important, but it would be very nice!daniel.e2718Fri, 18 May 2012 16:34:21 +0200https://ask.sagemath.org/question/8980/How to do latex typesetting in asksagehttps://ask.sagemath.org/question/8160/how-to-do-latex-typesetting-in-asksage/I've seen questions here with typeset expressions. But I can't find out how to do it. I searched for the strings "latex", "markdown", "mathjax", "typesetting" but can't find what I want.
Thanks in advance.omoplataSat, 18 Jun 2011 17:09:58 +0200https://ask.sagemath.org/question/8160/What kinds of autolinking are supported by asksage?https://ask.sagemath.org/question/8142/what-kinds-of-autolinking-are-supported-by-asksage/Using certain syntax in questions/answers will generate links automatically. For future reference, here is that syntax.nilesThu, 02 Jun 2011 03:04:27 +0200https://ask.sagemath.org/question/8142/