[sage-support] Re: Implementing linear maps and their inverses in SageMath and Magma

2025-01-05 Thread Kwankyu
On Friday, January 3, 2025 at 1:27:47 PM UTC+9 skchandh...@gmail.com wrote: The solution you proposed worked. What is the explanation for why it worked? Just linear algebra. You may use solve_left() instead if the method exists. -- You received this message because you are subscribed to the

[sage-support] Re: Who to contact to re-join Zulip chat

2025-01-02 Thread Kwankyu
There is a hint at https://github.com/sagemath/sage/wiki/Infrastructure -- 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, send an email to sage-support+unsubscr...@googlegroups.com

[sage-support] Re: Implementing linear maps and their inverses in SageMath and Magma

2025-01-02 Thread Kwankyu
X_matrix = matrix([[f.evaluate(p) for p in places] for f in B1]).transpose() will work for you. -- 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, send an email to sage-support+uns

[sage-support] Re: Calculating place of large function field F_{2^128}(X)

2024-12-18 Thread Kwankyu
I meant sage: F. = GF(2) : K. = FunctionField(F) : R. = PolynomialRing(K) : L. = K.extension(Y^4 + Y - x^5) sage: g = L.get_place(2) sage: g Place (x, y^2 + y + 1) sage: g.prime_ideal().gens() (x, y^2 + y + 1) sage: O = L.maximal_order() sage: h = O.ideal((x, y^2 + y + 1)).place()

[sage-support] Re: Calculating place of large function field F_{2^128}(X)

2024-12-17 Thread Kwankyu
On Monday, December 16, 2024 at 2:21:10 PM UTC+9 skchandh...@gmail.com wrote: Is there a way I can take the place I got and input it into future calculations without having to recalculate it every time I run the code? p.save('file') saves the object to a file. Later, you can reload the objec

[sage-support] Re: Calculating place of large function field F_{2^128}(X)

2024-12-13 Thread Kwankyu
On Sat, Dec 14, 2024 at 9:09 AM Sai Chandhrasekhar wrote: When I ran it, it took a little over an hour. Is there a way to speed up this calculation? No. -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and s

[sage-support] Re: Calculating place of large function field F_{2^128}(X)

2024-12-13 Thread Kwankyu
Additional data: sage: d.dimension() 4 -- 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, send an email to sage-support+unsubscr...@googlegroups.com. To view this discussion visit

[sage-support] Re: Calculating place of large function field F_{2^128}(X)

