Re: [sage-support] problem installing sage

2020-10-20 Thread Ryan Morrill
Hi Jan, I'm not at all familiar with ubuntu. I just downloaded it off of the microsoft store (I am running windows). Sorry I can't be of more help. On Tue, Oct 20, 2020 at 1:55 PM Jan Groenewald wrote: > Hi > > On Tue, 20 Oct 2020 at 21:48, Ryan Morrill wrote: > &g

[sage-support] problem installing sage

2020-10-20 Thread Ryan Morrill
I have been trying to install sage on an ubuntu shell, but when I type in ./sage I get the errors: /usr/bin/env: ‘python’: No such file or directory Error running the script 'relocate-once.py'. -- You received this message because you are subscribed to the Google Groups "sage-support" group.

[sage-support] Giving Back to the Community

2016-11-26 Thread Ryan
I have been an active sage user for over a year now and have been doing research and coding under the direction of my professor. As part of the final, I need to submit my work and I was wondering how I might go about giving back to sage with some codes and an entire algebraic tropical mathemat

[sage-support] Re: Manipulating symbolic expressions

2013-06-26 Thread Ryan Davis
t override the definition of n as a symbolic variable/expression, and this may be causing a separate issue. So far, I haven't had any luck in defining a symbolic integer, but I imagine that if you could do that, then you'd be fine. Ryan Davis On Friday, June 14, 2013 12:37:46 PM UT

[sage-support] Fast solution of linear inequalities

2012-11-02 Thread Ryan Davis
ifferent way of solving linear inequalities, or alternatively, is my understanding of MILP incorrect? Thanks, Ryan Davis -- You received this message because you are subscribed to the Google Groups "sage-support" group. To post to this group, send email to sage-support@googlegroups.com. To un

[sage-support] Re: Notebook mode poset element selection question

2012-02-25 Thread Ryan Davis
ned in the i-th element of this set. Ryan On Feb 24, 11:20 pm, Rob Beezer wrote: > This may be the list you want (all one one line if it gets cut up > here): > > indices = [f.element.ambient_ray_indices() for l in L.level_sets() > [-3:-2] for f in l] > > And by "address indi

[sage-support] Notebook mode poset element selection question

2012-02-24 Thread Ryan Davis
er command to select these elements than this procedure above, and if the procedure is the best option available, is there a good way to address the individual elements of the resulting list? Thanks in advance, Ryan Davis -- To post to this group, send email to sage-support@googlegroups.com To u

[sage-support] Re: Notebook evaluate fails return: OSX 10.6.8

2011-08-12 Thread Ryan
28 pm, Ryan wrote: > Greetings, > > I had a working 4.5 version, but since either an OS upgrade to Mac > 10.6.8, the below error happens when clicking "evaluate" on the > Notebook. Sage from the command line isn't affected, and saw nothing > in the forums about this.

[sage-support] Notebook evaluate fails return: OSX 10.6.8

2011-08-08 Thread Ryan
Greetings, I had a working 4.5 version, but since either an OS upgrade to Mac 10.6.8, the below error happens when clicking "evaluate" on the Notebook. Sage from the command line isn't affected, and saw nothing in the forums about this. I upgraded to 4.7 on OSX 10.6, and the same problem happened

[sage-support] Re: Suse binary doesn't work

2011-03-17 Thread Ryan Grout
friend have? Last time I tried running sage on opensuse, I got errors because I was trying to run code sse2 binaries on a processor that didn't have sse2 (an ancient Athlon XP). I remember getting something similar to the beginning of your error (the "sh:" lines). Ryan -- To

[sage-support] sage -python drop to sage: prompt

2011-03-11 Thread Ryan Grout
Hi, How would one execute the following command: $ sage -python -i myfile.py so that instead of getting the python prompt, I get a sage prompt? Thanks Ryan -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support

Re: [sage-support] Data Visualization

2011-02-23 Thread Ryan Krauss
I would look into the matplotlib (i.e. pylab) documentation, see http://matplotlib.sourceforge.net/. matplotlib is the plotting backend used by sage. It is a numeric python module. maskedarrays may help with excluding certain data. You can also integrate matplotlib with most gui python modules

Re: [sage-support] Re: Accentuated characters in axes_label

2011-02-16 Thread Ryan Krauss
Maybe this is a lame workaround, but I save all my matplotlib plots as eps and then run epstopdf. I actually call epstopdf through os.system in a custom save function. I have never had a problem with latex and saving eps. On Wed, Feb 16, 2011 at 9:13 PM, Maxim wrote: > But this workaround seems

Re: [sage-support] Re: how to declare that one variable depends on another for differentiation

2011-02-09 Thread Ryan Krauss
Thanks John. That is much cleaner than my approach. Ryan On Tue, Feb 8, 2011 at 1:34 PM, John H Palmieri wrote: > > > On Tuesday, February 8, 2011 11:03:27 AM UTC-8, Ryan Krauss wrote: >> >> I am a Python user who has made minor use of Maxima on occasion.  I am >> t

