Bug SS-75
2 votes

Booleans: documented bugs

Created by Davide on 3/26/2014 3:04 AM Last Updated by Davide on 9/8/2016 1:53 PM
%
 (hrs)
Logged: 0   (hrs)

 Description

Documented bugs of booleans (in the attachment)

- numbers vs infinity

- row vectors

- matrices vs < and >

    Davide (Thursday, September 8, 2016 1:53 PM) #

Not listed in the attachment:

scalar≠mat(scalar,1,1) returns 0

scalar≡mat(scalar,1,1) returns 1

 

 

    Martin Kraska (Wednesday, March 26, 2014 4:44 AM) #

For relational operators involving non-scalar arguments, I would propose the following conventions:

Matrix op scalar -> Matrix with element op scalar for each element. This would be consistent to matrix plus or times a scalar.

Matrix op Matrix -> Matrix with element op element (all matrices of same size)