2024-12-13 Thread Kwankyu
There is a method F.get_place(8) that returns a place of degree 8, which perhaps suits your purpose. In less than an hour, I got sage: a = K.get_place(8); a Place (x^2 + x + z16^11 + z16^2 + z16, z^4 + ((z16^15 + z16^14 + z16^12 + z16^10 + z16^9 + z16^4 + z16^3 + 1)*x + z16^15 + z16^12 + z16^11

[sage-support] Re: View does not work for crystal graphs (SageMath version 10.4)

2024-11-01 Thread Kwankyu
This was fixed by https://github.com/sagemath/sage/pull/38764 -- 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, send an email to sage-support+unsubscr...@googlegroups.com. To view

[sage-support] Re: installation getting stuck

2024-09-29 Thread Kwankyu
Here is the updated "Troubleshooting" section: https://doc-pr-38659--sagemath.netlify.app/html/en/installation/troubles -- 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, send an e

[sage-support] Re: installation getting stuck

2024-09-29 Thread Kwankyu
You may try this one as well https://github.com/sagemath/sage/pull/38659 though that might not save you if your platform has an unordinary setup. See "Troubleshooting" section for proper report of the installation issue on your system. Kwankyu -- You received this message becau

[sage-support] Re: View does not work

2024-08-04 Thread Kwankyu
Does anyone on linux platform experience sporadic "no pdf file" symptom? If so, please report to https://github.com/sagemath/sage/pull/38339. On Monday, July 8, 2024 at 4:45:16 PM UTC+9 Kwankyu wrote: > Try > > https://github.com/sagemath/sage/pull/38339 > > On Sunda

[sage-support] Re: View does not work

2024-07-08 Thread Kwankyu
Try https://github.com/sagemath/sage/pull/38339 On Sunday, June 23, 2024 at 12:37:52 PM UTC+9 Trey Davis wrote: > I use wsl with Ubuntu 22.04.3 LTS installed. I installed sage from source > code (SageMath version 10.4.beta9.) View does not work. When I try to use > it, it returns the error, "

Re: [sage-support] Re: Canonical divisor help

2023-10-30 Thread Kwankyu
basis = (-K).basis_function_space() Basis = [C._pull_from_function_field(f) for f in basis] phi = C.hom(Basis, P2) D = phi.image() # conic assert D.degree() == 2 D On Monday, October 30, 2023 at 8:11:05 AM UTC+9 Kwankyu wrote: > This is simpler > > sage: psi = C.hom(liftedbasis, P

Re: [sage-support] Computing the kernel of a map between polynomial algebras

2023-10-30 Thread Kwankyu
Isn't this what you want? sage: R. = QQ[] sage: phi = R.hom([x,x]) sage: phi Ring endomorphism of Multivariate Polynomial Ring in x, y over Rational Field Defn: x |--> x y |--> x sage: phi.kernel() Ideal (x - y) of Multivariate Polynomial Ring in x, y over Rational Field On Monday, Oct

Re: [sage-support] Re: Canonical divisor help

2023-10-29 Thread Kwankyu
This is simpler sage: psi = C.hom(liftedbasis, P2) sage: psi.image() Closed subscheme of Projective Space of dimension 2 over Rational Field defined by: x^2 + x*y + 2*y*z On Monday, October 30, 2023 at 5:45:27 AM UTC+9 Nils Bruin wrote: On Monday, 30 October 2023 at 00:19:47 UTC+13 Kwankyu

Re: [sage-support] Re: Canonical divisor help

2023-10-29 Thread Kwankyu
The most pressing problem in sage at the moment seems to be that presently there only seem to be morphisms between schemes. You need rational maps for this (especially from a singular model, the map to a canonical model might only be a rational map). "SchemeMorphism" in Sage is a map defined

Re: [sage-support] Re: Canonical divisor help

2023-10-28 Thread Kwankyu
That's actually trivially simple: if [f1,f2,f3] is the basis of your Riemann-Roch space, you just consider the map defined by [f1:f2:f3]. So you lift f1,f2,f3 to rational functions on the affine space that contains your curve: you just take the rational function representation and forget the

Re: [sage-support] Re: Canonical divisor help

2023-10-28 Thread Kwankyu
e: f1, f2, f3 = (-K).basis_function_space() sage: phi = C.hom(P2, [f1,f2,f3]). <--- does not work sage: phi.image() # will work On Saturday, October 28, 2023 at 9:59:58 PM UTC+9 Kwankyu wrote: > Let me mention also the related PR > > https://github.com/sagemath/sage/pul

Re: [sage-support] Re: Canonical divisor help

2023-10-28 Thread Kwankyu
er 28, 2023 at 9:39:26 PM UTC+9 Kwankyu wrote: > Hi, > > I replied to Dima's comment in > https://github.com/sagemath/sage/commit/977ace651af9b99689f7b6507f91f8b4e2588ae9#r131138149 > . > > Note that the "divisor" method of a curve had existed long before I added

Re: [sage-support] Re: Canonical divisor help

2023-10-28 Thread Kwankyu
be a "valid object"): > there is no INPUT block. > > I've left a comment here: > > https://github.com/sagemath/sage/commit/977ace651af9b99689f7b6507f91f8b4e2588ae9#r131117132 > > fortunately, the author, @kwankyu is active > > I can't locate the ticket, but

[sage-support] Re: How to define module multiplication?

2023-09-20 Thread Kwankyu
sage.rings.function_field.differential defines the space of differentials of a function field, which is a left module over the function field. You may consult the code there. On Wednesday, September 20, 2023 at 6:08:15 PM UTC+9 Kwankyu wrote: > Is you element in the cohomology ring an insta

[sage-support] Re: How to define module multiplication?

2023-09-20 Thread Kwankyu
Is you element in the cohomology ring an instance of ModuleElement? On Wednesday, September 20, 2023 at 8:34:05 AM UTC+9 John H Palmieri wrote: > The mod 2 cohomology of a simplicial complex has the structure of a module > over the mod 2 Steenrod algebra. I would like to be able to do this in Sa

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

2022-09-27 Thread Kwankyu
This bug is tracked now in https://trac.sagemath.org/ticket/34591 On Tuesday, September 27, 2022 at 6:31:39 PM UTC+9 wdjo...@gmail.com wrote: > 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

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

2022-09-27 Thread Kwankyu
There is a serious problem here. sage: type(RXY) The base ring of a Singular polynomial should a field. As 8 is not a prime number, RXY should not be a libsingular polynomial ring! -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscr

[sage-support] Re: Pause and Play button in interactive sage demos

2022-08-23 Thread Kwankyu
Animated plots may help you: https://doc.sagemath.org/html/en/reference/plotting/sage/plot/animate.html For play button, you may use interactive(). For example, x = SR.var("x") sines = [plot(c*sin(x), (-2*pi,2*pi), color=Color(c,0,0), ymin=-1, ymax=1) for c in range(0,1,.2)] a = animate(sines)

[sage-support] Re: ascii_art fail in jupyter notebook

2022-06-14 Thread Kwankyu
Thanks for the report. This is now fixed in https://trac.sagemath.org/ticket/33996 On Wednesday, June 15, 2022 at 4:58:46 AM UTC+9 usapan...@gmail.com wrote: > The above error can be fixed by setting > > sage: sage.typeset.ascii_art.AsciiArt._terminal_width = lambda x: 80 > > (80 or any other

[sage-support] Re: Where do I report that 1-1=2 :)

