scalar in QQ times matrix over ZZ

8 views
Skip to first unread message

René Birkner

unread,
Nov 23, 2009, 6:00:11 AM11/23/09
to Macaulay2
Since we now can join matrices over ZZ and QQ (thanks Dan), wouldn't
it be nice to multiply a number in QQ with a matrix over ZZ, which
returns a matrix over ZZ? So far he "can't promote scalar to ring of
matrix".

Daniel R. Grayson

unread,
Nov 23, 2009, 11:00:58 AM11/23/09
to maca...@googlegroups.com
It might be nice for it to return a matrix over QQ (not over ZZ). But
even then, I would hesitate to do this, as a lot of unintended
computation might be incurred in the general case: imagine the matrix
is a map f : M <---- N of R-modules, and the scalar is an element b of
a R-algebra S. What does b*f mean in this case? Probably it should
be a map M**S <--- N**S. If M and N are not free, then computing the
tensor products M**S and N**S could take a lot of time (involving
Groebner basis computations). I suppose we could signal an error if M
and N are not free, hmm. I welcome further discussion.
> --
>
> You received this message because you are subscribed to the Google
> Groups "Macaulay2" group.
> To post to this group, send email to maca...@googlegroups.com.
> To unsubscribe from this group, send email to macaulay2+...@googlegroups.com
> .
> For more options, visit this group at http://groups.google.com/group/macaulay2?hl=
> .
>
>

René Birkner

unread,
Nov 23, 2009, 4:58:24 PM11/23/09
to Macaulay2
hmm, you're right I was in my own world (which at that point of time
consisted only of ZZ and QQ...). It should be consistent. But I think
for free modules it should be ok. I would would also like to here more
opinions...
Reply all
Reply to author
Forward
0 new messages