,
Nikos
On Sun, Jan 24, 2021 at 6:14 PM Nils Bruin wrote:
> On Thursday, January 21, 2021 at 7:21:52 AM UTC-8 Nikos Apostolakis wrote:
>
>> Dear Vincent,
>>
>> Thank you very much, that fixes it.
>>
>> IMHO this is a bug though, or at least an inconsistent
hat l has rational type as can be seen with
>
> sage: type(l)
>
>
> And indeed the following one line produces the same errr
>
> sage: Words(11, QQ(4))
>
>
>
> When you divide two integers you obtain a rational number. If you
> want integer type use // instead of /.
&g
Dear list,
I want to construct a class of words and I get this error when I call Words
from a function:
def randgoodword(m):
> if m % 2 == 0:
> print("We haven't implemented the even case yet. Come back later!")
> return None
> l = (m-1)/2 -1
> ws = Words(m,l)
> i
, (3,4), (5,7), (3,5), (2,3), (1,2)]
sage: bar.relabel({foo[i]: i for i in range(6)})
sage: bar.vertices()
[0, 1, 2, 3, 4, 5]
sage: sage0_version()
'SageMath version 8.8, Release Date: 2019-06-26'
I wonder if this is caused by the transition to Python3. Some kind of lazy
evaluation?
Th
I assume that you dragged the sage app into the /Applications directory.
Try the following at the command line:
open /Applications/SageMath-8.6
HTH
Nikos
On Sat, May 4, 2019 at 8:26 AM Nick Karavas <
nick.kara...@mayvilleschools.org> wrote:
> The attached file is what I see when I have my term
Graph(7) creates a graph with vertices {0 ..., 6}
HTH,
Nikos
Sent from my iPhone
> On Apr 7, 2018, at 9:16 AM, Henri Girard wrote:
>
> thanks, I tried david suggestion and it's correct now :
>
> edges = [(1,2), (1,3), (1,4),
> (2,3), (2,4), (2,5), (2, 6),
> (3,4), (3,5), (3,6), (3,7)
Dear Group,
I'm using libgap with sage, and it seems that every time that I want to do
an intensive calculation using libgap the kernel dies. This is probably
related to the GAP_MEM option passed to gap, is there a way to set that to,
say, 4g?
Thanks a lot,
Nikos
--
You received this messag
Ok, so I finally got around to it.
As William suggested, this occurred because I didn't have graphviz and
dot2tex install in my local box. I installed them and now everything works
fine.
Thanks for your help,
Nikos
On Saturday, July 8, 2017 at 4:49:00 PM UTC-4, Nikos Apostolakis
On Saturday, July 8, 2017 at 4:13:49 PM UTC-4, William wrote:
>
>
> On Sat, Jul 8, 2017 at 12:16 PM Nikos Apostolakis > wrote:
>
>> Sorry for replying to my own post, but I realized that my post is
>> ambiguous. I meant that the problem persists even after I installe
are always laid from left to right according to their order as
integers.
Nikos
On Saturday, July 8, 2017 at 8:04:57 AM UTC-4, Nikos Apostolakis wrote:
>
> On Friday, July 7, 2017 at 12:57:08 PM UTC-4, Nikos Apostolakis wrote:
>>
>>
>> On Friday, July 7, 2017 at 10:41:18
On Friday, July 7, 2017 at 12:57:08 PM UTC-4, Nikos Apostolakis wrote:
>
>
> On Friday, July 7, 2017 at 10:41:18 AM UTC-4, William wrote:
>>
>>
>> On Fri, Jul 7, 2017 at 4:33 AM Nikos Apostolakis
>> wrote:
>>
>>> Dear group,
>>>
>&
On Friday, July 7, 2017 at 10:41:18 AM UTC-4, William wrote:
>
>
> On Fri, Jul 7, 2017 at 4:33 AM Nikos Apostolakis > wrote:
>
>> Dear group,
>>
>> The following:
>>
>>sage: foo = DiGraph([(1,4), (1,5), (2,4), (3,5)])
>>sage: foo.show(
Dear group,
The following:
sage: foo = DiGraph([(1,4), (1,5), (2,4), (3,5)])
sage: foo.show(layout = 'acyclic')
produces different output in CoCalc and in my local copy of Sage (7.2) and
, see the attached images. The difference is much more pronounced in other
examples.
Can I get my loc
Hi Nathan,
thanks for fixing this. For the next two weeks or so I expect to be very
busy. I can do some reading and try to figure out how the process works,
but I'm not sure how much time I'll have to spare. Realistically I may
have some time in mid February.
Nikos
On Wed, Jan 21, 2015 at 2:2
On Wednesday, January 21, 2015 at 8:11:23 AM UTC-5, Nathann Cohen wrote:
>
> Hello,
>
> I'm looking at embeddings of complete gaphs and I think I've found a bug:
>> I defined the complete graph k12 as a (sort of) Cayley graph of the group
>> Z₂²× Z₃ as follows:
>>
>
> First, it seems that the P
Hello group,
I'm looking at embeddings of complete gaphs and I think I've found a bug: I
defined the complete graph k12 as a (sort of) Cayley graph of the group
Z₂²× Z₃ as follows:
g12 = AbelianGroup(3, [2, 2, 3], names='ABC')
[A, B, C] = g12.gens()
k12 = Graph()
for x in g12:
for y in [A, B, A*
On 7/22/14, Nikos Apostolakis wrote:
> Hi,
>
> it seems that there is something in my .emacs that causes this behavior.
> After starting emacs with —no-iniit-file option and then evaluating only the
> sage-related parts of .emacs the problem goes away. I will investigate
> f
Jul 22, 2014, at 10:17 AM, Ivan Andrus wrote:
> Hmm. I still can't reproduce this. Can you try upgrading sage_mode to
> version 0.11?
>
> -Ivan
>
> On Jul 19, 2014, at 1:29 AM, Nikos Apostolakis wrote:
>
>>
>> On Thursday, July 10, 2014 7:07:05 PM
On Thursday, July 10, 2014 7:07:05 PM UTC-4, Ivan Andrus wrote:
>
> On Jun 28, 2014, at 9:49 AM, Nikos Apostolakis > wrote:
>
> > Hello,
> >
> > I'm using sage_mode on emacs on mac mavericks and I can't send code to
> sage to be evaluated from
Hello,
I'm using sage_mode on emacs on mac mavericks and I can't send code to sage
to be evaluated from a buffer in sage mode. If I do C-c C-e for example
emacs complains: "Text is read only".
I've installed sage from the pre-build binary and sage_mode by "sage -i
sage_mode".
Thanks for any
William Stein writes:
[...]
>
> Thanks this does what I need in terms of "locked" text. It seems that
> there is no way to lock the cells though, right? I think such a feature
> would be useful.
>
> Yes you can. You can just define code and %hideall it too.
>
> %hideall
> def
William Stein writes:
> On Mon, Oct 18, 2010 at 2:57 AM, Dr. David Kirkby
> wrote:
>
> On 10/18/10 07:31 AM, Nikos Apostolakis wrote:
>
> Dear group,
>
> we are creating some worksheets to be used in teaching precalculus,
> and
xt and inadvertently
delete or corrupt the text while they work through the worksheet. Also
is it possible to have some cells "locked?" that is the code should not
be easily editable, but stil able to be evaluated?
I've been told that Mathematica has a similar feature for its workshee
Hello,
when displaying a long list on the command line, sage displays one
item per line, and often this is not very convenient for quick
inspection. Is there a way to change this behaviour, so that as many
elements as possible are displayed per line?
TIA,
Nikos
--
To post to this group, send e
Jaap Spies writes:
>
> Download the patch ( be sure it is the original!) to $SAGEROOT
> start ./sage
> and do
> sage: hg_sage.patch('trac_5017-graph_aut_gp_trans.patch')
> cntrl-d
> and do a ./sage -br
>
Thanks a lot. I did as you said and now the problem is solved.
Also, thanks a lot to Robert
Jaap Spies writes:
> Nikos Apostolakis wrote:
>>
>> It seems that when the vertices are labelled 0,..., n-1 then the
>> translation is simply 0 <-> n, and the rest is fixed. At least
>> this is the case with all examples I've seen. Can I assume
Jaap Spies writes:
> Nikos Apostolakis wrote:
>> The "translation=True" flag does not work after upgrading to sage 3.2.3
>> I am not sure when this behaviour was introduced. In version 2.10.2 it
>> works fine, unfortunately I don't have a more recent o
The "translation=True" flag does not work after upgrading to sage 3.2.3
I am not sure when this behaviour was introduced. In version 2.10.2 it
works fine, unfortunately I don't have a more recent old sage to check.
sage: foo = Graph()
sage: foo.add_edges([(0,1,1),(1,2,2), (2,3,3)])
sage: f
Nikos Apostolakis writes:
> Robert Miller writes:
[...]
>> The edge_labels option should return True if and only if there is a
>> label-preserving isomorphism, as it does in your example in Sage
>> 3.2.2:
[...]
>
> Great! I'll upgrade and hopefully everyt
Robert Miller writes:
>> BTW, shouldn't the generator of the automorphism group be presented
>> as "(0,2)(1,3)"?
>
> Good luck ever convincing the right systems that this should happen:
> GAP's permutation groups don't allow you to permute on the letter 0.
> See the translation option of automor
Nathan Carter writes:
>>
>> sage: foo.edges()
>> [(0, 1, 2), (0, 2, 1), (2, 3, 3)]
>> sage: bar.edges()
>> [(0, 1, 1), (0, 2, 2), (2, 3, 3)]
>> sage: bar.is_isomorphic(foo, edge_labels = True)
>> True
>
> I think there is a label-preserving isomorphism here, isn't there?
>
> 0->0 1->2 2-
Hello,
After reading the doc string of "is_isomorphic" I thought that for two
edge-labelled graphs g,h, g.is_isomorphic(h, edge_labels=True) would be
true exactly when there is a label preserving isomorphism between the two
graphs. However:
sage: foo.edges()
[(0, 1, 2), (0, 2, 1), (2, 3, 3)
Hello group,
I have a few questions about combinatorics in sage.
Can one do the following in sage?
1) List of all possible labelings of the vertices or the edges of a
graph up to isomorphism? Is there a builtin for that kind of
enumeration?
2) Assume that I have a group acting on a set o
Robert Miller <[EMAIL PROTECTED]> writes:
> sage: G = graphs.PetersenGraph()
> sage: sage.graphs.graph_fast.spring_layout_fast(G, iterations=50,
> dim=2)
[...]
> sage: sage.graphs.graph_fast.spring_layout_fast(G, iterations=50,
> dim=3)
>
That's exactly what I was looking for. This is great!
Jason Grout <[EMAIL PROTECTED]> writes:
> Nikos Apostolakis wrote:
>> Hello,
>>
>> is there a way to get the the coordinates of the points where the
>> vertices of a graph would be placed if drawn via plot2d or plot3d?
>
>
> If the layout is already
Hello,
is there a way to get the the coordinates of the points where the
vertices of a graph would be placed if drawn via plot2d or plot3d?
Nikos
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this gr
Hi, sorry for the late reply -- it's final's week.
"William Stein" <[EMAIL PROTECTED]> writes:
> On Sat, May 17, 2008 at 2:26 PM, Nikos Apostolakis <[EMAIL PROTECTED]> wrote:
>>
>> And a more general question. I generated this graph as follows:
Nikos Apostolakis <[EMAIL PROTECTED]> writes:
> Hello,
>
> I have a directed graph with edges labeled using two different labels.
> Is it possible to draw this graph (2D or 3D) using two different colors
> to signify the different labels, eg red for one label and green for
Hello,
I have a directed graph with edges labeled using two different labels.
Is it possible to draw this graph (2D or 3D) using two different colors
to signify the different labels, eg red for one label and green for the
other? I seem to remember seeing such an exmple somewhere but I wasn't
a
On Mon, May 05, 2008 at 06:55:19AM -0400, thus spake David Joyner:
> >From the command line (when jmol pops up in a separate window), you can
> >choose
> file -> export -> jpg. I assume you were using the notebook version of sage.
>
Yes that works, thank you (and yes I was using the notebook).
Hi,
is it possible to export the plots created by plot3d and
parametric_plot3d to (say) postcript or png or whatever?
Nikos
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to [
In the html tutorial, section 3.10, a couple of times "sage_notebook"
is typset in "math mode", so that "n" appearars as a subscript to "e".
Nikos
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this gr
"William Stein" <[EMAIL PROTECTED]> writes:
> 2008/4/5 Nikos Apostolakis <[EMAIL PROTECTED]>:
[...]
>>
>> I don't know if the following make sense but is it possible to
>> have some kind of global .sage directory for cases like this?
>>
mabshoff <[EMAIL PROTECTED]> writes:
> On Apr 5, 7:20 am, Nikos Apostolakis <[EMAIL PROTECTED]> wrote:
>> Hi,
>>
>> I am trying to use sage in a cgi script and every time I try to
>> import the sage libraries I keep getting the following error
>>
>
Hi,
I am trying to use sage in a cgi script and every time I try to
import the sage libraries I keep getting the following error
8<
Traceback (most recent call last):
File "/usr/local/include/sage-2.10.2/local/bin/sage-eval", line 4,
in
from sage.all import *
File
Carl Witty <[EMAIL PROTECTED]> writes:
> You can see the exact true value of a floating-point number with
> foo.exact_rational().
>
> For printing, the code determines a number of digits which is
> (deliberately) slightly too low to represent floating-point numbers of
> that precision; then it rou
Carl Witty <[EMAIL PROTECTED]> writes:
> On Mar 6, 2:48 pm, Nikos Apostolakis <[EMAIL PROTECTED]> wrote:
>> > I can confirm this. I think numbers are rounded up when they are
>> > printed, which leads to confusion:
>> > {{{
>> > sage: num = Real
"didier deshommes" <[EMAIL PROTECTED]> writes:
> On Thu, Mar 6, 2008 at 5:48 PM, Nikos Apostolakis <[EMAIL PROTECTED]> wrote:
>>
>> Anyway to get what I expected to get I can do something like
>>
>> sage: Integer(sage_eval(str(num))*100)
>>
"didier deshommes" <[EMAIL PROTECTED]> writes:
> On Thu, Mar 6, 2008 at 4:22 PM, Nikos Apostolakis <[EMAIL PROTECTED]> wrote:
>>
>> Hello group,
>>
>> Is the following behavior a bug, or am I missing some fundamental
>> understandin
Hello group,
Is the following behavior a bug, or am I missing some fundamental
understanding about how Integer works?
,
| sage: num = RealField(12).random_element(1,9.99)
| sage: num
| 3.18
| sage: num*100
| 318.
| sage: Integer(_)
| -
Hello group,
even though
sage: (-8)^(1/3)
-2
when I try to plot x^(1/3) I get:
sage: plot(x^(1/3), -27, 27).show()
WARNING: When plotting, failed to evaluate function at 100 points.
Last error message: 'negative number cannot be raised to a
fractional power'
and the plot shown has only for
Nikos Apostolakis <[EMAIL PROTECTED]> writes:
> "William Stein" <[EMAIL PROTECTED]> writes:
>>
>> If it is possible to reorder terms like you want using Maxima,
>> then it would be a trivial 2-liner to add this functionality to
>> Sage too. If a
"William Stein" <[EMAIL PROTECTED]> writes:
>
> If it is possible to reorder terms like you want using Maxima,
> then it would be a trivial 2-liner to add this functionality to
> Sage too. If anybody knows how to re-arrange terms in
> Maxima, please post a response.
>
One way to do it in Maxima
Hello group,
this semester I am trying SAGE in my calculus class so I need an
efficient way to create sage worksheets to distribute to my
students. At the moment I use emacs in html mode together with
cdlatex[0] to edit the math bits and python mode in a seperate
buffer to edit the code pieces,
Hello group,
Is it possible to have the variables that appear in "for" loops and
other such constructs to be "dummy" in the mathematical sence
(probably the cs term is "local")? The current behavior, in which
after the loop is completed the loop variable is _still_ set to the
last value it assum
"William Stein" <[EMAIL PROTECTED]> writes:
> On 9/1/07, Nikos Apostolakis <[EMAIL PROTECTED]> wrote:
>> However:
>>
>> In [3]: maxima.eval('tlimswitch:true')
>> Out[3]: 'true'
>>
>> In [35]: limit( sqrt(x^2+x+1)+x
"William Stein" <[EMAIL PROTECTED]> writes:
>
> The interactive nature of Maxima for computing limits, etc., is
> a design flaw from the point of view of using Maxima from any
> external program (this comes up regularly on the Maxima mailing list).
> I encourage you to post a bug report to the max
"William Stein" <[EMAIL PROTECTED]> writes:
> On 9/1/07, Nikos Apostolakis <[EMAIL PROTECTED]> wrote:
>>
>> Hello group,
>>
>> how can we pass global variables to the maxima process that sage is
>> using? For example in maxima I can do
Nikos Apostolakis <[EMAIL PROTECTED]> writes:
> Hello group,
>
> am I doing something wrong or is the following a bug?
>
> In [99]: limit(sqrt(x^2 + x +1) + x, x = -oo)
> In [101]: limit(sqrt(x^2 + x +1) + x, x = -oo)
[...]
It seems that by cutting and pasting I mangle
Hello group,
how can we pass global variables to the maxima process that sage is
using? For example in maxima I can do the following
(%i25) tlimswitch : true;
(%o25) true
(%i26) limit(sqrt(x^2 + x +1) + x, x, minf);
1
(%o26)
Hello group,
am I doing something wrong or is the following a bug?
In [99]: limit(sqrt(x^2 + x +1) + x, x = -oo)
In [101]: limit(sqrt(x^2 + x +1) + x, x = -oo)
---
Traceback (most recent call last)
/home/nea/ i
"David Joyner" <[EMAIL PROTECTED]> writes:
> On 6/19/07, Nikos Apostolakis <[EMAIL PROTECTED]> wrote:
>>
>> "David Joyner" <[EMAIL PROTECTED]> writes:
>>
>> > Chevie is a GAP3 package, not GAP4. (Yes it matt
"David Joyner" <[EMAIL PROTECTED]> writes:
> Chevie is a GAP3 package, not GAP4. (Yes it matters.) To using
> Chevie in SAGE I think you must do the following:
[...]
> *or*
> (4) translate all of Chevie from GAP3 to GAP4.
>
> Unfortunately, both options are non-trivial.
How hard is this option
"Justin C. Walker" <[EMAIL PROTECTED]> writes:
> Hi, all,
>
> I normally shy away from the notebook (being mouse-averse), but while
> fiddling with the new Sage.app (which is a nice addition, BTW), I
> noticed that when I reach the bottom of the visible page, and scroll
> down to make the n
Hi,
several of the components of sage have the notion of "true" truth
value. I think all these values should be equal. At the moment
seems that truth according to sage/python is equal to truth
according to gap but not according to maxima. However truth
according to maxima equals truth accordin
Hi, even though safari is listed as supported the sage notebook
doesn't really work properly with it. The arrow keys do not work
-- hittin up (or down) at the top (or bottom) of a cell does not
take the cursor to the previous (next) cell. Also sometimes it is
impossible for a cell to get the fo
pt would create a sage cell with "answer1(-3)" in it.
2) Are there any plans to implement a "locking" function that would
not allow editing of a notebook?
Any further comments are most welcome.
TIA,
Nikos Apostolakis
--~--~-~--~~~---~--~~
Hi,
sage: diff = maxima.diff
sage: diff(x^2 - 3*x +5, x)
2*x - 3
sage: diff(cos(x),x)
-sin(x)
sage: diff(sin(x),x)
cos(x)
So far so good. But now:
sage: diff(tan(x),x)
---
Traceba
"Timothy Clemans" <[EMAIL PROTECTED]> writes:
> For SAGE you would want to implement the management software, but you
> would want to include the tests that you would use since test
> information needs to be kept secret.
>
This still seems a bit cryptic. Do you mean that the answers have
to be
"Timothy Clemans" <[EMAIL PROTECTED]> writes:
>
> You could create input boxes in a worksheet and use AJAX to send SAGE
> code to the server and what not. You could use cookies to keep track
> of when a student logged onto the worksheet. So all of the timing
> stuff is already available.
I know
David Joyner <[EMAIL PROTECTED]> writes:
[...]
>
> One idea worth considering is to try to run such a TA entirely through
> the SAGE notebook. Depending on how you plan to design the TA, this
> might require timed pages (they get locked after a certain time.
> I don't think this is supported curre
"Joel B. Mohler" <[EMAIL PROTECTED]> writes:
> On Monday 26 March 2007 07:44, Nikos Apostolakis wrote:
>> Hello group,
>>
>> has anybody tried to implement something like "Maple TA" in sage?
>> For example I would like to have students take
"David Joyner" <[EMAIL PROTECTED]> writes:
> By strange coincidence, I am familiar with SAGE, MAPLE TA, and
> math validation and placement (I'm one of only two at my school
> who gets some summer pay for doing this)!
>
Great, then I know where to ask questions if I ever start working on
this!
any course that requires mathematics.
`
BTW is this the right group for this kind of questions?
Thanks,
Nikos Apostolakis
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PR
"William Stein" <[EMAIL PROTECTED]> writes:
> On 3/21/07, Nikos Apostolakis <[EMAIL PROTECTED]> wrote:
>>
>> Following the instructions on the reference manual I tried to set up
>> world-accessible notebook and I got the following mistake:
>>
>
Following the instructions on the reference manual I tried to set up
world-accessible notebook and I got the following mistake:
sage: server_http1('test', address='my.web.address')
Creating directory "/home/nea/test"
---
"William Stein" <[EMAIL PROTECTED]> writes:
>
> If you have more trouble, I suggest rebuilding sage-2.3 from scratch,
> which takes your computer a while, but only takes you 2 minutes of work.
>
This is what I ended up doing, and now I have a working sage-2.3. Than
Martin Albrecht <[EMAIL PROTECTED]> writes:
> On Thursday 15 March 2007 04:58, Nikos Apostolakis wrote:
>> I tried "sage -upgrade" and I got the following error:
> [snip]
>> It seems that libtool looks for "libgmp.la" in the wrong place. The
>&g
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/sage-support
URLs: http://sage.math.washin
I tried "sage -upgrade" and I got the following error:
-- Beigin log ---
make[4]: Entering directory
`/mnt/hda1/usr/local/include/sage-2.1.4/spkg/build/linbox-20070228/linbox/linbox/util'
/bin/sh ../../libtool --mode=link g++
-I/usr/local/include/sage-2.1.4/local/include
-I/usr/lo
ht. Installing the "xorg-dev" package got me past that
error. For futrure reference, I also had to install the "gettext"
package to get past an other error message (apparently building
axiom requires "msgfmt").
Thanks,
Nikos
> On 2/19/07, Nikos Apostolakis <[EMA
81 matches
Mail list logo