Re: [sage-support] Bug/problem evaluating infinite sum

2024-12-10 Thread David Joyner
On Tue, Dec 10, 2024 at 8:43 AM 'OHappyDay' via sage-support < sage-support@googlegroups.com> wrote: > I tried to evaluate the infinite product: > > prod((2^n-1)/2^n) (n=1,oo) > > by converting the product to a sum via logarithm: > > sum(log(1-2^-k),k,1,oo) > > The sum (and thus the product) shoul

Re: [sage-support] Bug?

2024-09-05 Thread David Joyner
On Thu, Sep 5, 2024 at 9:16 AM 'OHappyDay' via sage-support < sage-support@googlegroups.com> wrote: > I recently stumbled upon something that looks like a bug: > > Try to integrate the following function: > > f(x)=log(1-4*cos(x)+4) > integrate(f,x,0,pi) > > According to the following video ( > htt

Re: [sage-support] Fail in installing both sage-numerical-backends-gurobi and sage-numerical-backends-coin

2024-07-23 Thread David Lowry-Duda
On 08:00 Tue 23 Jul 2024, Ziyan He wrote: When I try to use pip install to install sage-numerical-backends-gurobi, I encounter the following error: How are you invoking pip to install sage-numerical-backends-gurobi? I'm trying to verify that you're using sage's pip and not, for example, your

Re: [sage-support] Functions source code

2024-05-02 Thread David Joyner
On Thu, May 2, 2024 at 3:57 AM Andrea Zatti wrote: > > I am currently engaged in the study of graph theory for my master’s thesis. > For my work, I need to utilize the functions is_isomorphic and is_subgraph. I > want to gain a deeper understanding of the underlying code for these two > functio

Re: [sage-support] bug in plot?

2024-03-15 Thread David Joyner
On Thu, Mar 14, 2024 at 8:17 PM Dima Pasechnik wrote: > > > On Fri, Mar 15, 2024 at 12:15 AM Dima Pasechnik wrote: > >> >> >> On Thu, Mar 14, 2024 at 9:32 PM Dima Pasechnik wrote: >> >>> >>> >>> On 14 March 2024 21:09:22 GMT, Nils Bruin wrote: >>> >I get the impression that without setting ymi

Re: [sage-support] bug in plot?

2024-03-14 Thread David Joyner
on.jpg] > On Thu, Mar 14, 2024 at 10:04 AM David Joyner wrote: > >> Hi: >> >> I'm trying to show my students a plot of >> a rational function whose graph is basically 1, >> so I plotted >> f(x) = (x^2+0.0001)/(x^2+0.000101) >> However, t

Re: [sage-support] bug in plot?

2024-03-14 Thread David Joyner
might help: > > rcParams['axes.formatter.use_offSet'] = False > rcParams["axes.formatter.offset_threshold"] > > > On Thu, Mar 14, 2024 at 10:04 AM David Joyner wrote: > > Hi: > > I'm trying to show my students a plot of > a rational f

[sage-support] bug in plot?

2024-03-14 Thread David Joyner
using 'SageMath version 10.3.rc1, Release Date: 2024-02-29' on an ubuntu machine. Can anyone tell what is going on here? I'm happy to attached jpgs of the plots I get, if desired. For comparison, it appears that Sympy plots this correctly. - David Joyner -- You received this mes

[sage-support] Re: init.sage not running anymore

2024-03-04 Thread David Ayotte
a GH issue. Thanks for your replies! David A. Le lundi 4 mars 2024 à 17:04:28 UTC-5, kcrisman a écrit : > > Hello, > > Since I upgraded my SageMath to version 10.3.beta8, the init.sage script > located at ~/.sage/init.sage stopped running when I start sage. I also get >

[sage-support] Re: init.sage not running anymore

2024-03-04 Thread David Ayotte
I opened the following issue: #37539 <https://github.com/sagemath/sage/issues/37539> Best, David A. Le lundi 4 mars 2024 à 17:04:28 UTC-5, kcrisman a écrit : > > Hello, > > Since I upgraded my SageMath to version 10.3.beta8, the init.sage script > located at ~/.sage/init

[sage-support] init.sage not running anymore

2024-03-03 Thread David Ayotte
/prompt_toolkit/application/application.py:988: DeprecationWarning: There is no current event loop loop = asyncio.get_event_loop() Do anybody know what happened here? I like to use this script for defining some frequently used variables. Best, David A. -- You received this message because

Re: [sage-support] Problem with rebuilding Sage

2023-12-17 Thread David Ayotte
Sometime the build and test checks fail for unrelated reasons. You can always post your PR number here; we can look at it. Le samedi 16 décembre 2023 à 13:18:24 UTC-5, Ruchit Jagodara a écrit : > This worked, but it's still not convenient because ./sage -br was much > faster than this. I notice

Re: [sage-support] Re: sage 10.3.b2 build problem on OSX 12.7.1

