Vectorize function

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

#1 Objavljeno: 16. 4. 2020. 01:52:31
Alvaro Gavilán-Rojas

Alvaro Gavilán-Rojas

26 svidjanja u 68 postova.

Grupa: 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) preuzeto 1567 put(ova).
#2 Objavljeno: 16. 4. 2020. 02:37:32
Fridel Selitsky

Fridel Selitsky

520 svidjanja u 451 postova.

Grupa: User

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

Jean Giraud

983 svidjanja u 6.866 postova.

Grupa: User

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

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

NDTM Amarasekera

130 svidjanja u 352 postova.

Grupa: User

This way it works.

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

NDTM Amarasekera

130 svidjanja u 352 postova.

Grupa: 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 Objavljeno: 16. 4. 2020. 20:57:28
Alvaro Gavilán-Rojas

Alvaro Gavilán-Rojas

26 svidjanja u 68 postova.

Grupa: User

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

Jean Giraud

983 svidjanja u 6.866 postova.

Grupa: User

Wrote

There are some more issues with the vectorize function


Nice code SS 7251, not supported SS 6179.

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

Jean Giraud

983 svidjanja u 6.866 postova.

Grupa: User

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

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

Jean Giraud

983 svidjanja u 6.866 postova.

Grupa: User

Project SteelBar.sm (7,73 KiB) preuzeto 1584 put(ova).
#10 Objavljeno: 24. 4. 2020. 22:45:36
Alvaro Gavilán-Rojas

Alvaro Gavilán-Rojas

26 svidjanja u 68 postova.

Grupa: 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) preuzeto 1527 put(ova).
#11 Objavljeno: 25. 4. 2020. 16:45:24
Jean Giraud

Jean Giraud

983 svidjanja u 6.866 postova.

Grupa: 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) preuzeto 1580 put(ova).

#12 Objavljeno: 8. 11. 2020. 09:58:14
NDTM Amarasekera

NDTM Amarasekera

130 svidjanja u 352 postova.

Grupa: User

Wrote

here are some more issues with the vectorize function



Vectorize function without loops.

Vectorize_Eady.sm (15,01 KiB) preuzeto 1497 put(ova).

Vectorize_Easy.png
Look within!... The secret is inside you. Best Regards Eng. NDTM Amarasekera - Sri Lanka
  • Novi postovi
  • Nema novih postova