2022-06-06 Thread Kwankyu
It seems the bug is in jupyter. Try putting the following $\verb|-_-|$ in a markdown cell. On Monday, June 6, 2022 at 12:51:00 AM UTC+9 egourg...@gmail.com wrote: > Indeed, in Jupyter or Jupyterlab, the underscore is rendered as a minus > sign in %display latex mode. > For instance, > > %disp

[sage-support] Re: Have seen that ?

2022-03-06 Thread Kwankyu
Absolutely great! -- 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, send an email to sage-support+unsubscr...@googlegroups.com. To view this discussion on the web visit https://gr

Re: [sage-support] Re: Basic Stats deprecated?

2022-02-28 Thread Kwankyu
Here is the ticket for this: https://trac.sagemath.org/ticket/33432 -- 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, send an email to sage-support+unsubscr...@googlegroups.com. T

[sage-support] Re: Basic Stats deprecated?

2022-02-25 Thread Kwankyu
> > But shouldn't these basic functions have some default functionality? > +1 -- 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, send an email to sage-support+unsubscr...@google

Re: [sage-support] Re: Snowman

2022-01-20 Thread Kwankyu
On Thursday, January 20, 2022 at 4:57:34 PM UTC+9 slelievre wrote: > Fine with me. You should add your snow person too! > Then they can keep each other company: It is fun to look at them being together. But their destiny is not eternity. Thanks anyway. -- You received this message becaus

Re: [sage-support] Re: Snowman

2022-01-19 Thread Kwankyu
As I wish that the artwork by Samuel Lelièvre is not lost, I posted it here: https://wiki.sagemath.org/art#Snowman if the author permits. If not, let me know. -- You received this message because you are subscribed to the Google Groups "sage-support"

Re: [sage-support] Re: Snowman

2022-01-16 Thread Kwankyu
After blizzard is gone, from sage.plot.plot3d.shapes import * P = Graphics() P += Sphere(.5, color='white') P += Sphere(1, color='white').translate(0,0,-1.2) P += Sphere(1.5, color='white').translate(0,0,-2.5) P += Sphere(.1, color='white').translate(.45,-.1,.15) + Sphere(.05, color='black').tran

[sage-support] Re: Function-call syntax deprecation

2021-09-09 Thread Kwankyu
gamma(t) = vector([t,t^2,t^3]) is a bit simpler. -- 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, send an email to sage-support+unsubscr...@googlegroups.com. To view this discuss

[sage-support] Re: Arithmetic in Jacobians of Hyperelliptic Curves

2021-06-20 Thread Kwankyu
Hi, On Sunday, June 20, 2021 at 10:18:50 AM UTC+9 zsc...@gmail.com wrote: > I have reason to believe that the point P is not torsion and so Magma is > correct and Sage is incorrect. I don't know enough about the algorithms > used to work with points on hyperelliptic Jacobians and so I'm not >

[sage-support] Re: Question about a deprecation warning