2023-12-16 Thread David Joyner
t; > On Friday, December 15, 2023 at 10:52:10 AM UTC-8 David Joyner wrote: > >> Hi: >> >> I tried to compile sage and got this: >> >> The following package(s) may have failed to build (not necessarily >> >> during this run of 'make all-star

[sage-support] Re: Problem with rebuilding Sage

2023-12-15 Thread David Ayotte
Can you post the following log file: /home/ruchitjagodara/sage/sage/logs/pkgs/sagelib-10.3.beta0.log here? There might be some error message that would help us find the problem. Best, David A. Le vendredi 15 décembre 2023 à 14:00:02 UTC-5, Ruchit Jagodara a écrit : > I am trying

[sage-support] sage 10.3.b2 build problem on OSX 12.7.1

2023-12-15 Thread David Joyner
/editables-0.5.log The corresponding log is attached. Does anyone have any suggestions on how to fix this? - David -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, se

[sage-support] Re: [sage-edu] This site can't be reached localhost refused to connect.

2023-12-08 Thread David Joyner
You should email sage-support (cc'd). This list is for teaching with sage. On Fri, Dec 8, 2023, 2:37 PM Taylors SC wrote: > When I would open the Sage app, it would open an Jupyter notebook in a > Chrome window. Now when I open the Sage app, it opens a browser window, but > it has the message "T

[sage-support] Re: Calling Sage on Windows from external scripts

2023-12-02 Thread David Ayotte
perability. David A. Le samedi 2 décembre 2023 à 18:30:05 UTC-5, Sean Fitzpatrick a écrit : > I am wondering if anyone has experience installing Sage on Windows via > WSL, and calling Sage as an executable from another program that's > installed locally on Windows. >

Re: [sage-support] Can not run make

2023-07-18 Thread David Joyner
d... yes >> >>> > checking for shared library run path origin... done >> >>> > checking for root user... yes >> >>> > configure: error: You cannot build Sage as root, switch to an >> unprivileged user. (If building in a container, use &g

Re: [sage-support] Can not run make

2023-07-17 Thread David Joyner
9.5 for my > version of Linux. > What happens when you try to run configure as macka? What release of linux are you running? > > Any help is appreciated > > On Sunday, 16 July 2023 at 19:41:09 UTC+10 David Joyner wrote: > >> On Sun, Jul 16, 2023 at 5:33 AM Tim M w

Re: [sage-support] Can not run make

2023-07-16 Thread David Joyner
On Sun, Jul 16, 2023 at 5:33 AM Tim M wrote: > Good evening all, I am trying to run make but get the following error. > make build/make/Makefile --stop > make[1]: Entering directory '/home/macka/Sage/sage-9.5' > rm -f config.log > mkdir -p logs/pkgs > ln -s logs/pkgs/config.log config.log > > ***

Re: [sage-support] Cyclic Codes

2023-07-11 Thread David Joyner
gt; Em terça-feira, 11 de julho de 2023 às 05:13:49 UTC-3, David Joyner > escreveu: > >> On Tue, Jul 11, 2023 at 4:10 AM GUSTAVO TERRA BASTOS >> wrote: >> >>> Hi ! >>> >>> I have been facing problems to describe cyclic codes over finite >>> exte

Re: [sage-support] Cyclic Codes

2023-07-11 Thread David Joyner
On Tue, Jul 11, 2023 at 4:10 AM GUSTAVO TERRA BASTOS wrote: > Hi ! > > I have been facing problems to describe cyclic codes over finite extension > fields. It is easy to do with GF(p), but I can´t explicit codes over > GF(p^m) (noticing all the mathematical background). Anyone could provide me >

Re: [sage-support] On the special values of Dirichlet L-function

2023-02-22 Thread David Joyner
On Wed, Feb 22, 2023 at 12:41 AM 小林健一郎 wrote: > Hi, > I am calculating some class numbers, using sage math for L-function. > In the course, I found that the values of L(1, -12) , L(1, -28) and some > others don't coincide with Cohen' paper, "Sums Involving the Values at > Negative Integers of L-F

Re: [sage-support] Re: Sage 9.8.rc1 builds, but reports an empty list of packages failed.

2023-02-12 Thread Dr. David Kirkby
On Sat, 11 Feb 2023 at 22:11, Dima Pasechnik wrote: > > > I'm just running >> >> make -j ptestlong >> > > yes. Although -j without a parameter is a bit risky... > Point taken Dima about using -j without a parameter. That could have been tricky if doctesting had used thousands of threads.😂😂 TLDR

Re: [sage-support] Re: Sage 9.8.rc1 builds, but reports an empty list of packages failed.

2023-02-11 Thread Dr. David Kirkby
On Sat, 11 Feb 2023 at 22:22, julian...@gmail.com wrote: > Hi Dave, > > On Saturday, February 11, 2023 at 10:33:04 PM UTC+2 David Kirkby wrote: > (base) drkirkby@canary:~$ command -v R > /home/drkirkby/miniforge3/bin/R > > something went wrong in your conda setup I believe.

Re: [sage-support] Re: Sage 9.8.rc1 builds, but reports an empty list of packages failed.

2023-02-11 Thread Dr. David Kirkby
On Sat, 11 Feb 2023 at 21:31, Dima Pasechnik wrote: > we have 9.8 now :-) > https://github.com/sagemath/sage/releases > Okay, I'm trying again. It seems an unusual build process. * There's a configure.ac, but no configure script. * I typed make, which then builds a configure script, and exits w

Re: [sage-support] Re: Sage 9.8.rc1 builds, but reports an empty list of packages failed.

2023-02-11 Thread Dr. David Kirkby
On Sat, 11 Feb 2023 at 21:06, Dima Pasechnik wrote: > On Sat, Feb 11, 2023 at 8:33 PM David Kirkby wrote: > >> /home/drkirkby/miniforge3/bin/R > > > Oh, you build in Conda... > This might be a bit of a problem - it's not too well-tested for sure. > Did you see

[sage-support] Re: Sage 9.8.rc1 builds, but reports an empty list of packages failed.

2023-02-10 Thread David Kirkby
.log k...@kirkbymicrowave.co.uk: sagemath_doc_html-none.log 100% 162KB 2.5MB/s 00:00 (base) drkirkby@canary:~/sage$ On Friday, 10 February 2023 at 20:17:38 UTC David Kirkby wrote: > I got this rather weird error on Ubuntu 20.04. It says the followi

[sage-support] Sage 9.8.rc1 builds, but reports an empty list of packages failed.

2023-02-10 Thread David Kirkby
I got this rather weird error on Ubuntu 20.04. It says the following packages failed to build, but does not say what they were! The hardware is a Dell 7920 with 2 x 26 core CPUs and 384 GB RAM. I put config.log here https://www.kirkbymicrowave.co.uk/config.log and a compressed version of inst

Re: [sage-support] Sagemath binary is old and fails to install properly on Ubuntu 20.04.5 LTS

2023-02-08 Thread David Kirkby
On Wednesday, 8 February 2023 at 11:27:23 UTC dim...@gmail.com wrote: Hi Dave, Hi Dima We aren't maintaining Ubuntu/Debian packages, so this report should not have gone here. :-) Some years/releases Debian packaging of Sage is in good shape, some years it's falling behind, but we are trying

[sage-support] Sagemath binary is old and fails to install properly on Ubuntu 20.04.5 LTS

2023-02-08 Thread David Kirkby
Some of you may remember me - I did a fair amount of work porting Sage to Solaris SPARC. I wanted to try sage, and could not be bothered to build from source, so thought I'd just install a binary onto a Dell 7920 tower workstation (2 x 26-core 2.0 GHz CPUs with 384 GB RAM) running Ubuntu 20.04

Re: [sage-support] How to efficiently generate all graph isomorphism classes of a given size?

2023-01-31 Thread David Joyner
Since all the graphs you are counting are disconnected, my guess is that there is a combinatorial argument to determine their number, say L_n, in terms of the number of connected ones. Assuming you know the number of connected graphs on k vertices with n edges (where k<=n+1), call it M_{k,n}, my gu

Re: [sage-support] evaluation of polynomials mod 8

2022-09-27 Thread David Joyner
On Tue, Sep 27, 2022 at 4:46 AM John Cremona wrote: > > Am I doing something stupid here, or is this a bug? > > sage: R = Integers(8) > sage: RXY. = R[] > sage: F = X^3-X^2*Y+X*Y^2+Y^3 > sage: F([4,2]) > 6 > sage: 4^3-4^2*2+4*2^2+2^3 > 56 > sage: (4^3-4^2*2+4*2^2+2^3) % 8 > 0 > Even after coercio

Re: [sage-support] Krawtchouk Polynomials

2022-06-16 Thread David Joyner
On Thu, Jun 16, 2022 at 8:03 AM Syedafariha Bukhari wrote: > > Dear Representative, > I am having trouble for Krawtchouk Polynomials my jupyter notebook is giving > error that Krawtchouk is not defined. why it is so? > So we can better help, can you please give an example of the syntax you tried

Re: [sage-support] when was real_nth_root added?

2022-06-10 Thread David Lowry-Duda
My college provides a Jupyter interface to Sage that runs version 9.0. I just tried using the real_nth_root function and got a "no such function" error. Was the function added after 9.0? Or is this an installation problem? It seems that real_nth_root was added in June/July of 2020, making it t

Re: [sage-support] Creat fp group using addition relation.

2022-05-25 Thread David Joyner
On Wed, May 25, 2022 at 6:08 AM Hongyi Zhao wrote: > > As commented here [1], the following two methods can be used to define an > Cyclic Group: > > ``` > Generators > If the group operation is multiplication then: > > If the group operation is addition then: > > ``` > > For the first case, th

Re: [sage-support] Matrix logarithm

2022-04-18 Thread David Joyner
On Mon, Apr 18, 2022 at 9:31 AM GUSTAVO TERRA BASTOS wrote: > > Hi guys. > > Given two n x n matrices M, N, we know it is a big problem to find the > positive integer "i" such that M^i = N (There are other hypothesis involved). > In my particular case, I would like to do the same for 3 x 3 matri

Re: [sage-support] Solving logarithmic equations

2022-04-09 Thread David Joyner
On Sat, Apr 9, 2022 at 5:18 AM Paolo Robillos wrote: > > Hi, > > I am trying to solve the following equation for x, 1+2log(x+1, 4)==2log(x,2) > > I entered in the input "(1+2log(x+1, > 4)==2log(x,2)).solve(x,algorithm='sympy', domain='all')" > > and the Output was "{𝑥∣𝑥∈ℂ∧−𝑥2log(2)+𝑒(𝑥+1)1log(2)=

[sage-support] Re: Help with SymmetricFunctionAlgebra_multiplicative

2022-04-04 Thread David Ayotte
, this recreate the same error message: sage: st = 42 sage: st([1,2,3]) Traceback (most recent call last): ... TypeError: 'sage.rings.integer.Integer' object is not callable David A. Le lundi 4 avril 2022 à 01:30:33 UTC-4, Michael a écrit : > Hello, > > I star

Re: [sage-support] Convergence of infinite series

2022-03-29 Thread David Joyner
On Tue, Mar 29, 2022 at 5:33 AM Varun Kumar wrote: > > Someone help me to study the convergence of infinite series by plotting the > partial sum. > One example is at the end of the calc 2 section of https://doc.sagemath.org/html/en/prep/Calculus.html Another example is at the end of https://doc

Re: [sage-support] Re: No module named extern error

2022-02-12 Thread David Joyner
On Sat, Feb 12, 2022 at 5:33 AM slelievre wrote: > > What SageMath versions do you have at home and at work? > To get the version information, print the Sage banner: > > sage: sage.misc.banner.SAGE_BANNER = '' > sage: banner() > A;lso, you can use the version command: sage: version() 'SageMath v

Re: [sage-support] Morphisms between free groups.

2022-02-04 Thread David Joyner
at https://arxiv.org/abs/math/0304376 Currently, the link to braid-1.1.tar.gz at https://www.gap-system.org/Packages/undep.html is bad but I have a copy. Just email me privately. - David > Michel > > > -- > You received this message because you are subscribed to the Google Groups &

Re: [sage-support] How to list all codewords of C ?

2022-01-25 Thread David Joyner
, 1, 0, 1, 0, 1, 0), (1, 1, 0, 1, 0, 0, 1), (0, 0, 1, 1, 0, 0, 1), (1, 0, 1, 1, 0, 1, 0), (0, 1, 1, 1, 1, 0, 0), (1, 1, 1, 1, 1, 1, 1)] More info is here https://wiki.sagemath.org/Coding_Theory and here https://groups.google.com/g/sage-coding-theory - David > > -- > You received this me

