[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Help testing max() function
From: |
Rik |
Subject: |
Help testing max() function |
Date: |
Thu, 25 Sep 2014 11:25:35 -0700 |
All,
During OctConf 2014 I started trying to improve the line coverage on the
file max.cc and have come across all sorts of issues. Could someone test
the following code in Matlab to see how they order arguments with equal
magnitude, but different phase angle. Octave should order results by phase
angle, but sometimes it doesn't.
max ([2, 2i])
max (sparse ([2, 2i])
max (2, 2i)
sort ([1 i -1 -i].', 'ascend')
sort ([1 i -1 -i]', 'ascend')
--Rik
- Help testing max() function,
Rik <=