Ask Your Question

Pickle's profile - activity

2024-02-23 19:28:52 +0200 received badge  Famous Question (source)
2024-01-22 21:03:34 +0200 received badge  Popular Question (source)
2024-01-09 01:54:44 +0200 asked a question Eigenvalue order

Eigenvalue order I notice that Sage orders $A.eigenvalues()$ from lowest to highest (ascending order). Where does this f

2023-09-06 16:31:47 +0200 received badge  Nice Question (source)
2023-06-18 12:22:15 +0200 received badge  Notable Question (source)
2023-05-30 15:31:48 +0200 received badge  Popular Question (source)
2023-03-07 23:41:33 +0200 received badge  Popular Question (source)
2023-01-21 22:20:13 +0200 received badge  Popular Question (source)
2023-01-10 02:23:53 +0200 commented question Matrix symbolic definition for algebra

These are similar examples of what I am thinking. Is there similar functionality in Sagemath? https://www.diva-portal.or

2023-01-10 02:10:00 +0200 commented question Matrix symbolic definition for algebra

This is a similar example of what I am thinking. Is there similar functionality in Sagemath? https://www.diva-portal.org

2023-01-10 02:09:32 +0200 edited question Matrix symbolic definition for algebra

Matrix symbolic definition Is there a way to define variables as matrices and then perform simplification? For instance,

2023-01-10 00:50:22 +0200 commented answer Matrix symbolic definition for algebra

This is a good idea. However, it doesn't seem to allow for matrix operations like determinant and transpose

2023-01-09 08:26:59 +0200 edited question Matrix symbolic definition for algebra

Matrix equation simplification Is there a way to define variables as matrices and then perform simplification? For insta

2023-01-09 08:26:53 +0200 edited question Matrix symbolic definition for algebra

Matrix equation simplification Is there a way to define variables as matrices and then perform simplification? For insta

2023-01-09 08:26:29 +0200 asked a question Matrix symbolic definition for algebra

Matrix equation simplification Is there a way to define variables as matrices and then perform simplification? For insta

2022-09-16 02:29:44 +0200 marked best answer Sage vs Python Integers

Hello,

I am trying to use a recently installed module "control" in Sage. However, I run into issues with what seems like the variable type.

Below is an image of me running the same code side-by-side. Left is in Sage. Right is in the Sage repository's python kernel. I think the issue is regarding the variable types but I am not sure. Does someone have any insight to offer?

image description

2022-09-15 01:27:20 +0200 asked a question Sage vs Python Integers

Sage vs Python Integers Hello, I am trying to use a recently installed module "control" in Sage. However, I run into is

2022-09-15 01:23:45 +0200 marked best answer How to name new libraries/modules properly with conflictions with 3rd party code

Hello,

I am currently working on some code for SageMath that I want to name in the src as "control". However, the third party code I am integrating it with is also called "control" from the PyPI repository.

https://pypi.org/project/control/

https://github.com/python-control/pyt...

Can I maintain the name "control" in the SageMath code while using the external "control" code? Or with these names conflict? Do I need to change mine to something else in a first-come-first-serve fashion?

2022-09-03 06:16:04 +0200 asked a question How to name new libraries/modules properly with conflictions with 3rd party code

How to name new libraries/modules properly with conflictions with 3rd party code Hello, I am currently working on some

2022-07-30 14:29:44 +0200 commented question Matrix dimensions being symbolic

One idea is to do matrix manipulations knowing a common dimension. For instance, if I have an M matrix that is n x n, th

2022-07-28 18:12:02 +0200 asked a question Matrix dimensions being symbolic

Matrix dimensions being symbolic Is there any way to define a matrix in sage that has variables in place for the dimensi

2022-07-24 22:07:17 +0200 marked best answer What is the best way to create a library on top of Sage?

I am interested in using Sage to create a library for control theory (similar to SymPy and Python Control) below: https://docs.sympy.org/latest/modules...

https://github.com/python-control/pyt...

These libraries are great, but I want a library that has symbolic and numeric functionality. Therefore, I am considering using Sage to write the symbolic end and tie that with Python Control for the numeric end.

What is a good way to start creating this so that it can hopefully be integrated into the Sage build sometime in the future?

I came across someone with a similar idea before. They were using Sage to create a library for mechanics. The code is below. I notice that use a cas_utils.sage to hold their library. Then in notebooks like 061-Lagrange_bead_rotating_circle.ipynb, they load this library to use the features. Is this a good way to approach making a rough library based on Sage?

https://github.com/marcinofulus/Mecha...

2022-07-24 22:06:47 +0200 marked best answer SageMath unable to launch on Windows WSL

I just installed Sage using WSL and the Ubuntu distribution. When I try to run a notebook, I get the following error. Could someone help me resolve this?

Command

sage -n jupyter

Error

Start : This command cannot be run due to the error: The system cannot find the file specified.

At line:1 char:1

+ Start "file:///home/njjensen/.local/share/jupyter/runtime/nbserver-57 ...

+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

+ CategoryInfo : InvalidOperation: (:) [Start-Process], InvalidOperationException

+ FullyQualifiedErrorId : InvalidOperationException,Microsoft.PowerShell.Commands.StartProcessCommand

