I also tried with the example in the document but I got different result.
sage: for i in range(7):
: print(len(list(graphs(i
:
1
0
0
0
0
0
0
In the
document:
http://doc.sagemath.org/html/en/reference/graphs/sage/graphs/graph_generators.html
sage: for i in range(7)::
Just compiled sage from source code on Linux.
When I launched ./sage, I can do simple math like 2+2 which give correct
But when I type:
sage: import sage.graphs
sage: print("%d" % len(list(graphs.nauty_geng("8"
sage: print("%d" % len(list(graphs(8
I got 0 for both which are not as
On Wednesday, March 13, 2019 at 10:32:19 AM UTC+10, Kwankyu Lee wrote:
>
> The _test_category issue is something that shows up with every map (and I
>> think homset). This is because the parent (i.e., the homset) does not
>> (usually) have a single Element class, but the _test_category is
>
> The _test_category issue is something that shows up with every map (and I
> think homset). This is because the parent (i.e., the homset) does not
> (usually) have a single Element class, but the _test_category is checking
> that the map is a subclass of the element_class that is
Hi Kwankyu,
The _test_category issue is something that shows up with every map (and
I think homset). This is because the parent (i.e., the homset) does not
(usually) have a single Element class, but the _test_category is checking
that the map is a subclass of the element_class that is
I've opened
https://trac.sagemath.org/ticket/27475
to deal with this issue.
--
You received this message because you are subscribed to the Google Groups
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to
Unfortunately, this is not a good idea.
We are working hard on making Sagemath compatible with Python 3.
With Python 3 you cannot sort objects of different types. For instance
sorted([1, 'a']) will raise an error.
Currently, in the graph module, vertices can be any hashable objects, so we
try
Thanks for the fix! I have a suggestion, though:
You changed "nodes" to go over the vertices in the order determined by the
hashmap.
I'd suggest to change "v_to_id" to go over the sorted vertices instead,
i.e. something on the line of:
V = G.vertices(sort=True)
v_to_id = {v: i for i, v in
My bash version:
GNU bash, version 4.3.0(1)-release (x86_64-unknown-linux-gnu)
The reason I want to install from source as to use on my linux box
I am not sure what you meant by "a clean docker container".
Anyway, I have managed to overcome some problems after last mail. Still
working on it...
On Tue, Mar 12, 2019 at 4:41 PM wrote:
>
> I have been trying to git trac config but I keep getting this error
> I am using macOS Mojave
> please help
> I had followed all the instructions on Collaborative Development with
> Git-Trac page
>
>
>
> Saved trac username.
>
> Saved trac password.
>
I have been trying to git trac config but I keep getting this error
I am using macOS Mojave
please help
I had followed all the instructions on Collaborative Development with
Git-Trac page
Saved trac username.
Saved trac password.
Trac xmlrpc URL:
https://trac.sagemath.org/xmlrpc
Hi,
I thought the idiom to define a map is:
from sage.categories.map import Map
from sage.categories.homset import Hom
from sage.categories.fields import Fields
class Derivation(Map):
def __init__(self, field):
Map.__init__(self, Hom(field, field, Fields()))
But then the last two
On Mon, Mar 11, 2019 at 10:53 PM Ai Bo wrote:
>
> yes, switching to bash can pass this error.
>
> However, now error:
> ERROR: BLAS not found!
> [fflas_ffpack-2.3.2]
> [fflas_ffpack-2.3.2] BLAS routines are required for this library to compile.
> Please
> [fflas_ffpack-2.3.2] make sure BLAS
Given a (di)graph, you can easily assign random edge weights using for
instance `G.set_edge_lable(u, v, randint(1, 100))`.
Le lundi 11 mars 2019 17:53:05 UTC+1, hy...@iitbbs.ac.in a écrit :
>
> Is there a way to generate Random directed weighted Graph, I have read
> the module for Random Graph
On Tue, Mar 12, 2019 at 3:23 AM Ai Bo wrote:
>
> I didn't *want* to use my own BLAS. Without downloading BLAS directory, it is
> complaining missing BLAS.
This means that there was an error building openblas Sage package.
Have a look in logs/pkgs/openblas.log
Do you see an error there?
> Does
15 matches
Mail list logo