[sage-devel] Re: Finite dimensional algebra generated by matrices

2022-06-11 Thread Yingdong Li
Dear Travis, I think my code already has the function you mentioned(the function named "basis_of_algebra" is used to build a basis, and we can plug it in the "ideal" function to get the ideal we want, see line 53-139). I'm not sure whether I misunderstood your advice. Anyway, thanks for your

[sage-devel] Re: Vector power operator not implemented

2022-06-11 Thread John H Palmieri
In my opinion it's not very mathematical. If we implement powers for vectors like this (and products, too, as some of these other packages do), then for consistency, perhaps products and powers of matrices should behave the same way? Ordinary matrix multiplication is much more common in

[sage-devel] Vector power operator not implemented

2022-06-11 Thread erentar2002
sage -c "vector([1,2,3])^2" returns with a NotImplementedError, when in other mathematics software, the same expression will operate element-wise. python: >>> import numpy; numpy.array([1,2,3])**2 array([1, 4, 9]) octave: octave:1> [1,2,3].^2 ans = 1   4   9 mathematica: In[1]:= {1,2,3}^2

[sage-devel] Re: Developing for Sage without running "./sage -br" too often?

2022-06-11 Thread Matthias Koeppe
Use "./configure --enable-editable" https://wiki.sagemath.org/ReleaseTours/sage-9.3#Editable_.28.22in-place.22.2C_.22develop.22.29_installs_of_the_Sage_library On Saturday, June 11, 2022 at 8:16:28 AM UTC-7 dev@gmail.com wrote: > Dear all, > > As it's written in the developer guide [0]: > >

[sage-devel] Developing for Sage without running "./sage -br" too often?

2022-06-11 Thread Jing Guo
Dear all, As it's written in the developer guide [0]: > Once you have made any changes you of course want to build Sage and try out your edits. As long as you only modified the Sage library (that is, Python and Cython files under src/sage/...) you just have to run: "./sage -br" Because of