JSmath is basically a bunch of javacript routines that takes latex
created from sage and displays in the html file. The html is
generated in my Python script(server,html). When I call JSmath the
first routine is loaded. In the first script it calls another and
this is where the problem occurs.
On Wed, 2 Sep 2009, Mikie wrote:
>
> Didn't you create the API using the notebook?
Yes, I created the simple server, but you can think of that more as
reaching under the html/javascript/jsmath layer and exposing the raw
computatinal elements themsleves, rather than building on top of that nice
Didn't you create the API using the notebook?
On Sep 1, 10:02 pm, Robert Bradshaw
wrote:
> On Sep 1, 2009, at 12:16 PM, Mikie wrote:
>
> > I took out the eval and for some reason it is working.
> > Robert, this is function in my API (AlgCalc)
> >http://pirsqrt.com:1843/
> > If I would give it to
On Sep 1, 2009, at 12:16 PM, Mikie wrote:
> I took out the eval and for some reason it is working.
> Robert, this is function in my API (AlgCalc)
> http://pirsqrt.com:1843/
> If I would give it to you would you show me how to get JSmath to
> work? I have talked to you before. You said you were
I took out the eval and for some reason it is working.
Robert, this is function in my API (AlgCalc)
http://pirsqrt.com:1843/
If I would give it to you would you show me how to get JSmath to
work? I have talked to you before. You said you were too busy. I
have loaded load.js, but when it goes fo
Yes, Robert eval is doing the rounding. How do I fix it?
On Sep 1, 12:31 pm, Mikie wrote:
> I have tried SR. I get a malformed value. Yes, I understand the
> problem with eval. Do you have any suggestions on how to get the
> right value into maxima.solve?
>
> On Sep 1, 11:32 am, Robert Brads
I have tried SR. I get a malformed value. Yes, I understand the
problem with eval. Do you have any suggestions on how to get the
right value into maxima.solve?
On Sep 1, 11:32 am, Robert Bradshaw
wrote:
> On Tue, 1 Sep 2009, Mikie wrote:
>
> > When I run the server with the function above and
On Tue, 1 Sep 2009, Mikie wrote:
>
> When I run the server with the function above and the following string
> from a text box I get
> [y=-1,x=0]. The string is "[3*x-y-1,x+(1/3)*y]"
>
> It is changing the input value to [3*x-y-1,x]
1/3 = 0 in Python. Also, I hope you realize how dangerous
eval(
When I run the server with the function above and the following string
from a text box I get
[y=-1,x=0]. The string is "[3*x-y-1,x+(1/3)*y]"
It is changing the input value to [3*x-y-1,x]
On Sep 1, 10:38 am, Mikie wrote:
> Sorry, wrong function
>
> def MSolveSys(syss):
> eqns=eval(syss)
>
Sorry, wrong function
def MSolveSys(syss):
eqns=eval(syss)
solns=maxima.solve(eqns)
return solns
On Sep 1, 10:31 am, Jason Grout wrote:
> Robert Bradshaw wrote:
> > On Sep 1, 2009, at 9:17 AM, Mikie wrote:
>
> >> Here is function I am using to solve systems of linear equations.
>
> >>
Robert Bradshaw wrote:
> On Sep 1, 2009, at 9:17 AM, Mikie wrote:
>
>> Here is function I am using to solve systems of linear equations.
>>
>> def MSolveSys(syss):
>>eqns=eval(syss)
>>solns=maxima.solve(syss)
>>return solns
>>
>> Works great in the notebook, but when I put it in a Pyt
Mikie wrote:
> Here is function I am using to solve systems of linear equations.
>
> def MSolveSys(syss):
>eqns=eval(syss)
>solns=maxima.solve(syss)
>return solns
>
> Works great in the notebook, but when I put it in a Python script it
> rounds the coeficients of the variables and th
On Sep 1, 2009, at 9:17 AM, Mikie wrote:
>
> Here is function I am using to solve systems of linear equations.
>
> def MSolveSys(syss):
>eqns=eval(syss)
>solns=maxima.solve(syss)
>return solns
>
> Works great in the notebook, but when I put it in a Python script it
> rounds the coefic
13 matches
Mail list logo