Hi Emmanuel,
Just a brief answer for now: recursive_monkey_patch is about structuring the
source code when you have a bunch of methods / classes that you want to monkey
patch. But the monkey patching itself happens exactly as you did by hand, or as
Andrew's decorator does: just assigning the
Thanks a lot for this prompt answer.
That's what I was afraid of : to add methods to
sage.symbolic.expression.Expression, you jus have to patch the source and
recompile. That means a turnaround time of 10-40 minutes each time. Better
be sure of my syntax...
--
Emmanuel Charpentier
Le
On Friday, October 7, 2016 at 1:00:08 PM UTC+2, Clemens Heuberger wrote:
>
>
> I was surprised by the following behaviour:
>
> sage: gamma(QQbar(sqrt(2)))
> 0.886581428719259
> sage: gamma(QQbar(sqrt(2))).parent()
> Complex Field with 53 bits of precision
>
> (I would have preferred to have
On Sunday, October 9, 2016 at 3:35:57 PM UTC, Bill Hart wrote:
>
> By default, Singular uses 16 bit exponents. But it is perfectly capable of
> working with exponents up to 64 bits. That will be slower of course.
>
> why? I presume arithmetic on 16-bit integers is not faster than on 32-bit,
or
OK. I'll try that (yet another private branch on the top of my private
branch...).
Since I'm going to patch symbolic expressions, do you see other candidates
for "simple" (read "dumb") borrowing from Maxima ? demoivre and
exponentialize are obvious candidates, as well as changevar (at least
By default, Singular uses 16 bit exponents. But it is perfectly capable of
working with exponents up to 64 bits. That will be slower of course.
I guess it isn't easy for Sage to change the relevant ring upon overflow to
one using 64 bit exponents.
I can't say whether it would be easy or hard
Note that Hans has fixed the fact that Singular wasn't reporting this as an
overflow.
On Sunday, 9 October 2016 17:35:57 UTC+2, Bill Hart wrote:
>
> By default, Singular uses 16 bit exponents. But it is perfectly capable of
> working with exponents up to 64 bits. That will be slower of course.
On Sunday, 9 October 2016 18:08:29 UTC+2, Dima Pasechnik wrote:
>
>
>
> On Sunday, October 9, 2016 at 3:35:57 PM UTC, Bill Hart wrote:
>>
>> By default, Singular uses 16 bit exponents. But it is perfectly capable
>> of working with exponents up to 64 bits. That will be slower of course.
>>
>>
"sage -b" will rebuild any sage cython modules that were changed, so for
your application its probably enough. It does not rebuild third-party
packages or documentation.
On Sunday, October 9, 2016 at 12:06:25 PM UTC+2, Emmanuel Charpentier wrote:
>
> Le 9 oct. 2016 12:01, "Jori Mäntysalo"
On Sun, Oct 9, 2016 at 2:07 PM, Ted Kosan wrote:
> For the past few years I have been working on an artificial intelligence
> step-by-step equation solver for elementary algebra equations that solves
> these equations using steps that a human would typically use. Here is an
>
David wrote:
> I think a graphical version of this would be useful as a sage-based
> online high school math tutorial program, such as the khan academy
> algebra modules.
Are either of the following examples close to what you have in mind?:
http://data.ssucet.org/temp/solve_steps_example.png
For the past few years I have been working on an artificial intelligence
step-by-step equation solver for elementary algebra equations that solves
these equations using steps that a human would typically use. Here is an
example of what I have working so far:
In>
Brown's construction is the function which takes a finite field to a graph
with diameter 2.
http://www.emis.ams.org/journals/EJC/Surveys/ds14.pdf
Is it available in the graph component of sagemath?
If not, I plan to implement it for sagemath.
yawara
--
You received this message because you
On Monday, 19 September 2016 18:59:09 UTC-6, Jason Grout wrote:
>
> Some ideas:
>
> Is the MoinMoin sage cell extension enabled?
> https://github.com/sagemath/sagecell/blob/master/contrib/moinmoin/sagecell.py.
> If
> it is enabled, was MoinMoin updated and the extension no longer works?
>
>
On Sun, Oct 9, 2016 at 2:20 PM, Ted Kosan wrote:
> David wrote:
>
>> I think a graphical version of this would be useful as a sage-based
>> online high school math tutorial program, such as the khan academy
>> algebra modules.
>
> Are either of the following examples close to
On Sun, 9 Oct 2016, Emmanuel Charpentier wrote:
sage.symbolic.expression.Expression, you jus have to patch the source and
recompile. That means a turnaround time of 10-40 minutes each time.
How? ./sabe -b takes less than a minute even on quite old machine.
--
Jori Mäntysalo
Le 9 oct. 2016 12:01, "Jori Mäntysalo" a écrit :
>
> On Sun, 9 Oct 2016, Emmanuel Charpentier wrote:
>
>> sage.symbolic.expression.Expression, you jus have to patch the source and
>> recompile. That means a turnaround time of 10-40 minutes each time.
>
>
> How? ./sabe -b
17 matches
Mail list logo