[sage-devel] Implementation of Gamma in Sage

2016-12-19 Thread saad khalid
Hello everyone! I'm interested in contributing/working on Sage a bit. Specifically, one of my Professor's came up with a faster way to compute q-digamma, at least in some cases. I would like to code it up and add it to Sage. A few things are in my way at the moment, that I wanted to ask about:

[sage-devel] Re: Implementation of Gamma in Sage

2016-12-24 Thread saad khalid
A few issues I am running into at the moment. First, most of the functions in the other.py and special.py folder include code for their derivatives. However, I honestly have no idea about the derivative of the qgamma function, and I could not find any literature about it. Is it possible to ha

[sage-devel] Re: Implementation of Gamma in Sage

2016-12-24 Thread saad khalid
You're certainly right. It was faster than mathematica implementation of q-digamma, so I assumed that it would be faster than any implementation that is open source. I will do some definitive testing of that soon. I would like to add a basic implementation of these functions first at least. --

[sage-devel] Re: integration algorithms

2017-03-01 Thread saad khalid
I think Sage's integration can't compare to Mathematica's. The output is not as clean and it doesn't solve as many integrals and it is not as fast. Sage is used by many students, and in my opinion, its profitability and sustainability in the future depends on classroom use, to a large extent. F

[sage-devel] Re: integration algorithms

2017-03-19 Thread saad khalid
I think it's not a relevant question to ask "when we'd want student to pull out their smartphone to do integrals." The fact is that students already Can do this, whether or not this should be integrated into the curriculum has nothing to do with what functionality Sage offers. Also, I'm more co

[sage-devel] Re: polymake interface merged in 8.0.beta1; needs users, developers for integrating polymake features

2017-04-09 Thread saad khalid
Hello! Thank you for your post! I was just a bit confused, in what ways can people help? Thanks! -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubs

[sage-devel] Finding the right place to edit code

2016-04-30 Thread saad khalid
Hey everyone: I'm new to developing(I've been programming for a while, but never on an open source project). I remembered this thread from a while ago: https://groups.google.com/forum/#!topic/sage-support/PPsHBx6Z6Fc And I wanted to try and make some of the edits proposed in there on my copy

[sage-devel] FGb - Gröbner basis computation code

2016-05-03 Thread saad khalid
I was actually thinking about trying to do this(to include it in Sage such that you could choose between the normal algorhythm and using Fougeres). However, i was having trouble even getting the C interface to worl on my computer on its own. Hopefully thats something i can look at next week. How

[sage-devel] Re: Finding the right place to edit code

2016-05-09 Thread saad khalid
x27;t cause any errors, what reason would there be in leaving it in bessel form by default rather than simplifying it by default? On Saturday, April 30, 2016 at 3:55:10 PM UTC-5, Nils Bruin wrote: > > On Saturday, April 30, 2016 at 11:16:21 AM UTC-7, saad khalid wrote: >> >> >&

[sage-devel] Re: Finding the right place to edit code

2016-05-09 Thread saad khalid
So, I've set the besselexpand option to true in the init_code of maxima_lib. I was thinking, however, that it would be a good idea to have an easy way to turn besselexpand off, so that those who Want the bessel version of the output can easily get it. This is where I'm running into some issues,

[sage-devel] Some quick git tips

2016-05-11 Thread saad khalid
Hey guys: I was wondering... So, I have my local install of Sage 7.1 from source. I didn't get the source using git, I downloaded it from the website. I've made a local repository for Sage on my computer, and also made a remote repository for it on my github. However, I don't think it is connec

[sage-devel] Re: Finding the right place to edit code

2016-05-13 Thread saad khalid
Thanks for the help everyone. I've got it submitted here, hopefully I followed the procedure properly http://trac.sagemath.org/ticket/20595#comment:3 -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receivi

[sage-devel] Re: Finding the right place to edit code

2016-05-13 Thread saad khalid
Thanks for the help everyone. I've got it submitted here, hopefully I followed the procedure properly http://trac.sagemath.org/ticket/20595#comment:3 Also, sorry for this basic question but, when documenting a function, what is the purpose of starting it with r""" ? Is this some python conventi

[sage-devel] Re: Finding the right place to edit code

2016-05-13 Thread saad khalid
When I try running the doctest, here is the error I am getting: saad@saad-ThinkPad-X201:~/sage$ ./sage -t src/sage/interfaces/maxima_lib.py no stored timings available Running doctests with ID 2016-05-13-11-54-59-7d842524. Git branch: t/20595/setting_besselexpand_to_true_globally Using --optional=

[sage-devel] Re: Finding the right place to edit code

2016-05-13 Thread saad khalid
Ohhh, I see. Thanks! Unfortunately, I'm still unable to run the doctests on the file. I'm getting the same error as I mentioned above, and the error doesn't seem to have anything to do with the file itself. Am I inputting the command incorrectly? -- You received this message because you are s

[sage-devel] Re: Finding the right place to edit code

