*I'm not sure if this is an appropriate topic for sage-devel but given that
this concerns an "external Sage package" I will take a chance posting here.
I will not be offended, or surprised, if mods delete this thread.*
I am looking for someone to take over the management, and perhaps even the
I felt like writing this up:
https://gist.github.com/cswiercz/c632d920565a2da519b73bd2b79d7920
Please suggest improvements and corrections.
--
Chris
--
You received this message because you are subscribed to the Google Groups
"sage-devel" group.
To unsubscribe from this group and stop
(Disclaimer: I haven't yet read this entire thread when writing my
response.)
Chris -- who wrote abelfunctions -- is a Univ of Wash grad student I
> know. I recently ran into him and he told me that he had spent years
> writing this package as a standard Python package depending on sympy
>
> The easiest way is probably to poll one of
>
> https://raw.githubusercontent.com/sagemath/sage/master/src/sage/version.py
>
> https://raw.githubusercontent.com/sagemath/sage/master/src/bin/sage-version.sh
>
>
That's a cute trick. I'll try that out. Thanks!
--
You received this message
> I was expecting the following to catch the DeprecationWarning
>
> import warnings
>
> warnings.filterwarnings('error',category=DeprecationWarning)
> try:
> print (exp(x)*exp(3*x)).simplify_exp() #example with exp function
> except DeprecationWarning:
> print 'MegBook.py say: exercise
I have written an sort of experimental package for Sage and I am currently
using TravisCI to run my tests. Since TravisCI doesn't have an installation
of Sage I decided to make downloading it a step in the travis.yml config,
in particular, during the before_install step:
wget
What I find particularly interesting is that they went to OSS fairly
early, but of course it relies on proprietary underneath with Matlab;
they're open-sourcing everything they can, and of course Matlab is pretty
available compared to other programs
For my Master's project I wrote a toy
I've finished with an implementation of Riemann theta functions in Sage.
(See patch #6371 http://trac.sagemath.org/sage_trac/ticket/6371.)
Unfortunately, as shown at the bottom of the comment thread for #6371, my
code seems to be introducing memory leaks. The culprit doctest failure is
in
Change your code so the actual Riemann theta module isn't imported
until a users actually wants to use it (e.g. use lazy_import). Then
it won't trigger an issue with all.py at startup. This is also
generally a good idea to keep from further impacting Sage's startup
time.
Thanks for the
I'll see what I can do. :)
I'm using Maple's implementation of Puiseux series to debug my code. A while
ago my advisor wrote this implementation and has retained the rights to
distributing his code. However, Maple is a rather cryptic language to me so
at the moment I'm only checking output. :)
this is getting messier than I thought. :)
I appreciate the feedback.
--
Chris Swierczewski
--
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http
.
--
Chris Swierczewski
University of Washington
Department of Applied Mathematics
http://www.cswiercz.info
--
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to
sage-devel+unsubscr...@googlegroups.com
For more options, visit
.
--
Chris Swierczewski
University of Washington
Department of Applied Mathematics
http://www.cswiercz.info
--
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to
sage-devel+unsubscr...@googlegroups.com
For more options, visit
Wohoo! I figured it out! I think this experience warrants writing a blog
post.
--
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at
Try map instead: map(theta,[x,x^2,x^3]), because map applies the
function
to every list element.
Thanks for the suggestion but theta is, in fact, a vector-valued function. It
acts on the elements of the input list / vector in a non-linear and non-trivial
way. So I'm looking for ways to
Coercion is currently still a little problem, and I think you would
earn some credits here if add this ability to the call method in
BuiltinFunction. Have you ever looked into that class? Perhaps it
helps you understanding the problem.
So I've been looking at some of the trigonometric
...
But as mentioned above: to understand BuiltinFunction, you should
understand how the base class is working (at least the basics).
Thank you very much for the in-depth response! I look forward to taking a look
at that trac ticket.
--
To post to this group, send an email to
Does anyone know of an example where a class __call__ method takes lists as
input? (With possible symbolic entries, of course.) I'm attempting to follow
the structure of Function_sec (and similar functions) but when I try
sage: var('x')
sage: theta([x,x^2,x^3])
I get the following error:
complex
subs. I'm afraid to inherit anything in sage.symbolic (or whatever is
relevant in this case) since it seems rather complicated. (But I'm willing
to dive into it if necessary.)
Thanks for any insight or information.
--
Chris Swierczewski
--
To post to this group, send an email to sage
Do you mean, for example, how sin and cos handle inputs from the symbolic ring?
--
Chris Swierczewski
cswie...@amath.washington.edu
http://www.cswiercz.info
On Jan 11, 2011, at 12:07 PM, koffie m.derickx.stud...@gmail.com wrote:
Sage uses symbolic ring fot this. I guess you should just look
By the way, the sinus was a bad example since that uses ginac as a
backend. You should look at the cotangent (i.e. Function_cot ).
Thank you very much for the insight!
--
Chris
--
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an
tdumont,
I am supposed to speak about numerics in Sage. I'll speak about what
exists nowadays, but I would like to know if there are currently
projects, developments (if any), in this field of Numerical methods.
Sage includes the Numpy and Scipy packages, both of which perform numerical
I really believe Sage needs to ship with a number of decent published
examples. If one looks on any Sage server, one sees a list of published
worksheets, many of which are either error messages, sometimes spam, and
generally of very low quality.
Or worksheets related to mere homework
A nifty service provided by some of the Ma* folks are webspaces where
users could upload some powerful research-level. For example:
* Mathematica: http://library.wolfram.com/
* Matlab: http://www.mathworks.com/matlabcentral/fileexchange/
* Maple:
no documentation to go
with the VirtualBox installation?
--
Chris Swierczewski
--
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http
so, with the subprocess module, it
shouldn't be to difficult to wrap.
The above is just an FYI for anyone who's interested.
--
Chris Swierczewski
cswie...@gmail.com
http://www.cswiercz.info
--~--~-~--~~~---~--~~
To post to this group, send an email to sage-devel
Hello Marshall,
I am not aware of anything that Porta could do that cddlib cannot do.
The polyhedra.py package in geometry should be able to do all that.
Please let me know if there is something you want to do that isn't
covered by that.
I mainly wanted to use Porta's system of ineqalities
Well, the current polyhedra.py should work fine for that. For
example, if you have inequalities defining a unit cube x = 0, y=0,
z=0, x=1, y=1, z=1, you could put them into sage as follows and
get the vertices:
Interesting. I though that you needed a working install of the
polymake spkg in
is undergoing major changes so that a
Sage spkg can be considered possible. This includes major changes in
the documentation and website!!! :) If you have any questions then
feel free to email me. (Or someone who knows more about Clawpack.)
--
Chris Swierczewski
$SAGE_ROOT/devel/sage/sage/numerical/clawpack.
Any suggestions? Again, the three files are quite temporary. The
wrapper compiles and immediately executes the program and doesn't
really need those particular files again.
Thanks for the help!
--
Chris Swierczewski
cswie...@gmail.com
, these
subroutines are empty. It's up to the user to write their own code to
define the behavior of the subroutine.
If this is possible, it would probably the easiest way to my knowledge
to create a Cython wrapper of Clawpack.
Thanks in advance for any help or ideas offered!
--
Chris Swierczewski
Also, would Cython C API Declarations be another possible soution?
http://docs.cython.org/docs/external_C_code.html?highlight=compile#c-api-declarations
--
Chris
--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe
Robert,
So I understand you better, what you're trying to do is let the user
provide their functions at runtime rather than at compile time?
Yes.
I think the easiest way to go about this would be to provide custom non-
empty functions that call your code (e.g. via a function pointer the
Joel,
Do you have control of the CFLAGS that are passed to the compiler (presumably
gcc) which compiles the cython generated code? If so, you can use the -D
switch to define the __LINUX identifier.
Yes. Just to clarify, I've been able to compile by setting this flag
and simply typing
for such an awesome
technology!)
--
Chris Swierczewski
[EMAIL PROTECTED]
mobile: 253 2233721
--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit
William and Sara,
A couple nights ago, since I couldn't fall asleep, I wrote up some
Sage code that
supposedly generates an n-coloring of a graph, assuming that one
exists.
I say supposedly since I haven't tested it extensively. However, it
did work with
a couple of examples.
How might I go
+1 vivify (actually, make it +1 interact)
--
Chris Swierczewski
--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http
I'll be there. So far I've been doctest-ing various files in sage/
rings (ring.pyx, ideal.pyx, integer_ring.pyx). I'd like to see where
people want to see more detailed docstrings and doctests.
--
Chris Swierczewski
--~--~-~--~~~---~--~~
To post to this group
would like to join in on the festivities?
--
Chris Swierczewski
--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http
39 matches
Mail list logo