Re: [sage-support] why does this not work? i am trying to create a pattern 1 2 3 4 5 6 which will repeat 6 times. i got this method from my lecturer but it is not working

2021-11-13 Thread David Joyner
It seems rep is an R function. If you are in the sage notebook, you need to make sure your cell is an R cell. I don't use the notebook much myself, but this: d <- rep(1:8,6) d returns [1] 1 2 3 4 5 6 7 8 1 2 3 4 5 6 7 8 1 2 3 4 5 6 7 8 1 2 3 4 5 6 7 8 1 2 3 4 5 6 [39] 7 8 1 2 3 4 5 6 7 8 Is tha

Re: [sage-support] UnicodeEncodeError: 'utf-8' codec can't encode characters in position 26-27: surrogates not allowed

2021-09-11 Thread David Joyner
On Sat, Sep 11, 2021 at 6:58 AM zp liu wrote: > > Hola,all! > When I use the function solve(),an error occur and I fail to find solutions. > Needing help! > CODE: > solve(x,x) > I get sage: solve(x,x) [x == 0] sage: version() 'SageMath version 9.3.rc0, Release Date: 2021-03-23' > OUT: > Unicod

Re: [sage-support] Other mailing lists

2021-08-25 Thread David Lowry-Duda
> I believe that most of the traffic these days is on sage-support and > sage-devel, rather than the more specialized groups. Feel free to post > questions about Sage's algebra capabilities here. There is some activity on sage-nt too, but sage-support and sage-devel are much more consistently a

