Vector basic operations problem

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

#1 Publicado: 8/2/2022 1:29:49
Igor K

Igor K

0 me gusta en 5 mensajes.

Grupo: 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) descargado 1271 vez(es).

Tnx a lot.
#2 Publicado: 8/2/2022 2:18:04
Fridel Selitsky

Fridel Selitsky

520 me gusta en 451 mensajes.

Grupo: User

Use array vectorization
Vect1.sm (7,32 KiB) descargado 1275 vez(es).
A 1 usuarios les gustó este mensaje
Igor K 8/2/2022 3:30:00
#3 Publicado: 8/2/2022 3:30:15
Igor K

Igor K

0 me gusta en 5 mensajes.

Grupo: User

Wrote

Use array vectorization
Vect1.sm (7,32 KiB) descargado 1275 vez(es).



Got it, solved. Thanks.
#4 Publicado: 8/2/2022 7:53:53
Jean Giraud

Jean Giraud

983 me gusta en 6.866 mensajes.

Grupo: User

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

Vectorize.PNG
#5 Publicado: 8/2/2022 10:28:19
Igor K

Igor K

0 me gusta en 5 mensajes.

Grupo: 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 Publicado: 8/2/2022 10:47:36
Jean Giraud

Jean Giraud

983 me gusta en 6.866 mensajes.

Grupo: 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) descargado 1277 vez(es).
Vector Maths Direction Cosine [Dist-in-Space] Copy.sm (83,56 KiB) descargado 1125 vez(es).
Vector Maths.sm (1,07 MiB) descargado 1301 vez(es).
A 1 usuarios les gustó este mensaje
Igor K 8/2/2022 10:50:00
#7 Publicado: 8/2/2022 15:42:03
Jean Giraud

Jean Giraud

983 me gusta en 6.866 mensajes.

Grupo: User

... doctored.

Vector Maths Direction Cosine [Dist-in-Space] Copy.sm (85,52 KiB) descargado 1122 vez(es).
#8 Publicado: 13/2/2022 11:51:54
overlord

overlord

600 me gusta en 1.381 mensajes.

Grupo: 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.
A 1 usuarios les gustó este mensaje
Oscar Campo 14/2/2022 12:43:00
#9 Publicado: 18/4/2022 1:11:40
Igor K

Igor K

0 me gusta en 5 mensajes.

Grupo: 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 Publicado: 18/4/2022 7:13:48
Jean Giraud

Jean Giraud

983 me gusta en 6.866 mensajes.

Grupo: 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 Publicado: 18/4/2022 10:13:27
overlord

overlord

600 me gusta en 1.381 mensajes.

Grupo: 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 Publicado: 18/4/2022 10:55:38
Jean Giraud

Jean Giraud

983 me gusta en 6.866 mensajes.

Grupo: 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 Publicado: 18/4/2022 11:20:50
Jean Giraud

Jean Giraud

983 me gusta en 6.866 mensajes.

Grupo: 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 Publicado: 18/4/2022 15:00:19
overlord

overlord

600 me gusta en 1.381 mensajes.

Grupo: Moderator

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

https://en.scratch-wiki.info/wiki/Necropost
  • Nuevos mensajes
  • Sin mensajes nuevos