On Thu, Oct 27, 2016 at 11:25 AM, kcrisman <kcris...@gmail.com> wrote:
>
>
> On Thursday, October 27, 2016 at 2:11:58 PM UTC-4, John H Palmieri wrote:
>>
>> (1) Why should a nonsquare matrix even have an "is_similar" method? Can we
>> get rid of that? (Same for "determinant" and some other methods.)
>
>
> Those are not even the most annoying methods like this throughout Sage that
> are not actually implemented but nonetheless appear in tab-completion,
> thanks for the reminder - not sure how to fix it without putting in a bunch
> of super-classes that don't have them.

We could change how tab completion works to have a hook/way to exclude
a list of methods.  That's a simple backward compatible fix that does
not require any new classes, and can be iteratively applied with 0
change in efficiency.

>
>>
>>
>> (2) What is the definition of similar?
>>
>>   (a) Two matrices M and N, both square of the same size, are similar iff
>> there is an invertible matrix P so that M = PNP^{-1}.
>>
>> or
>>
>>   (b) Two matrices M and N are similar iff there is an invertible matrix P
>> so that ...
>
>
> I get that argument, but also like that we have an error for 1 / 0 == 3 as
> pointed out on that ticket.  Then again, we not only don't raise an error
> here, we actually have (again from the ticket)
>
> sage: identity_matrix(10) == 1
> True
>
> I land - slightly - on the BB side.
>
> --
> 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 sage-devel+unsubscr...@googlegroups.com.
> To post to this group, send email to sage-devel@googlegroups.com.
> Visit this group at https://groups.google.com/group/sage-devel.
> For more options, visit https://groups.google.com/d/optout.



-- 
William (http://wstein.org)

-- 
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 sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to