Vector basic operations problem

Vector basic operations problem - Error occured when adressing the vector's element - Messaggi

#1 Pubblicato: 08/02/2022 01:29:49
Igor K

Igor K

0 apprezzamenti in 5 post.

Gruppo: User

Hi there, thanks for your attention.

I am newbie, and I guess I've made some silly mistake, somehow misusing the basic functions, but I can't figure out what exactly I made wrong, so I really appreciate your assistance.
Attempt to get the cosine of the vector results in a "Result is above max..." error. Could someone please point out what's wrong?

of_parking_tension.sm (5,13 KiB) scaricato 1275 volta(e).

Tnx a lot.
#2 Pubblicato: 08/02/2022 02:18:04
Fridel Selitsky

Fridel Selitsky

520 apprezzamenti in 451 post.

Gruppo: User

Use array vectorization
Vect1.sm (7,32 KiB) scaricato 1278 volta(e).
1 utenti hanno apprezzato questo post
Igor K 08/02/2022 03:30:00
#3 Pubblicato: 08/02/2022 03:30:15
Igor K

Igor K

0 apprezzamenti in 5 post.

Gruppo: User

Wrote

Use array vectorization
Vect1.sm (7,32 KiB) scaricato 1278 volta(e).



Got it, solved. Thanks.
#4 Pubblicato: 08/02/2022 07:53:53
Jean Giraud

Jean Giraud

983 apprezzamenti in 6.866 post.

Gruppo: User

In Smath, two of the builtin functions needs be
integrate/vectorized ... if not: "x not defined".
Welcome to Smath Community.

Vectorize.PNG
#5 Pubblicato: 08/02/2022 10:28:19
Igor K

Igor K

0 apprezzamenti in 5 post.

Gruppo: User

Wrote

In Smath, two of the builtin functions needs be
integrate/vectorized ... if not: "x not defined".
Vectorize.PNG



Thank you Jean for supplementary explanation, but I'm not sure I got it clearly. Do you mean that if the expression includes more than one built-in function, as in your snippet (cos,sqrt), than it should be vectorized either as in previous example in this thread, or using the loop, as in your snippet? Could you please share some sources from which I could obtain in-depth description of this concept in order to save your time?

Wrote


Welcome to Smath Community.


Thank you very much. Your attitude is appreciated.
#6 Pubblicato: 08/02/2022 10:47:36
Jean Giraud

Jean Giraud

983 apprezzamenti in 6.866 post.

Gruppo: User

Wrote

Thank you Jean for supplementary explanation, but I'm not sure I got it clearly. Do you mean that if the expression includes more than one built-in function, as in your snippet (cos,sqrt), than it should be vectorized either as in previous example in this thread, or using the loop, as in your snippet? Could you please share some sources from which I could obtain in-depth description of this concept in order to save your time?


The for loop will take any length and export ... simply !
The previous vectorize is a display only. Same not same for end use.
More vector maths attached ... not updated for 6 years.
Cheers, enjoy Smath ... Jean.

VectorField StreamLines Joukowsky Airfoil.sm (38,43 KiB) scaricato 1283 volta(e).
Vector Maths Direction Cosine [Dist-in-Space] Copy.sm (83,56 KiB) scaricato 1129 volta(e).
Vector Maths.sm (1,07 MiB) scaricato 1304 volta(e).
1 utenti hanno apprezzato questo post
Igor K 08/02/2022 10:50:00
#7 Pubblicato: 08/02/2022 15:42:03
Jean Giraud

Jean Giraud

983 apprezzamenti in 6.866 post.

Gruppo: User

... doctored.

Vector Maths Direction Cosine [Dist-in-Space] Copy.sm (85,52 KiB) scaricato 1127 volta(e).
#8 Pubblicato: 13/02/2022 11:51:54
overlord

overlord

600 apprezzamenti in 1.381 post.

Gruppo: Moderator

Wrote

Thank you Jean for supplementary explanation, but I'm not sure I got it clearly.


Near all new users doesn't understand him.
Experienced users learned to ignore him.

Search his name in mathcad forums around 2010-2012.
People over there appreciated when he left there.
Because of his unfounded claims and ridiculous posts.
So he left there just continues to pollute this forum.

I look forward to that happy upcoming day of departure of him.
1 utenti hanno apprezzato questo post
Oscar Campo 14/02/2022 12:43:00
#9 Pubblicato: 18/04/2022 01:11:40
Igor K

Igor K

0 apprezzamenti in 5 post.

Gruppo: User

Wrote

Wrote

Thank you Jean for supplementary explanation, but I'm not sure I got it clearly.




I look forward to that happy upcoming day of departure of him.



that's utterly hilarious.
#10 Pubblicato: 18/04/2022 07:13:48
Jean Giraud

Jean Giraud

983 apprezzamenti in 6.866 post.

Gruppo: User

Wrote

Thank you Jean for supplementary explanation, but I'm not sure I got it clearly.


Can you refresh the original demand.
I lost track of it in the blue.

Cheers ... Jean.
#11 Pubblicato: 18/04/2022 10:13:27
overlord

overlord

600 apprezzamenti in 1.381 post.

Gruppo: Moderator

Wrote

Can you refresh the original demand.
I lost track of it in the blue.


There is no need for your useless posts in this topic.

Wrote

Could someone please point out what's wrong?


First post has the question.

Wrote

Use array vectorization.


Ber7 already answered it correctly.

Wrote

Got it, solved. Thanks.


Topic owner thanked as it was the answer.
#12 Pubblicato: 18/04/2022 10:55:38
Jean Giraud

Jean Giraud

983 apprezzamenti in 6.866 post.

Gruppo: User

Wrote

In Smath, two of the builtin functions needs be
integrate/vectorized ... if not: "x not defined".
Welcome to Smath Community.


2 more undefined 'x' complains.
1. Smath Simpson does not recognize the Power Function X^Y
2. Does not recognize Lamvert W(x)
Cheers ... Jean.
#13 Pubblicato: 18/04/2022 11:20:50
Jean Giraud

Jean Giraud

983 apprezzamenti in 6.866 post.

Gruppo: User

Wrote

Thank you very much. Your attitude is appreciated.


You give gf
The for loop returns gf
In most applications you vectorize over sqrt
Some applications needs vectorize inside sqrt and over sqrt
Cheers ... Jean.

#14 Pubblicato: 18/04/2022 15:00:19
overlord

overlord

600 apprezzamenti in 1.381 post.

Gruppo: Moderator

Jean, you are necroposting.
Question is already answered.
Don't spam the forum.

https://en.scratch-wiki.info/wiki/Necropost
  • Nuovi post
  • Nessun nuovo post