Re: [sage-support] Other mailing lists

2021-08-23 Thread David Joyner
On Mon, Aug 23, 2021 at 7:13 PM H wrote: > I just joined this list a few days ago but also tried to join > sage-algebra, that list however seems dead. The moderator has after almost > a week not approved my membership and the last Google group posting seems > to be from 2018... > > Are there any

[sage-support] Re: [sage-release] Re: Sage 9.4.rc0 released

2021-08-02 Thread David Joyner
cross posting On Mon, Aug 2, 2021 at 10:59 AM Raymond Rogers wrote: > Where do I report bugs/inconsistencies/errors (?) > sage-support might be a better place for that sort of report. I'll be happy to approve your post right away. I am having, at least, inconsistencies with the "copy(manifold)

[sage-support] Re: Does anyone know what this means?

2021-07-27 Thread David Lowry-Duda
This comes from python-prompt-toolkit. See here: https://github.com/prompt-toolkit/python-prompt-toolkit/pull/1291 This was fixed in python-prompt-toolkit in December, I think in version 3.0.9. Sage is currently using 3.0.5. When we update to use a more recent version of python-prompt-toolkit,

Re: [sage-support] Graph class method .lovasz_theta is broken

2021-07-19 Thread David Joyner
On Mon, Jul 19, 2021 at 3:39 PM Craig E Larson wrote: > Lovasz' theta function used to work. Now it is broken for a wide variety > of graphs. Here's one example: > > g=graphs.CompleteGraph(20) > g.lovasz_theta() > > Using sage-9.1.rc5 (after installing csdp): sage: g=graphs.CompleteGraph(20) sag

