Line | |
---|
1 | function x = reshape(y) |
---|
2 | % RESHAPE Change size. |
---|
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 | unimplemented(mfilename); |
---|
9 | |
---|
10 | % This file will not get called unless the reshape is 1 by 1. |
---|
11 | % It appears that Matlab is not using the numel function to |
---|
12 | % find the number of elements, or is using it incorrectly. |
---|
13 | % Most attempts to reshape a quaternion array will result in |
---|
14 | % the following error: |
---|
15 | % |
---|
16 | % To RESHAPE the number of elements must not change. |
---|
17 | % |
---|
18 | % This requires further study before reshape can be coded. |
---|
Note: See
TracBrowser
for help on using the repository browser.