[sage-support] how to declare that one variable depends on another for differentiation

2011-02-08 Thread Ryan Krauss
ire a new variable be created (but this may be really difficult - I know nothing about the Sage<-->Maxima interface). Obviously, x1 = x1.maxima_methods().depends(t)[0] sort of avoids creating a new variable, but if I forget to do the assignment, x1 is unaltered and won't depend on t.

Re: [sage-support] Re: basic import question

2011-01-25 Thread Ryan Krauss
) and append it to PYTHONPATH in sage-env if it is defined (I have never really bothered to learn bash programming). Are there risks I should be aware of in trying to use my personal Python modules within Sage? Thanks again, Ryan On Tue, Jan 25, 2011 at 10:05 AM, Simon King wrote: > Hi Ryan, &

Re: [sage-support] Re: basic import question

2011-01-25 Thread Ryan Krauss
So, is there a supported way for the user to append paths to the PYTHONPATH in the Sage installation (sage-env)? On Tue, Jan 25, 2011 at 1:20 AM, Minh Nguyen wrote: > Hi Ryan, > > On Tue, Jan 25, 2011 at 3:10 PM, Ryan Krauss wrote: >> but I am assuming there has to be a better wa

[sage-support] Re: basic import question

2011-01-24 Thread Ryan Krauss
export PYTHONPATH and added one of my own dirs: if [ -d "$SAGE_ROOT/local/lib/python" ]; then PYTHONPATH="$SAGE_PATH:$SAGE_ROOT/local/lib/python:$HOME/git/krauss_misc" && export PYTHONPATH but I am assuming there has to be a better way. Thanks, Ryan On

[sage-support] basic import question

2011-01-24 Thread Ryan Krauss
I am trying to import my personal python modules into a sage script. These modules are on my PYTHONPATH, but when I try and load the *.sage file within sage, the modules cannot be found. Is there an environment variable or something I need to set? Thanks, Ryan -- To post to this group, send

[sage-support] problem with "from sage.all import *"

2011-01-24 Thread Ryan Krauss
I am trying to import sage into a python script and am getting this error: ValueError: numpy.dtype has the wrong size, try recompiling Is there an easy way around this? I am running Ubuntu 10.04 and don't really want to install numpy from source. Thanks, Ryan -- To post to this group,

Re: [sage-support] "make" command not found

2010-09-17 Thread Ryan Haynes
Probably need to install xcode. On Fri, Sep 17, 2010 at 9:34 PM, John T wrote: > Hi, > > Seems like something is missing from my OS? > trying to install from source on OSX 10.6.4. > I downloaded the tarball, moved it into a folder titled sagesource. > In a terminal window I changed into this dire

[sage-support] Crypto Export.

2010-08-27 Thread Ryan Haynes
ional community? Cheers, Ryan -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org

[sage-support] Re: Higher-level symbolic manipulations

2010-06-30 Thread Ryan Hinton
sting to sage- devel to investigate further. - Ryan On Jun 30, 2:45 pm, Ryan Hinton wrote: > Thanks for the reply!  That's a perfect example of what I am doing > now.  Can I go one level higher and define my generating function as a > product of terms *while leaving the actual de

[sage-support] Re: Higher-level symbolic manipulations