2016-05-13 Thread saad khalid
I believe that I pushed my branch to the trac server on here? http://trac.sagemath.org/ticket/20595#comment:3 Or is that not the same as pushing my branch? Regardless, I've also put it here under the develop branch: https://github.com/Babyll/sage/tree/develop Thanks! -- You received this messa

[sage-devel] Re: Finding the right place to edit code

2016-05-13 Thread saad khalid
I believe that I pushed my branch to the trac server on here? http://trac.sagemath.org/ticket/20595#comment:3 Or is that not the same as pushing my branch? Regardless, I've also put it here under the develop branch(which I believe is the same as the branch trac made for the ticket): https://gith

[sage-devel] Re: Finding the right place to edit code

2016-05-13 Thread saad khalid
Another note, this is happening on my master branch as well, which is just an uneditted version of sage 7.1. I try running the command: ./sage-t src/sage/interfaces/maxima_lib.py and it tells me this: saad@saad-ThinkPad-X201:~/sage$ ./sage -t src/sage/interfaces/maxima_lib.py no stored timings

[sage-devel] Re: Finding the right place to edit code

2016-05-14 Thread saad khalid
Thanks guys! Another issue has popped up since I installed sympy, it is exactly what is described in these two posts: http://trac.sagemath.org/ticket/16624 https://github.com/sympy/sympy/issues/8022 I think the issue is that the version of sympy I've installed is using mpmath code in a way that

[sage-devel] Re: Finding the right place to edit code

2016-05-15 Thread saad khalid
Thanks for all the help so far guys. This issue is persisting, so I think I'm going to make a separate topic about this(it doesn't seem to have anything to do with the OP). Thank you! -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscri

[sage-devel] Error Building Sage

2016-05-15 Thread saad khalid
Hey everyone: So, here's the issue. I was facing this same issue before, so I decided to delete my git folder in home and then install it again. So, I ran git clone git://github.com/sagemath/sage.git and it remade the sage directory. Then, I did "cd sage", and ran "git checkout develop". Afte

[sage-devel] Re: Error Building Sage

2016-05-17 Thread saad khalid
So, I ran 'make distclean', and then I made sure that my develop branch was up to date, and then I did make build and it ran properly and I was able to do the doctest I had been trying to do before! Should I still run 'make'? I'm kind of afraid that it will mess up again, it takes like 8-12 hour

[sage-devel] Bugs silently producing wrong answers

2016-05-20 Thread saad khalid
I was on trac, looking at the tickets under "Bugs silently producing wrong answers". All of them seemed quite old, for the most part, and none of them(that I could find) had anything under Branch. Does this mean that they have been dealt with? What exactly is the situation with all of those tic

[sage-devel] Re: Python3

2016-05-20 Thread saad khalid
What exactly are the benefits of using Python3? I thought that it tended to be a bit slower for computation, since it uses infinite precision numbers instead of ints. Not that I'm against it, I just didn't know the motivation. -- You received this message because you are subscribed to the Goo

[sage-devel] Re: limit bug that I'm really sure used to work correctly

2016-06-10 Thread saad khalid
Will there be a trac made about this? On Tuesday, June 7, 2016 at 3:36:50 PM UTC-5, john_perry_usm wrote: > > This surprised me today: > > > limit(1/x, x=0) > Infinity > > I was expecting something more like this: > > > limit(x/abs(x), x=0) > und > > The help on Infinity wasn't illuminating: > >

[sage-devel] Re: limit bug that I'm really sure used to work correctly

2016-06-10 Thread saad khalid
On page 3 at the top, is that a typo with how (9)(1/2) is formatted? -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To p

[sage-devel] Re: [gdr-im] Announcing Sollya 5.0

2016-06-16 Thread saad khalid
I don't know much about this so I thought I would just ask, how would using this benefit Sage? Is it comparable to mpmath and MPFR? If so, how does it compare? Sorry for my ignorance. Also, what is the target? -- You received this message because you are subscribed to the Google Groups "sage-

[sage-devel] Re: wiki.sagemath.org

2016-06-26 Thread saad khalid
At the top of the page it says "*No jsMath TeX fonts found* -- using image fonts instead. These may be slow and might not print well. Use the jsMath control panel to get additional information." I wasn't sure if this was just my browser(I'm running firefox) or if it was supposed to be like that

[sage-devel] Can't figure out how polynomial conversion works in the M2/Sage interface

2016-07-02 Thread saad khalid
Hey everyone: I was hoping some of you could provide some insight where my knowledge is lacking. I'm trying to add to the M2/Sage interface by adding a conversion for the M2 Divide class. Sage can already convert polynomials, so my hope was to just have it treat the Divide class as two polynomi

[sage-devel] Re: Can't figure out how polynomial conversion works in the M2/Sage interface

2016-07-02 Thread saad khalid
Well, here's what i tried and it doesn't seem to work after I build sage again. I added this code to the to_sage() function, elif cls_str == "Divide": self_Div = self div_Numerator = macaulay2('numerator self_Div') div_Denominator = maca

[sage-devel] Re: Can't figure out how polynomial conversion works in the M2/Sage interface

