Rev | Line | |
---|
[37] | 1 | function tf = isempty(q) |
---|
| 2 | % ISEMPTY True for empty matrix. |
---|
| 3 | % (Quaternion overloading of standard Matlab function.) |
---|
| 4 | |
---|
| 5 | % Copyright © 2005 Stephen J. Sangwine and Nicolas Le Bihan. |
---|
| 6 | % See the file : Copyright.m for further details. |
---|
| 7 | |
---|
| 8 | error(nargchk(1, 1, nargin)), error(nargoutchk(0, 1, nargout)) |
---|
| 9 | |
---|
| 10 | % Implementation note. This function uses isempty_internal, so that the knowledge of |
---|
| 11 | % how quaternions are represented is hidden in the private functions. |
---|
| 12 | |
---|
| 13 | tf = isempty_internal(q); |
---|
Note: See
TracBrowser
for help on using the repository browser.