Ask Your Question

John Palmieri's profile - activity

2023-09-21 03:34:44 +0200 commented question How to use lift_x in python?

Try E.lift_x(Integer(1)). The Sage type Integer is more fully-functioned than the Python type int.

2023-09-19 18:57:13 +0200 commented answer How to plot the real line in SageMath

As far as I understand, Sage renders LaTeX in the notebook using an installation of MathJax, and MathJax by default does

2023-09-19 18:43:54 +0200 commented answer How to plot the real line in SageMath

I think I have to join everyone else in being confused about what you're asking. Are you asking about embedding tikz in

2023-09-18 22:52:06 +0200 commented answer How to plot the real line in SageMath

I would also point out that tikz and latex are designed for presentation and so are good at certain things. Sage is inst

2023-09-18 20:14:21 +0200 answered a question How to plot the real line in SageMath

The first part is easy: beta = 1/50 P = line([(-0.5, 0), (0.5, 0)]) for i in range(-5, 6): P += point((beta + i/11

2023-09-17 01:58:56 +0200 received badge  Nice Question (source)
2023-09-17 01:58:33 +0200 received badge  Popular Question (source)
2023-09-13 19:50:10 +0200 answered a question how do I expand cos(n*theta)

You could use the simplify_trig method: sage: var('theta') theta sage: cos(2*theta).simplify_trig() 2*cos(x)^2 - 1 sage

2023-09-12 05:56:32 +0200 edited question How to plot curve projection?

How to plot curve projection? I am newbie to sagemath tool and in the middle of leaning... I try to plot the projection

2023-09-08 00:42:22 +0200 edited question sqrt integral not working

sqrt integral not working I can't seem to integrate sqrt in SageMath - Jupyter cells in website CoCalc In: x1 = var('x

2023-09-06 20:58:14 +0200 commented question Unexpected error with sign() function in SageMath

I have an answer at https://stackoverflow.com/a/77054009/1401572. Also, I think this is a bug, and I've reported it at h

2023-09-06 20:57:32 +0200 commented question Unexpected error with sign() function in SageMath

I have an answer at https://stackoverflow.com/a/77054009/1401572.

2023-09-02 17:52:59 +0200 commented answer Square roots of positive definite matrices

I now see a problem. I interrupted the computation since it was taking so long, so I don't know if it ends in an error.

2023-09-01 18:49:34 +0200 edited answer Square roots of positive definite matrices

The method principal_square_root is present in Sage and seems to work (at a quick glance at the source code) the way you

2023-09-01 03:40:05 +0200 answered a question Square roots of positive definite matrices

The method principal_square_root is present in Sage and seems to work (at a quick glance at the source code) the way you

2023-08-31 17:22:03 +0200 commented question Diagonalisability check Malfunctioning

I will continue to take Sage's word for it, since your matrix is not in fact symmetric. (It would be if you changed the

2023-08-31 17:21:07 +0200 commented question Diagonalisability check Malfunctioning

I will continue to take Sage's word for it, since your matrix is not in fact symmetric. As the documentation for eigenma

2023-08-31 04:14:36 +0200 commented question Diagonalisability check Malfunctioning

In the last paragraph, what do you mean by D and P? They can't have been the values returned by A.diagonalization(), sin

2023-08-31 04:14:03 +0200 commented question Diagonalisability check Malfunctioning

Maybe this is a silly question, but why do you think that this matrix is diagonalizable? All of its eigenvalues are 2, a

2023-08-31 01:52:00 +0200 commented question Using docbuild on an external package

See https://github.com/sagemath/sage/issues/6389: I don't think this is supported, although it would be nice if it were.

2023-08-26 00:26:26 +0200 commented question Jupyter in sagemath 10

Please provide details: what does "stopped working" mean? And how did you install SageMath?

2023-08-26 00:26:11 +0200 commented question Jupyter in sagemath 10

Please provide details: what does "stopped working" mean?

2023-08-24 23:08:10 +0200 commented question Specify Columns of Minors Using Sage

Could you please expand? What is your input, what are you evaluating (I mean: what commands are you using), what is your

2023-08-24 23:07:47 +0200 commented question Specify Columns of Minors Using Sage

Could you please expand? What is your input, what are you evaluating, what is your output, and what is your desired outp

2023-08-24 23:05:20 +0200 commented question "sage -i package_name" not working

There may be more than one program called sage on your computer, and Terminal is finding the wrong one by default, one t

2023-08-24 23:05:06 +0200 commented question "sage -i package_name" not working

There may be more than one program called sage on your computer, and Terminal is finding the wrong one by default, one t

2023-08-24 23:04:51 +0200 commented question "sage -i package_name" not working

There may be more than one program called sage on your computer, and Terminal is finding the wrong one, one that expects

2023-08-24 19:11:35 +0200 commented question "sage -i package_name" not working

In the Terminal you may have to specify the path to the sage executable. (a) Where did you install SageMath? (b) In the

2023-08-19 17:17:24 +0200 commented question Is it possible to find formula of the sequence?

If you had many examples of A, B, C, or if you had more information about the type of formula, then someone might be abl

2023-08-19 15:51:32 +0200 received badge  Good Answer (source)
2023-08-18 20:47:59 +0200 commented answer mutivariate polynomial with a single variable

Hence the very first question I asked: "How are you defining your polynomials in the first place?"

2023-08-18 19:08:11 +0200 answered a question mutivariate polynomial with a single variable

Why not just start with R.<x,dummy> = QQ[] and then any polynomials you later construct in x are automatically

2023-08-17 22:52:21 +0200 received badge  Nice Answer (source)
2023-08-17 21:46:49 +0200 commented answer Difficulty installing Sage-10.0 on Mac OS 12.6.8 'gmp.h' file not found

Great, I'm glad!

2023-08-17 20:24:54 +0200 commented answer Difficulty installing Sage-10.0 on Mac OS 12.6.8 'gmp.h' file not found

One other question: what messages does ./configure print at the end? That would be useful to know.

2023-08-17 20:21:16 +0200 commented question mutivariate polynomial with a single variable

To make sure that a polynomial f has the correct parent and therefore the desired methods, I don't see a more straightfo

2023-08-17 20:20:53 +0200 commented question mutivariate polynomial with a single variable

To make sure that a polynomial f has the correct parent and therefore the desired methods, I don't see a more straightfo

2023-08-17 19:41:48 +0200 commented question mutivariate polynomial with a single variable

How are you defining your polynomials in the first place? The dummy variable seems pretty straightforward to me: just se

2023-08-17 18:54:39 +0200 edited answer Extracting specific rows of a matrix

The method matrix_from_rows_and_columns will do just this; it is especially helpful if you don't want to use consecutive

2023-08-17 18:52:22 +0200 answered a question Extracting specific rows of a matrix

The method matrix_from_rows_and_columns will do just this; it is especially helpful if you don't want to use consecutive

2023-08-17 17:09:17 +0200 commented answer Difficulty installing Sage-10.0 on Mac OS 12.6.8 'gmp.h' file not found

You could also post the question to the Google group sage-support, along with the file SAGE_ROOT/config.log.

2023-08-17 06:55:35 +0200 commented answer Difficulty installing Sage-10.0 on Mac OS 12.6.8 'gmp.h' file not found

My only two further ideas are (1) restarting the computer, starting a new terminal session, and then once again trying m

2023-08-16 23:08:17 +0200 commented answer Difficulty installing Sage-10.0 on Mac OS 12.6.8 'gmp.h' file not found

You can run make distclean which should restore things to pristine status. (This has pretty much the same effect as dele

2023-08-16 20:17:51 +0200 answered a question Difficulty installing Sage-10.0 on Mac OS 12.6.8 'gmp.h' file not found

My guess is that you didn't do source SAGE_ROOT/.homebrew-build-env. This has to be done in the same Terminal session as

2023-08-15 21:55:06 +0200 commented question Instructions for installing SAGE from source on MacOS are hard to follow.

SAGE_ROOT is now ~/sage/sage-10.0/ or something along those lines: it's the directory where README.md is, for example. S

2023-08-15 18:25:12 +0200 commented question Instructions for installing SAGE from source on MacOS are hard to follow.

Did it fail? It may have unpacked the tar file and then run into errors (for reasons I don't understand) after that. One

2023-08-15 18:17:26 +0200 edited question Instructions for installing SAGE from source on MacOS are hard to follow.

Instructions for installing SAGE from source on MacOS are hard to follow. I am trying to follow the instructions at http

2023-08-15 06:35:38 +0200 commented answer #I Getting PackageInfo URLs... false #I Package "database_odlyzko_zeta" not found in package list

You will have to decide where to install Sage. Once you compile it, you cannot move it or else it won't work; if you dec

2023-08-13 18:35:34 +0200 commented question Is it possible to find formula of the sequence?

This question is confusing. Are you asking how to find B, given A and C and a formula for combining A and B to get C, or

2023-08-12 15:51:02 +0200 received badge  Good Answer (source)