Re: [sage-support] how do I do this exercise that asks me given a bilinear form and a subspace determine the root base of the bilinear form restricted to the subspace

2021-07-08 Thread David Joyner
def es(b,W): : m=dimension(span(A)) : n=W.dimension() : B=W.basis() : if transpose(A)!=A: : print("La matrice deve essere simmetrica") : return : else: : componenti=[var('x'+str(i)) for i in range(1,m+1)] : w=(S

Re: [sage-support] HELP

2021-06-25 Thread David Joyner
On Wed, Jun 23, 2021 at 1:20 PM David Joyner wrote: > > > On Wed, Jun 23, 2021 at 1:07 PM Cosimo Romito > wrote: > >> Hi everyone, would anyone be willing to help me with a sage exercise >> related to the base of a radical of a bilinear form? Thank you. >> soon

Re: [sage-support] HELP

2021-06-23 Thread David Joyner
On Wed, Jun 23, 2021 at 1:07 PM Cosimo Romito wrote: > Hi everyone, would anyone be willing to help me with a sage exercise > related to the base of a radical of a bilinear form? Thank you. > soon I attach the track > > Ask sagemath has a similar question: https://ask.sagemath.org/question/38132/

Re: [sage-support] Error building fpylll from Sage 9.2 source

2021-01-21 Thread David Valdez
Despite not actually solving the problem, it did result in Sage working, which was my end goal. So thanks! On Thursday, January 21, 2021 at 12:52:35 PM UTC-6 David Valdez wrote: > > I'll try that. Thanks! > On Thursday, January 21, 2021 at 12:43:25 PM UTC-6 dim...@gmail.com wrote:

Re: [sage-support] Error building fpylll from Sage 9.2 source

2021-01-21 Thread David Valdez
I'll try that. Thanks! On Thursday, January 21, 2021 at 12:43:25 PM UTC-6 dim...@gmail.com wrote: > Could it be due to gcc-10? > I am not sure whether 9.2 was well-tested with gcc-10. > > > On Thu, 21 Jan 2021, 18:29 David Valdez, wrote: > >> While building Sa

Re: [sage-support] Graph class maps

2020-11-08 Thread David Joyner
On Fri, Nov 6, 2020 at 12:57 PM Julian wrote: > Hello, > > Sage includes the database of graph classes from ISGCI. ISGCI offers a > Java application to query and render visual maps showing the inclusion > relationships among the graph classes and the complexity information wrt > optimization prob

Re: [sage-support] Re: problem compiling sage-9.2.rc0 on big sur, xcode 12.01

2020-10-08 Thread David Joyner
On Thu, Oct 8, 2020 at 2:47 PM slelievre wrote: > 2020-10-08 17:38:08 UTC, David Joyner: > > > > I can log in but don't seem to have permission to add a comment to trac. > > Your trac account was missing a name and an email. > I filled those in, can you try again? &g

Re: [sage-support] Re: problem compiling sage-9.2.rc0 on big sur, xcode 12.01

2020-10-08 Thread David Joyner
On Thu, Oct 8, 2020 at 9:48 AM slelievre wrote: > 2020-10-07 21:09:18 UTC, John H Palmieri: > > > > including details of which homebrew packages you've installed. > > To get your installed homebrew packages listed in a file: > ``` > $ brew list --versions > brew-list-versions.txt > ``` > Thank y

Re: [sage-support] Re: problem compiling sage-9.2.rc0 on big sur, xcode 12.01

2020-10-07 Thread David Joyner
On Wed, Oct 7, 2020 at 12:37 PM David Lowry-Duda wrote: > sage -f [opts] [packages] is a shortcut for force-building specified > packages. If you examine the output of `sage -advanced` on a commandline, > this is noted there. The command `sage -advanced` is a more complete > ve

Re: [sage-support] Re: problem compiling sage-9.2.rc0 on big sur, xcode 12.01

2020-10-07 Thread David Joyner
eleted. Set the environment variable SAGE_KEEP_BUILT_SPKGS=yes to prevent this. make: *** [openblas] Error 1 Hope this helps. > On Wednesday, October 7, 2020 at 7:39:59 AM UTC-7, David Joyner wrote: >> >> Hi: >> >> The compiler still can't find installed pyth

[sage-support] Re: problem compiling sage-9.2.rc0 on big sur, xcode 12.01

2020-10-07 Thread David Lowry-Duda
compile - see my previous email > in this thread). It seemed to try to compile > python 3.8.5. I pasted the tail end below, in case this > is useful. BTW, what does "sage -f" do? > -David > > ... > > [python3-3.8.5] > > [python3-3.8.5] Python build fini

[sage-support] Re: problem compiling sage-9.2.rc0 on big sur, xcode 12.01

2020-10-07 Thread David Joyner
is useful. BTW, what does "sage -f" do? -David ... [python3-3.8.5] [python3-3.8.5] Python build finished successfully! [python3-3.8.5] The necessary bits to build these optional modules were not found: [python3-3.8.5] _bz2 _curses _curses_pane