2022-07-24 22:05:05 +0200 commented question What is the best way to create a library on top of Sage?

I will do that! Thanks for the encouragement

2022-07-24 22:04:34 +0200 answered a question What is the best way to create a library on top of Sage?

The comments from John are sufficient to answer this question

2022-07-22 13:13:12 +0200 commented question What is the best way to create a library on top of Sage?

Hi John, Thanks for the response. I have browsed a bit through the developers guide. One thing I struggle with is knowi

2022-07-21 20:08:22 +0200 asked a question What is the best way to create a library on top of Sage?

What is the best way to create a library on top of Sage? I am interested in using Sage to create a library for control t

2022-07-21 19:56:49 +0200 received badge  Supporter (source)
2022-07-21 19:55:10 +0200 marked best answer What functionality from SymPy is incorporated in Sage

I notice that SymPy is a standard package that is installed with Sage: https://doc.sagemath.org/html/en/refe...

I am wondering what functionality in Sage is built on the SymPy library? Sage seems to have it's own variable system built from source: https://ask.sagemath.org/question/633...

I realize after I posted this, that there is probably many things included than can be listed. It looks like SymPy is an option for certain functionality.

Does anyone know if SymPy is used for any core features? As in, without SymPy these features would not exist?

Also, if there is anyway to search this out myself by knowing how to explore the source code and look for dependencies on SymPy, I would appreciate if someone could tell me how to do that.

2022-07-21 18:25:46 +0200 edited question What functionality from SymPy is incorporated in Sage

What functionality from SymPy is incorporated in Sage I notice that SymPy is a standard package that is installed with S

2022-07-21 14:37:21 +0200 commented answer What functionality from SymPy is incorporated in Sage

Thank you! I realize after I posted this, that there is probably more things included than can be listed. From what you

2022-07-21 05:15:29 +0200 asked a question What functionality from SymPy is incorporated in Sage

What functionality from SymPy is incorporated in Sage I notice that SymPy is a standard package that is installed with S

2022-07-20 21:58:33 +0200 marked best answer Package that is used for the sage.symbolic.expression.Expression

Hi,

I am wondering what package is used for the core sage.symbolic.expression.Expression object? Does this utilize SymPy's sympy.core.symbol.Symbol?

2022-07-20 17:02:44 +0200 commented question SageMath unable to launch on Windows WSL

I originally tried installing SageMath with a package installer. This is when I had issues. I changed directions and ins

2022-07-20 17:00:04 +0200 asked a question Package that is used for the sage.symbolic.expression.Expression

Package that is used for the sage.symbolic.expression.Expression Hi, I am wondering what package is used for the core s

2022-07-14 03:23:33 +0200 received badge  Teacher (source)
2022-06-22 20:18:07 +0200 commented question SageMath unable to launch on Windows WSL

I resolved this. I was doing some wanky stuff with my installation. Now I have got it working. Thanks for your concern

2022-06-22 20:15:01 +0200 commented answer windows 10 and sage

Installation from source for Windows is a bit of a long process but it is well worth it. I just completed this myself.

2022-06-21 03:42:52 +0200 marked best answer Upgrade module in SageMath

I am trying to upgrade SymPy to the current version 1.10.1. The currently installed version available in SageMath is 1.7.1.

Below is what I tried. Two different this

Is there something I am missing about how SageMath wraps other packages? Does SageMath need to be developed further before I can upgrade SymPy in it?

Attempt 1

n_jje@DESKTOP-NUEL1A5:~$ pip install --upgrade sympy

Requirement already satisfied: sympy in /opt/sagemath-9.3/local/lib/python3.7/site-packages (1.7.1)

Collecting sympy Using cached sympy-1.10.1-py3-none-any.whl (6.4 MB) Requirement already satisfied: mpmath>=0.19 in /opt/sagemath-9.3/local/lib/python3.7/site-packages (from sympy) (1.1.0)

Installing collected packages: sympy Attempting uninstall: sympy Found existing installation: sympy 1.7.1 Uninstalling sympy-1.7.1:

ERROR: Could not install packages due to an OSError: [Errno 13] Permission denied: '/opt/sagemath-9.3/local/bin/isympy' Consider using the --user option or check the permissions.

Attempt 2

n_jje@DESKTOP-NUEL1A5:~$ pip install --user --upgrade sympy

ERROR: Can not perform a '--user' install. User site-packages are not visible in this virtualenv.

2022-06-21 03:37:11 +0200 edited question SageMath unable to launch on Windows WSL

SageMath unable to launch on Windows WSL I just installed Sage using WSL and the Ubuntu distribution. When I try to run

2022-06-21 03:36:29 +0200 asked a question SageMath unable to launch on Windows WSL

SageMath unable to launch on Windows WSL I just installed Sage using WSL and the Ubuntu distribution. When I try to run

2022-06-20 18:23:35 +0200 answered a question Installing an optional huge database package on Arch Linux

Please refer to this question for help https://ask.sagemath.org/question/52321/installing-packages-using-pip-for-sage-in

2022-06-20 18:11:16 +0200 answered a question windows 10 and sage

Here is another resource: https://github.com/sagemath/sage-windows/releases This comes from the page below and clicking