2010-06-30 Thread Ryan Hinton
(x,d) / x[1] So the ``vector_power`` construct would have to know how to use the power rule of differentiation. Does this make sense? Is it possible? Thanks! - Ryan On Jun 30, 11:37 am, pang wrote: > > Can I do this in Sage? > > Sure. Here you have some tips: > > {{{id=1| &

[sage-support] Higher-level symbolic manipulations

2010-06-30 Thread Ryan Hinton
exponents. Then I want an equation for a new list of functions based on the original function and its derivatives. Can I do this all symbolically? Is there another CAS that can do it? Thanks! - Ryan -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group

[sage-support] Re: Doctest output files: skipping or changing location

2009-09-02 Thread Ryan Hinton
Set the environment variable SAGE_TESTDIR to control this location. The school IT staff pointed me the right direction. :-) - Ryan On Sep 2, 2:50 pm, Ryan Hinton wrote: > I am working with our school IT staff to install Sage. I compiled it > in a temporary location, they copied it

[sage-support] Doctest output files: skipping or changing location

2009-09-02 Thread Ryan Hinton
ory (i.e. I have write access), it tries to write the doctest files to '.../sage-4.1/ tmp/.doctest_algebra.py'. So the question: how can I skip writing these files, or specify what location these files should be created? Thanks! - Ryan --~--~-~--~~~--

[sage-support] Re: Groebner bases over symbolic ring

2009-07-21 Thread Ryan Hinton
OK, this is now #6581. I assume it's just the MPolynomialRing_polydict class missing the monomial_divides method. Can anybody recommend a good approach for this? Thanks! - Ryan On Jul 21, 12:44 pm, William Stein wrote: > On Tue, Jul 21, 2009 at 9:37 AM, Ryan Hinton wrote: > >

[sage-support] Groebner bases over symbolic ring

2009-07-21 Thread Ryan Hinton
I probably don't have the understanding (or time) to fix this, but I wanted to make sure I'm not doing something wrong. Thanks! - Ryan --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, s

[sage-support] Re: Modifying degree of monomial from multivariate polynomial

2009-05-28 Thread Ryan Hinton
Martin, Thanks for the reply. Did I mention I'm using 3.4.2? When I try using mon // x instead of mon / x, I get an exception: --- AttributeErrorTraceback (most recent call last) /home

[sage-support] Modifying degree of monomial from multivariate polynomial

2009-05-28 Thread Ryan Hinton
aren't mutable, subtraction isn't defined for them, and (x1**(-1)) gives a FractionFieldElement again. Any suggestions? Thanks! --- Ryan Hinton PhD candidate, Electrical Engineering University of Virginia --~--~-~--~~~---~--~~ To post to this group, se

[sage-support] Re: Sage doctest randomness

2008-10-13 Thread Ryan Hinton
random.random. The workaround for me is simple: import shuffle from prandom instead of random. But the larger questions remain, is this behavior expected? Is it correct? Thanks! - Ryan On Oct 11, 12:52 am, Carl Witty <[EMAIL PROTECTED]> wrote: > On Oct 10, 5:45 pm, [EMAIL PROTECTED] w

[sage-support] SVG images served incorrectly?

2008-10-05 Thread Ryan Reich
er is incorrectly serving SVG files with this MIME type and without a Content-Type header, so my browser doesn't know to use its built-in SVG support to display it. Of course, modern Firefox has SVG built-in, and in particular, these images ARE correctly displayed in the online Sage no

[sage-support] Re: Erratic behaviour with "Evaluate All" in a notebook

2008-08-28 Thread Ryan
I have seen this as well, and almost all my worksheets use the %hide command within the first few cells. I don't seem to have this problem when I don't hide the first few cells. I am only using Firefox 2.0.0.16 for Windows XP and Sage 3.1.1. --~--~-~--~~~---~--~---

[sage-support] Re: simplifying complex matrices

2008-08-24 Thread Ryan
Thanks, both seem like workable options. A related question... There are alot of different simplify commands, but not one that seems to be effective for hyperbolic trig functions. For instance cosh(arcsinh(3/2)) simplifies to sqrt(13)/2 but none of the simplify commands seem to produce this.

[sage-support] simplifying complex matrices

2008-08-24 Thread Ryan
I have the symbolic complex matrix: M=matrix([[1/((-1)^(1/4)*(I - 1)), (1 - I)*I/((-1)^(1/4)*(-1*I-1)*(I - 1))],[1/((-1)^(1/4)*(I - 1)),I/((-1)^(1/4)*(-1*I - 1))]]) This matrix should simplify to a real matrix with all entries plus or minus 1/sqrt(2), however when I use M.simplify() it doesn't

[sage-support] Re: Trying to create a vector of rounded floats

2008-04-11 Thread Ryan Hinton
AIL PROTECTED]> wrote: > On Fri, Apr 11, 2008 at 9:58 AM, Ryan Hinton <[EMAIL PROTECTED]> wrote: > > > There must be an easier way to do this. In a Python class I have a list > > of RealNumber elements, "fracs_list". I want to multiply them by a > >

[sage-support] Trying to create a vector of rounded floats

2008-04-11 Thread Ryan Hinton
omputation without less than the round and two type conversions? Thanks! --- Ryan Hinton [EMAIL PROTECTED] --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PR

[sage-support] Re: Minimum installation size

2008-03-05 Thread Ryan Hinton
What if I want to develop in certain sections (coding theory, maybe some graph theory)? On Mar 5, 3:38 pm, "Michael.Abshoff" <[EMAIL PROTECTED]> wrote: > Ryan Hinton wrote: > > I would like to use and contribute to Sage on my university's Linux > > cluste

[sage-support] Minimum installation size

2008-03-05 Thread Ryan Hinton
convenient way to reduce this size? Thanks! --- Ryan Hinton rwh4s, domain virginia.edu --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit

[sage-support] SAGE 2.6 install fails for me

2007-06-10 Thread Nathan Ryan
I tried to install SAGE 2.6 and it fails with NTL. I'm running MacOS 10.4.9 on a 1.33 GHz PowerPC. I seem to remember there being some mention somewhere about this being a known issue or I could be making that up... Here's install.log G_LLL_QP.c: In function `long int NTL::G_BKZ_QP(NTL::mat