[sage-support] problem compiling sage-9.2.rc0 on big sur, xcode 12.01

2020-10-07 Thread David Joyner
on of the package will, by default, be deleted. Set the environment variable SAGE_KEEP_BUILT_SPKGS=yes to prevent this. make[1]: *** [all-start] Error 1 make: *** [all] Error 2 make: Target `default' not remade because of errors. - David Joyner -- You received this message because you a

Re: [sage-support] Can't post on ask.sagemath.org

2020-10-03 Thread David Joyner
On Sat, Oct 3, 2020, 3:51 AM Patrick Collins wrote: > Apologies if this is the wrong group to contact. > > I have tried to make two posts that contained a code snippet and some > questions about the results (i.e. no links or terms that I can imagine > triggering the spam filter), but every attemp

Re: [sage-support] integrating sin(t)/t

2020-09-28 Thread David Lowry-Duda
^9 - 1/35280*x^7 + 1/600*x^5 - 1/18*x^3 + x I don't know why what you tried fails. This seems to be a bug. On the trac, this seems closely related to 1. https://trac.sagemath.org/ticket/11164 2. https://trac.sagemath.org/ticket/30389 - DLD -- David Lowry-Duda -- You received thi

Re: [sage-support] compile problem for sage 9.2.b9 on mac 11.0 big sur

2020-09-17 Thread David Joyner
e-6.3.008.p0 last build time: Sep 17 10:10 log file: /Users/wdj/sagefiles/sage-9.2.beta12/logs/pkgs/readline-6.3.008.p0.log build directory: /Users/wdj/sagefiles/sage-9.2.beta12/local/var/tmp/sage/build/readline-6.3.008.p0 Maybe make+configure can't find readline? > On Thu, Sep 1

Re: [sage-support] Triple integrals in a specific region of space

2020-09-12 Thread David Joyner
On Sun, Sep 6, 2020 at 5:03 AM Teodoro Coluccio wrote: > Can I perform triple integrals in a region of space I define? I'm trying > to migrate from mathematica to sage, and in mathematica I could go and > define a region of space (with various limitations) and then perform the > integral of a fun

Re: [sage-support] compile problem for sage 9.2.b9 on mac 11.0 big sur

2020-08-22 Thread David Joyner
On Sat, Aug 22, 2020 at 6:02 PM Dima Pasechnik wrote: > On Sat, Aug 22, 2020 at 10:51 PM David Joyner wrote: > > > > > > > > On Sat, Aug 22, 2020 at 4:52 PM Dima Pasechnik > wrote: > >> > >> On Sat, Aug 22, 2020 at 8:28 PM Dima Pasechnik &

Re: [sage-support] compile problem for sage 9.2.b9 on mac 11.0 big sur

2020-08-22 Thread David Joyner
hanged it then tried to recompile but it stopped at the same place. I can't install a system python3 using homebrew since it's broken https://github.com/Homebrew/brew/issues/7803 > > > > > On Sat, Aug 22, 2020 at 8:06 PM David Joyner wrote: > > > > > &

[sage-support] Re: recovering the last Sage command while it is still running

2020-08-20 Thread David Lowry-Duda
> I thought that there was a Sage history file somewhere where the last command I gave would be stored but if there is (as I know there is) it seems to be unreadable. I think it is in .sage/ipython-*/profile_default/history.sqlite. I've never actually tried this, but you're right, it'll be the

Re: [sage-support] sometimes show just display broken latex

2020-07-30 Thread David Lowry-Duda
dle. But I note that it is valid tex and can be inserted into a regular latex document. - DLD -- David Lowry-Duda -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it,

Re: [sage-support] Re: bug in CirculantGraph(10,[2,4])?

2020-06-29 Thread David Joyner
t;> sage: Gamma1.is_connected() >> >> False >> >> >> My understanding is that all circulant graphs are connected. >> >> Is this a bug? >> >> - David >> >> >> >> >> -- > You received this message because you ar

[sage-support] bug in CirculantGraph(10,[2,4])?

2020-06-29 Thread David Joyner
Hi: In SageMath version 9.1.beta3, I get sage: Gamma1 = graphs.CirculantGraph(*10*,[*2*,*4*]) sage: Gamma1.is_connected() False My understanding is that all circulant graphs are connected. Is this a bug? - David -- You received this message because you are subscribed to the Google Groups

Re: [sage-support] Re: No reply to my sage-trac-account request

2020-06-22 Thread David Fifield
On Mon, Jun 22, 2020 at 08:23:50AM -0700, slelievre wrote: > Done now, sorry for missing your emails to sage-trac-account. Thanks for your help. I got my ticket made. -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this grou

[sage-support] No reply to my sage-trac-account request

2020-06-21 Thread David Fifield
I was glad to see that it is possible to contribute to Sage without a GitHub account. I followed the instructions at https://doc.sagemath.org/html/en/developer/trac.html#obtaining-an-account and sent email to sage-trac-acco...@googlegroups.com with the requested information. I sent a message on 202

Re: [sage-support] Re: How do you use SageMath in research, education, ...?

2020-05-26 Thread David Joyner
On Tue, May 26, 2020 at 4:58 PM Matthias Koeppe wrote: > On Saturday, May 23, 2020 at 11:25:56 PM UTC-7, Matthias Koeppe wrote: >> >> On Saturday, May 23, 2020 at 12:18:08 PM UTC-7, Ingo Dahn wrote: >>> >>> Sounds like an interesting event, what is the intended audience? >>> Developers? Researche

Re: [sage-support] Problem with sagetex and fancyhdr

2020-05-14 Thread David Sevilla
On Thursday, May 14, 2020 at 7:00:34 PM UTC+2, Dima Pasechnik wrote: > > > > On Thursday, May 14, 2020 at 12:14:36 PM UTC+1, Dima Pasechnik wrote: >> >> Hi David, >> >> On Wed, May 13, 2020 at 11:53 PM David Sevilla <> wrote: >> >> > Hi

[sage-support] Re: Problem with sagetex and fancyhdr

2020-05-13 Thread David Sevilla
(By the way, I wasn't able to ask at https://ask.sagemath.org/ because my question was detected as spam. So was an answer or comment I tried to post earlier in the day.) -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this

[sage-support] Problem with sagetex and fancyhdr

2020-05-13 Thread David Sevilla
Hi, I have been trying to use SageTeX in a document where I also use the fancyhdr package, and I am not able to put Sage computations in the header (or the footer). A minimal example follows. \documentclass{article} \usepackage{sagetex} \usepackage{fancyhdr} \begin{document} \begin{sagesilen

Re: [sage-support] Building on Catalina

2020-04-10 Thread David Einstein
Mac OS 10.15.4 Xcode Version 11.3 beta (11C24b) On Friday, April 10, 2020 at 12:07:09 AM UTC-4, Dima Pasechnik wrote: > > On Fri, Apr 10, 2020 at 5:23 AM David Einstein > wrote: > > > > Sorry, that was a side effect of me running one of the internal scripts > fr

Re: [sage-support] Building on Catalina

2020-04-09 Thread David Einstein
April 9, 2020 at 6:35:53 AM UTC-7, David Einstein wrote: >> >> I did a brew install pkg-config and was notified that version 0.29.1 was >> already installed, but I could upgrade to 0.29.2, so I did so. Then did a >> `make distclean` and then make and got marginally fur

Re: [sage-support] Building on Catalina

2020-04-09 Thread David Einstein
Apple just gave me a supplemental Catalina update, and now sagelib is building. If this works, I'll attribute it to some Apple problem. On Thursday, April 9, 2020 at 9:37:56 AM UTC-4, David Einstein wrote: > > davideinstein@Davids-MacBook-Pro-3 sage % pkg-config --modversion libpng

Re: [sage-support] Building on Catalina

2020-04-09 Thread David Einstein
me libpng is > found via pkg-config > Thanks > Dima > > On Thu, Apr 9, 2020 at 10:58 AM David Einstein > wrote: > > > > Here is the config.log. > > > > On Wednesday, April 8, 2020 at 10:32:51 PM UTC-4, Dima Pasechnik wrote: > >> &

[sage-support] Building on Catalina

2020-04-08 Thread David Einstein
I am trying to build on OSX Catalina, and everything seems to go well until it builds sagelib, and I get a libpng not found. Everything built nicely a few weeks ago. I am tempted to blame the upgrade to catalina, but I also upgraded hombrew and XCode. Any ideas? Here is the final output from

Re: [sage-support] Plotting algebraic curves

2020-03-01 Thread David Joyner
On Sat, Feb 29, 2020 at 5:29 PM Fernando Gouvea wrote: > Some years ago in a book review, David Roberts had the idea of plotting an > algebraic curve using the transformation (u,v) = (x,y)/(r2 + x2 + y2)1/2, > which transforms the plane into a circle and makes it easy to visu

Re: [sage-devel] Re: [sage-support] Error in operations of finite field

2019-11-22 Thread David Roe
The issue is that you redefined x after defining K. I wrote more on the ticket. David On Fri, Nov 22, 2019 at 1:57 AM Dima Pasechnik wrote: > This is a variable name clash. Somehow, using 'x' for modulus creates a > problem. > If I instead do > > T.=GF(2)[] > K.

[sage-support] Re: [GAP Forum] GAP to MATLAB?

2019-10-16 Thread David Joyner
Ignore my post. It went to the wrong email list. Sorry. On Wed, Oct 16, 2019 at 8:23 AM David Joyner wrote: > > > On Wed, Oct 16, 2019, 8:06 AM Iverson, Joseph W [MATH] > wrote: > >> Dear GAP forum, >> >> Does anybody know of a way to efficiently get matrice

[sage-support] Re: [GAP Forum] GAP to MATLAB?

2019-10-16 Thread David Joyner
On Wed, Oct 16, 2019, 8:06 AM Iverson, Joseph W [MATH] wrote: > Dear GAP forum, > > Does anybody know of a way to efficiently get matrices (say with > cyclotomic entries) from GAP to MATLAB? For instance, is there a package to > export matrices as .mat files? > Suggested reply: One way to do th

Re: [sage-support] SageMath installation in macOS Catalina

2019-10-09 Thread David Joyner
On Wed, Oct 9, 2019 at 7:42 AM Dima Pasechnik wrote: > > > On Wed, Oct 9, 2019 at 6:34 AM David Joyner wrote: > >> >> >> On Wed, Oct 9, 2019 at 7:14 AM Dima Pasechnik wrote: >> >>> Hi, >>> >>> On Wed, Oct 9, 2019 at 6:03 AM George

Re: [sage-support] SageMath installation in macOS Catalina

2019-10-09 Thread David Joyner
On Wed, Oct 9, 2019 at 7:14 AM Dima Pasechnik wrote: > Hi, > > On Wed, Oct 9, 2019 at 6:03 AM George wrote: > >> Hi David, >> >> Thanks for the update and information. >> >> building from source should still work. > Did you try this ? > I did.

Re: [sage-support] Re: solving a linear system of GF(3) -- strange TypeError

2019-10-09 Thread David Joyner
On Wed, Oct 9, 2019 at 1:33 AM Robert Samal wrote: > Sorry, F=GF(3), I made my original example shorter and didn't read it > properly. > > So the full problematic code is > > B=matrix(GF(3), 2,2,[1,0,1,0], sparse=True) > v=vector(GF(3), [1,1]) > B.solve_right(v) > > Yes. I can confirm it works wi

Re: [sage-support] SageMath installation in macOS Catalina

2019-10-09 Thread David Joyner
On Wed, Oct 9, 2019 at 6:45 AM George wrote: > Hi, > > I upgraded to the new macOS Catalina and SageMath won't install. I get > errors like "python2.7 cannot be opened because the developer cannot be > verified" and for numerous other components as well. > > Is anyone having the same problem? Any

Re: [sage-support] solving a linear system of GF(3) -- strange TypeError

2019-10-08 Thread David Joyner
On Tue, Oct 8, 2019, 8:18 PM Robert Samal wrote: > I am trying to solve a rather large linear systems of equations of GF(3). > As the matrices are sparse, I thought that adding "sparse=True" to the > constructor of the matrix could be of help. However, I ran to a strange > error message. > > B=ma

Re: [sage-support] The behavior of empty sums

2019-06-17 Thread David Joyner
On Mon, Jun 17, 2019 at 5:38 AM Peter Luschny wrote: > I don't know what OmegaPolynomial is. However, if you replace it by >> cyclotomic_polynomial, >> it seems to work as expected, doesn't it? >> > > No, it does not. You missed the question. > > >> >> sage: *def* *ib*(m, n): *return* sum(binomia

Re: [sage-support] The behavior of empty sums

2019-06-17 Thread David Joyner
On Mon, Jun 17, 2019 at 5:18 AM Peter Luschny wrote: > Hi, > > I think we should be confident that the sum of integers is > again an integer, the sum of rational numbers a rational number > and that the sum of polynomials is a polynomial. > > With Sage this is not the case. > > def ib(m, n): retu

Re: [sage-support] installation on OSX Mojave, Sage V. 8.7

2019-05-24 Thread David Joyner
On Fri, May 24, 2019 at 12:03 PM frank wessel wrote: > downloaded the sage-8.7-OSX_10.11.6-x86_64.dmg (hopefully the latest) > I'm far from an expert on installing but it seems to me that you tried to install an app compiled for 10.11.6 on a 10.14.5 computer. Is this correct? In case that is co

Re: [sage-support] Sage Math on Mac

2019-05-04 Thread David Joyner
Type ./sage at the prompt. This starts sage. On Sat, May 4, 2019, 8:26 AM Nick Karavas wrote: > The attached file is what I see when I have my terminal opened at this > point. No matter what command I put in it does not seem to recognize the > sage commands. > > On Sat, May 4, 2019 at 8:24 AM Ni

Re: [sage-support] Piecewise Function Fails to Evaluate in its Domain

2019-04-03 Thread David Joyner
On Wed, Apr 3, 2019 at 2:47 PM wrote: > The simplest example: > > f = piecewise([[[-pi-1, -pi/2], 0], [(-pi/2,pi/2), 1], [[pi/2, pi+1], 0]]) > print(f(-pi)) > > I'm not sure why it isn't evaluating symbolic numbers like pi, but here's a work-around: sage: f = piecewise([((-pi-*1*, -pi/*2*), *0*)

Re: [sage-support] Sage options not recognized.

2019-03-29 Thread David Joyner
On Fri, Mar 29, 2019 at 3:47 PM Jose Garcia wrote: > Hi All, > > I'm trying to install a package to sage math, and I can't get sage to > recognize specific options. > > Ex > > $ sage --package fix-checksum conjecturing > Did you mean to type "sage -optional" instead? > sage-run received u

Re: [sage-support] primes -- enhancement request

2019-03-12 Thread David Joyner
On Tue, Mar 12, 2019 at 11:12 AM Peter Luschny wrote: > You did not say what command you were using. >> > > Oh, I thought that was clear from the error message: prime_range. > The function (implementing the factorial) is on GitHub >

  1   2   3   4   5   6   7   8   9   10   >