Vectorize function

Vectorize function - Argument doesn't match to expected kind - Messages

#1 Posted: 2020/4/16 01:52:31
Alvaro Gavilán

Alvaro Gavilán

25 likes in 68 posts.

Group: User

Hello,

I am having this issue evaluating the vectorized multiplication:

Anotacion 2020-04-16 004458.jpg

I don't know what the problem could be. I started today switching definitely from Mathcad Prime 5 and started rewriting some codes.

Really happy with the decision I made, and also with the latest SMath studio version, I am running 0.99.7251 SMath.

Thank you in advance for your help,

Alvaro Gavilán

Vectorize.sm (6.15 KiB) downloaded 771 time(s).
#2 Posted: 2020/4/16 02:37:32
Fridel Selitsky

Fridel Selitsky

520 likes in 451 posts.

Group: User

Matrices are multiplied like in a matcade
#3 Posted: 2020/4/16 11:23:24
Jean Giraud

Jean Giraud

983 likes in 6,866 posts.

Group: User

Just a matter of isolating the code
col(A,1), col(A,2) are not like function.

Otherwise.PNG
#4 Posted: 2020/4/16 15:52:44
NDTM Amarasekera

NDTM Amarasekera

130 likes in 352 posts.

Group: User

This way it works.

Vect_Error.png
Look within!... The secret is inside you. Best Regards Eng. NDTM Amarasekera - Sri Lanka
#5 Posted: 2020/4/16 16:44:34
NDTM Amarasekera

NDTM Amarasekera

130 likes in 352 posts.

Group: User

There are some more issues with the vectorize function

Vect_Error_2.png
Look within!... The secret is inside you. Best Regards Eng. NDTM Amarasekera - Sri Lanka
#6 Posted: 2020/4/16 20:57:28
Alvaro Gavilán

Alvaro Gavilán

25 likes in 68 posts.

Group: User

Thank you all for your quick responses! Problem solved with ndtma solution. Thank you
Anotacion 2020-04-16 210734.jpg
#7 Posted: 2020/4/16 22:55:20
Jean Giraud

Jean Giraud

983 likes in 6,866 posts.

Group: User

Wrote

There are some more issues with the vectorize function


Nice code SS 7251, not supported SS 6179.

Mround.PNG
#8 Posted: 2020/4/17 09:40:28
Jean Giraud

Jean Giraud

983 likes in 6,866 posts.

Group: User

Make your Steel Bar project Engineer style, all at once.

SteelBar.PNG
#9 Posted: 2020/4/17 09:51:17
Jean Giraud

Jean Giraud

983 likes in 6,866 posts.

Group: User

Project SteelBar.sm (7.73 KiB) downloaded 808 time(s).
#10 Posted: 2020/4/24 22:45:36
Alvaro Gavilán

Alvaro Gavilán

25 likes in 68 posts.

Group: User

Thank you Jean for your suggestion.

I would rather use a function, because in various parts of my worksheet (beam design), I need that function. It would be like this:

Annotation 2020-04-24 214221.png


AG24042020-Steel area.sm (6.48 KiB) downloaded 786 time(s).
#11 Posted: 2020/4/25 16:45:24
Jean Giraud

Jean Giraud

983 likes in 6,866 posts.

Group: User

Wrote

I would rather use a function,
because in various parts of my worksheet (beam design),
I need that function.


Maybe like this.

Project SteelBar.sm (23.19 KiB) downloaded 829 time(s).

#12 Posted: 2020/11/8 09:58:14
NDTM Amarasekera

NDTM Amarasekera

130 likes in 352 posts.

Group: User

Wrote

here are some more issues with the vectorize function



Vectorize function without loops.

Vectorize_Eady.sm (15.01 KiB) downloaded 758 time(s).

Vectorize_Easy.png
Look within!... The secret is inside you. Best Regards Eng. NDTM Amarasekera - Sri Lanka
  • New Posts
  • No New Posts