Welcome Guest! To enable all features please Login. New Registrations are disabled.

Notification

Icon
Error

Login


Options
Go to last post Go to first unread
Offline mikekaganski  
#1 Posted : 23 April 2016 07:15:07(UTC)
mikekaganski


Rank: Advanced Member

Groups: Registered
Joined: 17/01/2013(UTC)
Posts: 296
Man
Russian Federation
Location: Khabarovsk, Russia

Was thanked: 151 time(s) in 107 post(s)
vectorize-functions-inconsistent.sm (4kb) downloaded 17 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

Wanna join the discussion?! Login to your SMath Studio Forum forum account. New Registrations are disabled.

Users browsing this topic
Guest
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.