maybe Y[k] is possible if you create a subclass of matrix and overload
the [] operator.
but you have to think about Y[1] returns the first row of the matrix so
it would be inconsistent.

greatz
Am 25.07.2010 10:52, schrieb drenwal:
> Hello,
>
> I would like to define an action, let us say:
>
> def Ac(Y,k):
>     return k.transpose()*Y*k
>
> where Y and k are square matrices of the same size.
>
> But, I would prefer to use a more mathematical notation, like Y[k] or
> y...@k or whatever non already used symbol instead of Ac(y,k).
>
> How is it possible to do that?
>
> Best regards.
>
> Drenwal
>
>   

-- 
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

Reply via email to