SMath Studio Forum
»
SMath Studio
»
Bugs & Problems
»
[SS-2319] vectorize(): inconsistent treatment of functions returning matrices
Rank: Advanced Member Groups: Registered
Joined: 17/01/2013(UTC) Posts: 296 Location: Khabarovsk, Russia Was thanked: 151 time(s) in 107 post(s)
|
vectorize-functions-inconsistent.sm (4kb) downloaded 19 time(s).In the attachment, all four formulas should produce 3-element column vector with all elements equal to 1. Actually, only vectorize(range(1,3)≠0) and vectorize(mat(0,0,0,3,1)≡0) give predicted result; vectorize(stack(1,1,1)≠0) and vectorize(matrix(3,1)≡0) give wrong results. You may see that despite decorated appearance of former two, the structure of all cases is the same. Anticipating possible "solutions": yes, I know of Davide's Custom Functions' Ones(#). All used functions are built-in, all are known to return matrices, so the observed result is inconsistent. I consider this a manifestation of SS-2319. Edited by moderator 20 May 2016 21:20:45(UTC)
| Reason: added BTS # |
Best regards, Mike Kaganski |
|
|
|
SMath Studio Forum
»
SMath Studio
»
Bugs & Problems
»
[SS-2319] vectorize(): inconsistent treatment of functions returning matrices
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.