I haven't sent anything to this group for years, but I thought this
might be interesing.
In CLI mode (ipython), or when the notebook runs on a browser with bad
equation support (or even something like Lynx), it could be
interesting to have an option to display equations in ASCII.
I've found a proj
On 16 sep, 17:06, John H Palmieri wrote:
> I don't know if this is the same issue, but I think I've also seen the
> @CachedFunction decorator hide documentation: if you have
>
> @CachedFunction
> def bozo(...):
>
> Then bozo doesn't appear in the reference manual. I've considered
> doing
>
>
On 9 sep, 18:24, David Harvey wrote:
> Sage is very slow. I discovered this (again) while trying to write a
> prototype of an algorithm for computing zeta functions of projective
> varieties. I need to multiply lots of polynomials and matrices over
> finite rings, and frequently move coeffic
On 22 ago, 15:41, Oscar Lazo wrote:
> A general "physics" module would be nice too, we could put some other
> things there once we are satisfied with units. In particular, I'd like
> to see physical constants. So far i cannot get sage to render plank's
> reduced constant as hbar.
>
> Cheers!
>
> O
On 22 ago, 22:23, Oscar Gerardo Lazo Arjona
wrote:
> I'm trying to find the solutions to solve this equation
>
> sage: a=8594.0*x^3 - 30768.0 *x^2 + 36399.0 *x -14224.0
> sage: b=solve(a==0,x)
> sage: for i in b:
> : c=i.rhs()
> : print c.n()
> :
> 1.19783952189420 - 4.16333634
On 22 ago, 06:20, Oscar Lazo wrote:
> I will check this as soon as I can. I too was not very satisfied with
> the units module. In particular, I did not like the way SI prefixes
> are handled. Also, this:
>
> sage: m=units.length.m
> sage: sqrt(m^2)
> sqrt(meter^2)
>
> When I'd expect to get "mete
I found the "sage.symbolic.units" module very promising, but there
were some features it was missing, such as an easy way to enter units
(something like "units('kg*m/s^2')"), handling of SI prefixes (you can
do "units.si_prefixes.kilo*units.length.meter", but this is very
impractical), unit represe
On 3 ago, 16:38, cousteau wrote:
> Have you considered
> usingmimeTeXhttp://www.forkosh.dreamhost.com/source_mimetex.html
> as an option for formula rendering? It's a tiny program that renders
> an image from a LaTeX formula, so you just have to put something like
> and get
On 12 ago, 11:38, Jason Grout wrote:
>
> Well, there is a general trend towards using functions instead of
> attributes in Sage. I think the main reason is for documentation (I
> wish python had attribute docstrings that we could query!).
>
They wouldn't be attributes (that would involve having
Another option would have been installing from the Ubuntu Minimal CD,
that way you could install only the strictly necessary packages.
Indeed, if the Sage notebook can be accessed from outside the virtual
machine, you could even get rid of the X environment, and have sage -
notebook running on a tt
Maurizio's function is pretty nice! It's exactly what I was looking
for. I think it should be included in future releases. But it's a bit
slow (at least for the 1..1e9 range), maybe it should be rewritten or
compiled.
The only thing I didn't like is that it saves the image to the current
directory,
On 5 ago, 04:31, William Stein wrote:
> On Wed, Aug 4, 2010 at 4:42 PM, Alex Ghitza wrote:
> > On Wed, 4 Aug 2010 13:21:11 -0700 (PDT), cousteau
> > wrote:
> >> I agree with Simon in that developers may be reluctant to modify the
> >> preparser unless it'
On 3 ago, 13:01, Simon King wrote:
>
> 1) It must be easily recognisable for the preparser. I think this is
> the case here.
> 2) There is no way to interpret it in Python syntax (i.e., there can
> be no doubt for the preparser which syntax is being used). I think
> this is the case here, since ha
Have you considered using mimeTeX
http://www.forkosh.dreamhost.com/source_mimetex.html
as an option for formula rendering? It's a tiny program that renders
an image from a LaTeX formula, so you just have to put something like
and get a
rendered formula.
This makes the notebook work fine with form
he
__pos__(self) method for complexes, matrices and complex matrices, and
I think that both conjugating and transposing are common enough
operations to deserve its own operator.
On 2 ago, 22:47, William Stein wrote:
> On Mon, Aug 2, 2010 at 1:38 PM, cousteau
> wrote:
> > I'm study
I'm studying engineering, and I'm used to some programs such as
Matlab, Maple, etc. When I knew about SAGE I found it very powerful,
simple and well structured, but I quickly found out that it wouldn't
be very useful in engineering, which is more oriented to numerical
analysis and simple math opera
On 24 nov, 15:16, Harald Schilly wrote:
> you can minimize the negative of the objective.
The problems with minimize_constrained() are:
1) it finds a numerical result (a real number with limited precision)
2) its constraints are inequalities, like x^2+y^2-3 >= 0 (although an
equality can be expre
I was looking for a way to maximize a function subject to constraints
but didn't find any, so I wrote it myself (based on an example on
http://www.sagenb.org/home/pub/353/):
def lagrange_multipliers(f, g, varx):
n = len(g)
lmb = [var("lambda_%d" % i) for i in range(n)]
L =
18 matches
Mail list logo