2020-07-12 Thread Kwankyu
On Saturday, July 11, 2020 at 3:31:15 AM UTC+9 John H Palmieri wrote: > Does IPython have a preparser? > I suspected Sage's preparser. I was wrong. You are right: (even out of Sage) Hera:~$ PYTHONWARNINGS=always ipython Python 3.8.3 (default, May 27 2020, 20:54:22) Type 'copyright', 'credits'

[sage-support] Re: Question about a deprecation warning

2020-07-09 Thread Kwankyu
Because of the preparser? On Thursday, July 2, 2020 at 9:19:58 AM UTC+9 John H Palmieri wrote: > > > On Wednesday, July 1, 2020 at 4:39:12 PM UTC-7, John H Palmieri wrote: >> >> >> >> On Wednesday, July 1, 2020 at 2:22:49 PM UTC-7, Antonio Rojas wrote: >>> >>> >>> >>> El miércoles, 1 de julio de

Re: [sage-support] Unexpected error for asking diagonalizability

2019-11-11 Thread Kwankyu
Thanks for the input. This is now https://trac.sagemath.org/ticket/28720 -- 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, send an email to sage-support+unsubscr...@googlegroups.

[sage-support] Unexpected error for asking diagonalizability

2019-11-07 Thread Kwankyu
Hi, This m = matrix(QQ, 3, [1, 1, 1, 0, 3, 3, -2, 1, 2]) m.is_diagonalizable() raises an error rather than giving False. The error message gives an explanation why the matrix is not diagonalizable. But I think the expected result for asking diagonalizability should be either True or False, for

[sage-support] Re: Solve equation efficiently

2019-07-29 Thread Kwankyu
On Thursday, July 25, 2019 at 12:08:20 AM UTC+9, chandra chowdhury wrote: > > I have matrices B and C of size (m,n) over integer with m>n. > I know there is matrix A of size (m,m) such that > AB=C. How to find A efficiently in Sage? > I guess there is no special way in Sage to solve your kind

[sage-support] Re: Counting Points of Multivariate Polynomials Over Finite Fields

2019-07-08 Thread Kwankyu
On Tuesday, July 9, 2019 at 1:47:50 AM UTC+2, Caleb Robelle wrote: > > I am using sage version 7.3 on Linux mint 18. I was wondering if there are > algorithms to count points of multivariate polynomials over finite fields > implemented in sage that were faster than a simple brute force search.

[sage-support] Re: Updating Sage documentation presentation

2019-06-21 Thread Kwankyu
On Friday, June 21, 2019 at 11:29:06 AM UTC+9, saad khalid wrote: > > I definitely see your point, it doesn't look fancy to me. But, I would > argue that Mathematica *does* have very "fancy" and accessible looking > documentation, and I think accessibility and polish are what new users may > b

[sage-support] Re: Updating Sage documentation presentation

