On Sun, Apr 11, 2010 at 11:57:18PM +0930, ross kyprianou wrote:
> Learned a little about the Categories setup
> Next step is to override the __repr__ method
>
> Is the "B[word: ]" string formed in a __str__ or __repr__ method?
> If so, Im trying to work out where it is (so I can base the new c
On 11 April 2010 10:55, Nicolas M. Thiery wrote:
> On Sat, Apr 10, 2010 at 03:20:42PM +0100, John Cremona wrote:
>> On 9 April 2010 21:42, Nicolas M. Thiery wrote:
>>
>> > You may want to look at:
>> >
>> > sage: A = AlgebrasWithBasis(QQ).example()
>> > sage: A?
>> >
>> > For how to
Hi Nicolas
Learned a little about the Categories setup
Next step is to override the __repr__ method
Is the "B[word: ]" string formed in a __str__ or __repr__ method?
If so, Im trying to work out where it is (so I can base the new code on it)
I ran these...
sage: C = AlgebrasWithBasis(QQ)
sa
Nicolas
C = AlgebrasWithBasis(QQ)
C?
certainly did report back more info!
And the categories seem to be the very classes needed for "abstract matrices"!
Its a bit time-consuming to get on top of this if one is new to
Categories (like me ;-) but the amount of functionality that you
inherit makes
On Sat, Apr 10, 2010 at 03:20:42PM +0100, John Cremona wrote:
> On 9 April 2010 21:42, Nicolas M. Thiery wrote:
>
> > You may want to look at:
> >
> > sage: A = AlgebrasWithBasis(QQ).example()
> > sage: A?
> >
> > For how to easily implement things like free commutative algebras.
>
On 9 April 2010 21:42, Nicolas M. Thiery wrote:
> You may want to look at:
>
> sage: A = AlgebrasWithBasis(QQ).example()
> sage: A?
>
> For how to easily implement things like free commutative algebras.
This intrigued me, so I did exactly the above; and found that I could
not unde
On Thu, Apr 01, 2010 at 04:41:53PM -0700, Ross Kyprianou wrote:
> Id like to write a package that can do "pure"/"abstract" matrix
> expressions such as in the following examples
>
> ...
>
> This isnt a full specification - there are many issues not addressed
> and note we are considering "pure matr
Hi
Id like to write a package that can do "pure"/"abstract" matrix
expressions such as in the following examples
To keep things simple, in the examples below, let
A, B, C... be matrices; k be a scalar
"*" be matrix or scalar multiplication, "^-1" and "^T" and "^n" be
matrix inverse, transpose and