2016-07-03 Thread saad khalid
Hmm, so I tried this instead but it also didn't work and gave a similar error: elif cls_str == "Divide": div_Str = repr_str div_Numerator = macaulay2('numerator div_Str') div_Denominator = macaulay2('denominator div_Str') div_Numerator = div

[sage-devel] Re: Can't figure out how polynomial conversion works in the M2/Sage interface

2016-07-03 Thread saad khalid
Sorry! I hadn't seen that, that's great, thank you! The denominator is proving to be a bit tricky to deal with, mostly because I can't decide what I want to do with it. I did it though, but I'm not happy with it. I'm also an amatuer at regex(this is the first time I've used it, I figured it was

[sage-devel] Re: Can't figure out how polynomial conversion works in the M2/Sage interface

2016-07-03 Thread saad khalid
So, after fixing a small typo, here is the output from an example: sage: macaulay2.eval(""" : K = toField(QQ[zet]/(zet^8 - zet^7 +zet^5 - zet^4 +zet^3 -zet + 1)) : A=matrix{{zet^1,0},{0,zet^14}} : needsPackage "InvariantRing" : G=generateGroup({A},K) : P = molienSeries G :

[sage-devel] Re: Can't figure out how polynomial conversion works in the M2/Sage interface

2016-07-03 Thread saad khalid
So, after fixing a small typo, here is the output from an example: sage: macaulay2.eval(""" : K = toField(QQ[zet]/(zet^8 - zet^7 +zet^5 - zet^4 +zet^3 -zet + 1)) : A=matrix{{zet^1,0},{0,zet^14}} : needsPackage "InvariantRing" : G=generateGroup({A},K) : P = molienSeries G :

[sage-devel] Re: Can't figure out how polynomial conversion works in the M2/Sage interface

2016-07-04 Thread saad khalid
Thanks! That makes much more sense and seems simpler, I'm glad I know that now! Side note: Never use += on a string in a loop. Here it's even worse, > since you are concatenating strings on the right hand side as well. > > Is it because it's slow? Also, do you think I should have the to_sag

[sage-devel] Re: Can't figure out how polynomial conversion works in the M2/Sage interface

2016-07-04 Thread saad khalid
Sorry about that, I thought sage-devel was for talking/asking questions related to doing development on Sage. Since I was editting the source, I assumed it would be okay to post it here, but if it's not, I'll definitely remember that in the future. I created a trac for review: https://trac.sage

[sage-devel] Re: VotePlugin for trac?

2016-07-06 Thread saad khalid
I've always wondered why we didn't use GH. Also, I would definitely support some sort of voting on feature/improvement option. I'm not sure if trac is the best place to put it, but I think one of the best things we can do is make it easy for people to report and vote on what features Sage and

Re: [sage-devel] How much do we support the casual user

2018-03-27 Thread saad khalid
On Tuesday, March 27, 2018 at 2:57:12 PM UTC-5, Michael Orlitzky wrote:The thread was about casual users, who shouldn't have to care about the implementation details behind what "0.5" means. To a casual user, 0.5 is one-half. I didn't bring this up to fight about by pet bug again, but because o

[sage-devel] Re: How much do we support the casual user

2018-03-28 Thread saad khalid
On Wednesday, March 28, 2018 at 1:52:17 AM UTC-5, Simon King wrote: > > Hi Andrey and Saad, > > On 2018-03-28, Andrey Novoseltsev > > wrote: > > On Tuesday, 27 March 2018 18:03:48 UTC-6, saad khalid wrote: > >> > >> Why not assume by default

[sage-devel] Re: How much do we support the casual user

2018-03-29 Thread saad khalid
I'm not entirely sure how to implement this though, if we don't want it to be the global behavior. I was considering just implementing it for the rank() function, but I'm assuming it processes the input into the function before it starts running the actual function, right? So it isn't just beha

[sage-devel] Re: How much do we support the casual user

2018-04-09 Thread saad khalid
Have we come to any conclusions on what steps should be taken after this topic? What seems to be the concensus? Or, at the very least, could someone give a listing of the options we have so that we can give it a poll or something similar? On Monday, April 2, 2018 at 2:58:36 AM UTC-5, Sebastian

[sage-devel] Re: talk

2018-07-29 Thread saad khalid
On the topic of error messages, I would like to add that this issue has almost singlehandedly prevented any of my mathematics and physics professors from using Sage or Cocalc in a classroom setting. This of course doesn't say anything about whether they would consider using it for their own res

[sage-devel] Re: talk

2018-09-04 Thread saad khalid
Hello: The link seems to be broken, I was hoping to take a second look at some of the items on the wishlist. is there any way you could repost it? Thank you. -Saad On Tuesday, July 24, 2018 at 3:18:32 PM UTC-4, William wrote: > > Hi, > > I just wrote a short talk that I'm about to give at ICMS

[sage-devel] Re: Updating Sage documentation presentation

2019-06-20 Thread saad khalid
Thanks for posting it here! Just to include the few posts that were on the sage-support thread: On Thursday, June 20, 2019 at 10:29:06 PM UTC-4, saad khalid wrote: > > I definitely see your point, it doesn't look fancy to me. But, I would > argue that Mathematica *does* have ve