[sage-devel] Abelfunctions - Looking for New Package Manager / Owner

2016-09-21 Thread Chris Swierczewski
*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

[sage-devel] Re: how we develop sage

2016-04-14 Thread Chris Swierczewski
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

Re: [sage-devel] Re: how we develop sage

2016-04-14 Thread Chris Swierczewski
(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 >

[sage-devel] Re: Automated Downloading of Most Recent Version of Sage

2016-04-08 Thread Chris Swierczewski
> 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

[sage-devel] Re: catch a "sagemath" DeprecationWarning

2016-04-08 Thread Chris Swierczewski
> 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

[sage-devel] Automated Downloading of Most Recent Version of Sage

2016-04-08 Thread Chris Swierczewski
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

[sage-devel] Re: Chebfun

2014-05-30 Thread Chris Swierczewski
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

[sage-devel] Memory Leaks in #6371?

2011-12-14 Thread Chris Swierczewski
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

Re: [sage-devel] Memory Leaks in #6371?

2011-12-14 Thread Chris Swierczewski
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

[sage-devel] Re: Suggestions for Puiseux Expansion Implementation Location

2011-05-05 Thread Chris Swierczewski
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. :)

[sage-devel] Re: Suggestions for Puiseux Expansion Implementation Location

2011-05-01 Thread Chris Swierczewski
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

[sage-devel] Suggestions for Puiseux Expansion Implementation Location

2011-04-30 Thread Chris Swierczewski
. -- 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

[sage-devel] Puiseux Series Implementation Location

2011-04-30 Thread Chris Swierczewski
. -- 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

[sage-devel] Re: Advice for Lazy Symbolic Evaluation

2011-01-21 Thread Chris Swierczewski
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

Re: [sage-devel] Re: Advice for Lazy Symbolic Evaluation

2011-01-18 Thread Chris Swierczewski
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

Re: [sage-devel] Re: Advice for Lazy Symbolic Evaluation

2011-01-18 Thread Chris Swierczewski
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

Re: [sage-devel] Re: Advice for Lazy Symbolic Evaluation

2011-01-18 Thread Chris Swierczewski
... 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

[sage-devel] Re: Advice for Lazy Symbolic Evaluation

2011-01-14 Thread Chris Swierczewski
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:

[sage-devel] Advice for Lazy Symbolic Evaluation

2011-01-11 Thread Chris Swierczewski
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

Re: [sage-devel] Re: Advice for Lazy Symbolic Evaluation

2011-01-11 Thread Chris Swierczewski
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

Re: [sage-devel] Re: Advice for Lazy Symbolic Evaluation

2011-01-11 Thread Chris Swierczewski
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

[sage-devel] Re: new numerical developments in Sage ?

2011-01-02 Thread Chris Swierczewski
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

[sage-devel] Re: Website Feature Request: Public Examples Webpage / Workbook

2010-11-12 Thread Chris Swierczewski
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

[sage-devel] Website Feature Request: Public Examples Webpage / Workbook

2010-11-11 Thread Chris Swierczewski
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:

[sage-devel] Misleading Instructions on the Windows Downloads Site

2010-10-20 Thread Chris Swierczewski
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

[sage-devel] Polymake Status / Porta

2009-11-02 Thread Chris Swierczewski
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

[sage-devel] Re: Polymake Status / Porta

2009-11-02 Thread Chris Swierczewski
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

[sage-devel] Re: Polymake Status / Porta

2009-11-02 Thread Chris Swierczewski
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

[sage-devel] Re: grant proposal season

2009-08-29 Thread Chris Swierczewski
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-devel] Suggested Sageclaw Output Directory

2009-04-14 Thread 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

[sage-devel] Overloading Symbols with Cython

2009-04-02 Thread Chris Swierczewski
, 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

[sage-devel] Re: Overloading Symbols with Cython

2009-04-02 Thread 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

[sage-devel] Re: Overloading Symbols with Cython

2009-04-02 Thread Chris Swierczewski
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

[sage-devel] Re: Wrapping C++ Classes in Cython

2008-07-16 Thread Chris Swierczewski
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

[sage-devel] Wrapping C++ Classes in Cython

2008-07-15 Thread Chris Swierczewski
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

[sage-devel] Re: 4-color theorem

2008-05-22 Thread Chris Swierczewski
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

[sage-devel] Re: interact versus manipulate

2008-03-08 Thread Chris Swierczewski
+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

[sage-devel] Re: Doc Days

2008-03-06 Thread Chris Swierczewski
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

[sage-devel] Re: Doc Days

2008-03-06 Thread Chris Swierczewski
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