On Nov 12, 5:46 pm, William Stein wrote:
> On Thu, Nov 12, 2009 at 8:32 AM, zeliboba wrote:
>
> > I'd like to use the same code as a script to run it from command line
> > and in web interface for worksheet. I found a nice formatting function
> > html.table(
I'd like to use the same code as a script to run it from command line
and in web interface for worksheet. I found a nice formatting function
html.table(), but it is not suitable for terminal output. my question
is: how to check if output will go to worksheet or to terminal? then I
can switch outpu
it looks like what I exactly need, thanks!
On Nov 11, 12:13 pm, Burcin Erocal wrote:
> Hi Robert,
>
> On Wed, 11 Nov 2009 02:45:11 -0800 (PST)
>
> "ma...@mendelu.cz" wrote:
> > So my question for developers and experienced users os Sage is: Is
> > there a function which converts input like f =
let's say I have
var('Re')
f = 0.25 / (log(5.74 / Re^0.9, 10))^2 / 4
I'd like to expand/evaluate all numerical constants and see dependency
on Re like
f = c1 / log(Re^c2)
how to reach this?
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@goo
dear all
is it possible to have verbose output when execute sage script mode?
so one can see not only results of computation, but also input line,
similarly to default behavior of R or bash with -xf
option.unfortunately I did not find such an option for sage or python.
here is some examples (copy
hmm... the question was different: "attach" makes variable global,
"import" does not. is it bug or feature?
On Oct 28, 5:52 pm, William Stein wrote:
> On Wed, Oct 28, 2009 at 5:16 AM, zeliboba wrote:
>
> > dear all
>
> > in documentation for var()
dear all
in documentation for var() it is stated "variables ... automatically
injected into the global namespace". I'd like to define variable in
module and then use it from several scripts, but variable is not
exported actually. my prog.sage looks like:
from mod import *
createVar('A')
f = A^2