2019-06-20 Thread Kwankyu
On Wednesday, June 19, 2019 at 9:31:05 PM UTC+9, saad khalid wrote: > > Hi all: > > The sage documentation hosted online (eg. > http://doc.sagemath.org/html/en/reference/index.html ) looks very old. To > me at least, it makes the software seem ancient, and I believe it puts off > younger new u

Re: [sage-support] Re: How to find one element of residue field as a vector over base field

2019-05-15 Thread Kwankyu
On Wednesday, May 15, 2019 at 10:08:05 PM UTC+9, Santanu wrote: > > > What is the value of $\frac{xy}{(x^2 + x + 1) } + >>> >>> \frac{1}{x^2 + x + 1}+$ Place $(x^2 + x + 1, x y + 1)$? >>> >>> >> You cannot add an element of the function field with a place. >> > Actually by this we meant the ele

Re: [sage-support] Re: How to find one element of residue field as a vector over base field

2019-05-15 Thread Kwankyu
On Wednesday, May 15, 2019 at 10:08:05 PM UTC+9, Santanu wrote: > > > > On Wed, 15 May 2019 at 17:03, Kwankyu > > wrote: > >> Hi Chandra, >> >> What is Place (x^2 + x + 1, x*y + 1)? Is it ideal generated by >>> >>> (x^2 + x + 1, x*y

[sage-support] Re: How to find one element of residue field as a vector over base field

2019-05-15 Thread Kwankyu
Hi Chandra, What is Place (x^2 + x + 1, x*y + 1)? Is it ideal generated by > > (x^2 + x + 1, x*y + 1). > > No. Place (x^2 + x + 1, x*y + 1) is the unique place of the function field at which both functions x^2 + x +1, x*y + 1 vanish. > What is the value of $\frac{xy}{(x^2 + x + 1) } + > >

[sage-support] Re: Function Field

2019-05-14 Thread Kwankyu
, from_Ls, to_Ls = L.separable_model() sage: Ls.places() [Place (1/x_, 1/x_*y_ + 1), Place (x_, y_), Place (x_, y_ + 1)] Kwankyu -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emai

[sage-support] Re: @interact

2019-04-27 Thread Kwankyu
This gets a grid input in Jupyter. Is this close to what you want? @interact def _(A=input_grid(2,2, default=[[1,2],[3,4]])): A = matrix(A) print(A) -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop

Re: [sage-support] Re: Weird behavior in sagecell

2018-12-01 Thread Kwankyu
> > See a similar report on the sage-cell mailing list: > https://groups.google.com/d/topic/sage-cell/BL9h7xLiwG4/discussion > > In the discussion there, Andrey Novoseltsev points out > that SageMathCell uses only one jsmol instance, and > if there are several plots using it, they might confli

Re: [sage-support] Re: Where is (the) kash?

2018-07-10 Thread Kwankyu
On Wednesday, July 11, 2018 at 10:35:28 AM UTC+9, Nils Bruin wrote: > Note that most parts of the function field infrastructure doesn't make use > of the fact that residue fields as finite (if you do it right, basically > only the part that computes divisor class groups), so with a bit of ca

Re: [sage-support] Re: Where is (the) kash?

2018-07-10 Thread Kwankyu
> > https://trac.sagemath.org/ticket/22982 (a meta-ticket where kash is a > part of) > Not at all! This is a native implementation of global function fields in Sage. -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this gr

[sage-support] Re: Problem in new Sage version

2018-07-06 Thread Kwankyu
What is your point? Remove GF(2) as this is over GF(2) by default. On Saturday, July 7, 2018 at 2:00:34 PM UTC+9, chandra chowdhury wrote: > > Initial version of Sage this worked perfectly > > *V=BooleanPolynomialRing(GF(2),49,['x%d'%(i) for i in range(1,49)]+['Z'])* > > But now I am getting error

[sage-support] Re: Computing basis of Riemann Roch space

2018-05-14 Thread Kwankyu
Hi, You may want to look into https://trac.sagemath.org/ticket/22982 Cheers. -- 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, send an email to sage-support+unsubscr...@googleg

Re: [sage-support] Re: Setting up a sage notebook server for multiple accounts

2018-02-11 Thread Kwankyu
On Monday, February 12, 2018 at 10:13:36 AM UTC+9, William wrote: > > > You hypothesis is right, but your conclusion is not. What one > typically blocks is creation of new outgoing tcp connection. The > jupyter notebook server doesn't need to create new outgoing > connections; it just handl

Re: [sage-support] Re: Setting up a sage notebook server for multiple accounts

2018-02-11 Thread Kwankyu
On Monday, February 12, 2018 at 3:55:35 AM UTC+9, William wrote: > > > In CoCalc.com we use Calico to program the Linux routing table, which > makes it easy to restrict connections between parts of the system, not > allow outgoing connections by default, etc. > Not to allow outgoing connectio

[sage-support] Re: Setting up a sage notebook server for multiple accounts

2018-02-10 Thread Kwankyu
On Sunday, February 11, 2018 at 8:00:46 AM UTC+9, kcrisman wrote: > > That is a great question. Sagenb (what you have found) does not serve up > Jupyter. It would be really interesting to hear from someone who knows > about Jupyterhub and whether that is a stable solution at this point. > I

[sage-support] Re: How to prevent a browser from opening after starting a Sage notebook server

2017-12-14 Thread Kwankyu
That's it! Thank you. -- 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, send an email to sage-support+unsubscr...@googlegroups.com. To post to this group, send email to sage-suppor

[sage-support] Re: How to prevent a browser from opening after starting a Sage notebook server

2017-12-14 Thread Kwankyu
On Thursday, December 14, 2017 at 4:15:33 PM UTC+9, Simon King wrote: > > Hi, > > On 2017-12-14, Kwankyu > wrote: > > "sage -n" automatically opens a new browser window after starting the > > notebook server. I checked this on Mac and Ubuntu. I thin

[sage-support] How to prevent a browser from opening after starting a Sage notebook server

2017-12-13 Thread Kwankyu
Hi, "sage -n" automatically opens a new browser window after starting the notebook server. I checked this on Mac and Ubuntu. I think this is an "over" service, and annoyance if I do not want a new browser window, unless there is a command line option to prevent this. Is there such an option? -

[sage-support] Re: No is_irreducible() method for multi-variate polynomials...

2017-09-29 Thread Kwankyu
Hi Maarten, I would not call this an embarrassing defect. Sage is an open source > project written by volunteers that do not have an unlimited amount of time. > If something is not implemented this just means no one had the time yet to > do this. I did not intend to insult the Sage developer

[sage-support] Re: No is_irreducible() method for multi-variate polynomials...

2017-09-28 Thread Kwankyu
Ok. Here is the ticket: https://trac.sagemath.org/ticket/23938 Please contribute code to fix the embarrassing defect! -- 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, send an ema

[sage-support] No is_irreducible() method for multi-variate polynomials...

2017-09-27 Thread Kwankyu
Hi, I was surprised to find that there is no is_irreducible() method for multi-variate polynomials in Sage. There is an alternative is_prime() method for this purpose. But this is very slow: sage: f.parent() Multivariate Polynomial Ring in x, y over Finite Field of size 2 sage: f=(x^10+y^10)^2

[sage-support] Re: numerical semigroup in sagemath

2017-07-26 Thread Kwankyu
There is a nice GAP package for numerical semigroups. You can use that via sage interface once you install it into the GAP under Sage (which could be tricky). Check https://www.gap-system.org/Packages/numericalsgps.html -- You received this message because you are subscribed to the Google Gro

[sage-support] Re: [sage-devel] An issue with the .coefficient() function

2017-06-25 Thread Kwankyu
> > On 25/06/2017 16:51, baliza Eyo wrote: > > Dear Sage developers, > > > > Here is a quick question about the output of the .coefficient() for an > SR > > object. > > having set up the variables as follows > > > > sage: var('x,y') > > (x, y) > > > > Shouldn't the output of the followi

[sage-support] Re: Matrix of operations after gaussian elimination

2017-06-09 Thread Kwankyu
Is this what you want? sage: m = matrix(2,[1,2,3,4]) sage: H,U = m.echelon_form(transformation=True) sage: H [1 0] [0 2] sage: U [-2 1] [ 3 -1] sage: U * m == H True > -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe fr

Re: [sage-support] Giving Back to the Community

2016-11-28 Thread Kwankyu
On Monday, November 28, 2016 at 2:44:32 AM UTC+1, William wrote: > > Hi, > > It would be great if somebody could create some sort of index of such > packages, which we could link to (or include) on sagemath.org. > > This might eventually involve using some sort of tagging (or > searching) of

Re: [sage-support] Giving Back to the Community

2016-11-27 Thread Kwankyu
> > > and the list at > > https://wiki.sagemath.org/SageMathExternalPackages > It is extremely slow to load this page, for me. -- 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,

[sage-support] Redundant blank line appears in the output

2016-10-31 Thread Kwankyu
Hi, >From some Sage versions onward, I see a blank line before the output. sage: m=matrix(2,[1,2,3,4]) sage: m [1 2] [3 4] sage: This blank line seems redundant. Why do we have that? Or is it just me? -- You received this message because you are subscribed to the Google Groups "sage-support"

Re: [sage-support] Linear algebra over a valuation ring in Sage

2016-10-03 Thread Kwankyu
On Monday, October 3, 2016 at 1:15:09 PM UTC+2, John Cremona wrote: > > > I don't quite understand the problem, since Frac(R)=k(x) anyway. Do > you only have a problem when x is not in R, since otherwise k[x] is a > subring of R anyway and the numerator / denominator are then correct > (thou

[sage-support] Linear algebra over a valuation ring in Sage

2016-10-03 Thread Kwankyu
Hi, I want to do linear algebra over a valuation ring (infinite) R of rational function field. As R is a PID, I expected the Sage machinery over general PID works fine for it. But it does not. The problem is, as I understand it, that internally Sage assumes an ambient vector space over Frac(R)=

[sage-support] Re: backwards compatibility

2016-04-26 Thread Kwankyu
This is also strange: sage: (zeta1092^13) == zeta84 True sage: zeta84^7 == zeta12 True sage: (zeta1092^13)^7 == zeta12 False -- 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,

[sage-support] Re: backwards compatibility

2016-04-26 Thread Kwankyu
sage: zeta84 in Q1092 True sage: zeta12 in Q84 True sage: zeta12 in Q1092 False sage: Q12.embeddings(Q1092) [ Ring morphism: From: Cyclotomic Field of order 12 and degree 4 To: Cyclotomic Field of order 1092 and degree 288 Defn: zeta12 |--> zeta1092^91, Ring morphism: From

[sage-support] Re: backwards compatibility

2016-04-26 Thread Kwankyu
sage: zeta84 in Q1092 True sage: zeta12 in Q84 True sage: zeta12 in Q1092 False sage: Q12.embeddings(Q1092) [ Ring morphism: From: Cyclotomic Field of order 12 and degree 4 To: Cyclotomic Field of order 1092 and degree 288 Defn: zeta12 |--> zeta1092^91, Ring morphism: From

[sage-support] Re: Coming SageMathCell upgrade - please test!

2016-04-17 Thread Kwankyu Lee
The webpage from the Madrid server opens but contains no Sage cell. My web browser is Chrome on Mac. Accessing from Asia might be a cause. -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails

[sage-support] libSingular multiple return values are lost.

2015-08-05 Thread Kwankyu
Hi, I am learning to use the libSingular interface to use Singular functions in Sage. I have two questions. (1) My Singular procedures return multiple values, but my Sage function wrapping the procedure (via "singular_function") seems to lose the values except the first one. Is this a bug or

[sage-support] Re: Is "profile_sage" still the right place to put user configurations for IPython?

2015-06-26 Thread Kwankyu
I did some experiments and looked into Sage source codes. It seems Sage loads only "profile_default" even though I can create "profile_sage". Moreover there is no mechanism to set which IPython profile to load when Sage starts. Now I wonder what is official IPython profile for Sage. Is it "pro

[sage-support] Is "profile_sage" still the right place to put user configurations for IPython?

2015-06-25 Thread Kwankyu
To enable extra readline commands for Sage 6.7, I put some codes into .sage/ipython-3.1.0/profile_sage/ipython_config.py But it does not work. If I move the file "ipython_config.py" into ".../profile_default/", then it works fine. It seems Sage does not recognize "profile_sage". Is it th

[sage-support] Re: Sagecell not loading in webpage

2015-06-03 Thread Kwankyu
On Thursday, June 4, 2015 at 3:20:37 AM UTC+9, Andrey Novoseltsev wrote: > > On Wednesday, 3 June 2015 02:08:54 UTC-6, Kwankyu wrote: >> >> Hi Andrey, >> >> I have been using the sagecell in a class in this semester. But from some >> weeks ago, the server se

[sage-support] Re: Sagecell not loading in webpage

2015-06-03 Thread Kwankyu
is is only happening from here... On the other hand, meanwhile I tried to build my own sagecell server following the simple instructions in the sagecell github homepage. But it fails with the following message in the final step: make: *** No rule to make target `/home/kwankyu/sagecell/sage/ipython/IP

Re: [sage-support] Is Sage help system available in sage-cell?

2014-07-23 Thread Kwankyu
Thanks. sage-cell is great, but lack of ready access to help feels sore... -- 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, send an email to sage-support+unsubscr...@googlegroups

[sage-support] Is Sage help system available in sage-cell?

2014-07-23 Thread Kwankyu
Hi, It seems that no sage help is available in sage-cell. For example ?floor does not work. Is this intended or a missing feature? Kwankyu -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop

[sage-support] Re: A socket problem

2013-11-25 Thread Kwankyu
Fixed. It was really a firewall problem. The university security software recognised the connection as an attack. The IT staff fixed it. Thanks for all attention! -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group

[sage-support] A socket problem

2013-11-17 Thread Kwankyu
Hi all, I am experiencing the following problem -- kwankyu@hades:~$ sage -upgrade Downloading packages from 'http://www.sagemath.org//spkg'. Reading package lists... Traceback (most recent call last): File "/home/kwankyu/sage/sage

[sage-support] Re: Unwrapping Magma in Sage notebook

2013-02-12 Thread Kwankyu
By the way, "SetAutoColumns(true)" does not work unfortunately. -- 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, send an email to sage-support+unsubscr...@googlegroups.com. To pos

[sage-support] Unwrapping Magma in Sage notebook

2013-02-12 Thread Kwankyu
I am using magma in the Sage notebook using the magma mode. All outputs are wrapped around certain column, I think, unnecessarily. How can I set the outputs unwrapped in the output box? Thanks for your attention. -- You received this message because you are subscribed to the Google Groups "sa

[sage-support] Re: Invalid expiration date of Sage's self-signed certificate

2012-11-30 Thread Kwankyu
It is Ubuntu server. Ubuntu 12.04.1 LTS (GNU/Linux 3.2.0-33-generic-pae i686) Kwankyu -- 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 unsubscribe from this g

[sage-support] Re: Invalid expiration date of Sage's self-signed certificate

2012-11-29 Thread Kwankyu
Chrom to accept the self-signed certificate. Kwankyu -- 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 unsubscribe from this group, send email to sage-suppor

[sage-support] Re: Invalid expiration date of Sage's self-signed certificate

2012-11-29 Thread Kwankyu
In the meantime, I investigated this issue a bit more. The root of the problem is the too large value of expiration_days ="1" in ".sage/notebook/cert.cfg", which is automatically generated in the notebook.setup() command. I tried to change the value like 8999. Then the generated certificate

[sage-support] Invalid expiration date of Sage's self-signed certificate

2012-11-29 Thread Kwankyu
Hi all, I noticed there is a problem with the Sage's self-signed certificate for my own server. See the validity date. Why is it 2004? Thanks for an answer in advance. My system is Sage 5.4.1 on Ubuntu Server. X.509 Certificate Information: Version: 3 Serial Number (hex): 1f36ede1 Validity: Not

Re: [sage-support] Comparison of approximate real numbers

2012-06-12 Thread Kwankyu
Thank you all for the solutions! Kwankyu -- 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

[sage-support] Comparison of approximate real numbers

2012-06-11 Thread Kwankyu
Hi all, I am puzzled. sage: 10.44-10.30==0.14 False How should I compare them to get True? Suddenly Sage feels very alien to me. :-) Kwankyu -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr

[sage-support] Re: Lexicographic ordering in Sage

2011-07-01 Thread Kwankyu
Hi, Is this what you want? sage: P.=PolynomialRing(QQ,order='lex') sage: S=[x3*x4,x2*x3,x1*x4,x4,x3,x1*x2,x1,x2,1] sage: S.sort() sage: S [1, x4, x3, x3*x4, x2, x2*x3, x1, x1*x4, x1*x2] -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send em

[sage-support] Re: Do we have multiset?

2011-06-25 Thread Kwankyu
Hi, Dicts do not have methods for multisets. I will wait for Python 2.7 in Sage. Kwankyu -- 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

[sage-support] Do we have multiset?

2011-06-25 Thread Kwankyu
Hi, Do we have multiset in Sage or Python? I learned that Python 2.7 has Counter collection which implements multiset. If not, is there a simple construct to mimic multiset? Kwankyu -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send

[sage-support] Re: Need arbitrary Singular term orders

2011-05-20 Thread Kwankyu
Hi Jeff, There was a bug in the matrix order of Sage. It did not allow negative integers in the string representation of a matrix order. That bug is fixed in the patch for trac #11316, which I just uploaded. Sorry for late reply. Kwankyu -- To post to this group, send email to sage-support

[sage-support] Embedded modules

2011-03-23 Thread Kwankyu
em in Sage? Without this, I am again forced to get back to Magma for my work. Thank you for any answer. Kwankyu -- 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 thi

[sage-support] PyDev with Sage

2010-12-15 Thread Kwankyu
just wanted to share this happy news. ^^ Kwankyu -- 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: Confused about rmul and lmul

2010-12-13 Thread Kwankyu
I wrote a patch according to your suggestion in http://trac.sagemath.org/sage_trac/ticket/10473 Thank you. -- 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

[sage-support] Confused about rmul and lmul

2010-12-10 Thread Kwankyu
Hi, Below is a passage in the Reference manual on the coercion model: If R is the base of S (as in the first example), simply implement _rmul_ and/or _lmul_ on the Elements of S. In this case r * s gets handled as s._rmul_(r) and s * r as s._lmul_(r). The argument to _rmul_ and _lmul_ are guarant

  1   2   >