On Fri, Sep 16, 2016 at 10:55 PM, Volker Braun wrote:
> For tab completion and so on we want a list of "useful" GAP functions,
> excluding internal functions that are not meant for end users.
> Unfortunately, there isn't really a good way to get that from GAP. The best
> approach seems to be to lo
For tab completion and so on we want a list of "useful" GAP functions,
excluding internal functions that are not meant for end users.
Unfortunately, there isn't really a good way to get that from GAP. The best
approach seems to be to look for the actually documented functions.
Downside is that
A perhaps easier workaround would be to delete SAGE_LOCAL/bin/git and rely
on the system git.
On Tuesday, May 20, 2014 8:22:13 PM UTC+1, Simon King wrote:
>
> Hi!
>
> On 2014-05-20, Jan Keitel > wrote:
> > git: 'am' is not a git command. See 'git --help'.
> > Did you mean one of these?
> >
Thank you Simon - that did the trick. :-)
Am Dienstag, 20. Mai 2014 21:22:13 UTC+2 schrieb Simon King:
>
> Hi!
>
> On 2014-05-20, Jan Keitel > wrote:
> > git: 'am' is not a git command. See 'git --help'.
> > Did you mean one of these?
> > br
> > ci
> > co
> > lg
> > st
> > stat
>
>
Hi!
On 2014-05-20, Jan Keitel wrote:
> git: 'am' is not a git command. See 'git --help'.
> Did you mean one of these?
> br
> ci
> co
> lg
> st
> stat
Recently I had a similar problem, namely Sage's git (i.e. git in a Sage
shell) claiming that "pull" is not a git command. The solutio
On Monday, July 22, 2013 6:58:11 AM UTC-7, Volker Braun wrote:
>
> On Sunday, July 21, 2013 8:35:24 PM UTC-4, davidp wrote:
> > At the moment, I just have Hyperplane as a class deriving from
> AffineSpace (my version of AffineSpace, that is, which I will change, as
> > noted above), and Hyperpla
If the class is just used internally to keep track of intersections of
hyperplanes then it doesn't really matter what it is called since it will
not be in the global namespace. In fact, you probably only need
HyperplaneArrangement constructor and the hyperplane_arrangements factory
in the globa
On Sunday, July 21, 2013 8:35:24 PM UTC-4, davidp wrote:
> At the moment, I just have Hyperplane as a class deriving from
AffineSpace (my version of AffineSpace, that is, which I will change, as
> noted above), and HyperplaneArrangement deriving from object. Can you
spell out your idea a bit mor
Some things i would like to have:
Orlik-Solomon Algebras
Module of logarithmic derivations (and specially, a way to check if it is
free). Or at least, its Betti numbers.
Maybe arrangements in projective spaces?
For the case of line arrangements, wiring diagrams, and fundamental group.
--
You
There is already an affine space class (as affine scheme). Whats wrong with
using that as ambient space?
sage: AffineSpace(2,QQ)
Affine Space of dimension 2 over Rational Field
Whats your plan with parent/element relations? It seems Hyperplane should
be an element with HyperplaneArrangement the
On Sunday, July 21, 2013 5:14:21 PM UTC-7, Volker Braun wrote:
>
> There is already an affine space class (as affine scheme). Whats wrong
> with using that as ambient space?
>
> Thanks for pointing that out. I had chosen AffSpace for the name of the
class I need initially because the name Affi
Figured out my problem. I was defining a method for my
HyperplaneArrangement class but forgot to include 'self' as an argument.
Duh.
Dave
On Sunday, July 21, 2013 12:58:24 PM UTC-7, davidp wrote:
>
> I am working on a Sage package for hyperplane arrangements. In my file
> hyperplane_arrang
I have created three classes: AffineSpace, Hyperplane (inheriting from
AffineSpace), and HyperplaneArrangement. The methods in
HyperplaneArrangement that I have defined so far are (where 'a', below, is
a hyperplane arrangement):
a.ambient_space a.num_bounded_regions
a.base_fie
"center" is not a function but a method of Polyhedron_base. I suggest you
read up on object-oriented programming and Python if that that doesn't
answer your question.
I'm definitely interested in hyperplane arrangements, though. Do you have a
particular data structure in mind or is your plan to
Hi Simon and Thierry,
Thanks for your comments. Yes, I thought that the ticket would need
some more work and I guess the incentive is not so high as long as
there are quite comfortable ways to do these things by hand as pointed
out by Thierry. I just thought that this might be a good one for a
stu
Hi Stan,
On 2 Nov., 11:02, Stan Schymanski wrote:
> While looking for a way to import a matlab file into sage, I stumbled
> over scipy.io.loadmat and found a ticket where this is implemented
> into sage along with some other useful input/output
> routines:http://trac.sagemath.org/sage_trac/ticke
Thanks I figured I would have to do that, but it's too complicated in
this case. I'll just merge with the units module.
On Jul 21, 5:52 pm, David Roe wrote:
> One solution to circular imports is to do one of the imports inside a
> function, rather than at the top level.
> David
>
>
>
>
>
>
>
> On
One solution to circular imports is to do one of the imports inside a
function, rather than at the top level.
David
On Thu, Jul 21, 2011 at 17:36, Eviatar wrote:
> I can't see how to solve this.
>
> I import units, which import sage_eval, which imports symbolic, which
> imports physical_constant
I can't see how to solve this.
I import units, which import sage_eval, which imports symbolic, which
imports physical_constants; thus the circular import. How can this be
solved? The only way I can see is to merge the units and
physical_constants files, but they don't exactly go together.
On Jul
Oh, thanks, that helps. I guess I'll have to restructure the code.
On Jul 21, 2:06 am, Burcin Erocal wrote:
> Hi,
>
> On Thu, 21 Jul 2011 00:42:38 -0700 (PDT)
>
>
>
>
>
>
>
>
>
> Eviatar wrote:
> > I am working on a physical constants module, but for whatever reason I
> > can't get it to correct
On Sun, Feb 13, 2011 at 7:11 AM, Nathann Cohen wrote:
>> What about the cython() function?
The next version of Sage will get Cython's new inline function, so you
can do stuff like
{{{
a = math.pi
cython.inline("""
cdef extern from "math.h":
double sin(double)
print sin(a)
""")
}}}
Of course
> What about the cython() function?
Isn't it only useful to import Cython code? I would like to import a
.c file the same way :-)
Nathann
--
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to
sage-devel+unsubscr...@googlegroups.
On Sunday, February 13, 2011 9:27:29 AM UTC, Nathann Cohen wrote:
>
> I was wondering whether we already had (of if it would be interesting to
> define) some nice alias to use Cython through Sage. I was wishing for a
> one-liner to import a method defined in a .c file or in a library..
>
What ab
Hello folks,
to optimize startup time we did move numpy imports "down" into
individual Cython files. Unfortunately every time we do so we end up
leaking anywhere from 700 to 900 bytes or so. Since that import can be
in frequently visited operations I would strongly suggest we limit
ourselves to o
Sounds good. However, I don't think that modifying sage-env, as the
trac ticket suggests, will fix things for the issue I'm discussing
here. I changed the appropriate line of sage-env to
PYTHONPATH="$SAGE_PATH:$SAGE_ROOT/local/lib/python:$SAGE_PYTHONPATH"
&& export PYTHONPATH
which works, mean
On Aug 30, 8:51 pm, David Ketcheson <[EMAIL PROTECTED]> wrote:
> Apparently the problem here (what I should have thought of first) is
> that the directory containing foo.py is not in my sage python path.
> The surprising (to me) part, and the reason I didn't think of it, is
> that this breaks th
Apparently the problem here (what I should have thought of first) is
that the directory containing foo.py is not in my sage python path.
The surprising (to me) part, and the reason I didn't think of it, is
that this breaks things even if the file I'm testing is foo.py and I
try 'from foo import *
Sorry for not being clear. myfoo.py is the file with the docstring
examples I want to test. foo.py is the file with the modules I need
to import.
Let me add that sometimes they're the same file, and it doesn't work
in that case either.
On Aug 30, 8:08 pm, Robert Bradshaw <[EMAIL PROTECTED]>
wr
On Aug 30, 2008, at 3:33 PM, David Ketcheson wrote:
>
> I'm developing a package and trying to use sage -t to automatically
> test examples I've put in the docstrings. On the documentation page
> at http://www.sagemath.org/doc/prog/node29.html it says I can do
> something like
>
> """
> EXAM
29 matches
Mail list logo