Vector basic operations problem

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

#1 Posted: 2/8/2022 1:29:49 AM
Igor K

Igor K

0 likes in 5 posts.

Group: 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 KiB) downloaded 37 time(s).

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

Fridel Selitsky

520 likes in 451 posts.

Group: User

Use array vectorization
Vect1.sm (7 KiB) downloaded 53 time(s).
1 users liked this post
Igor K 2/8/2022 3:30:00 AM
#3 Posted: 2/8/2022 3:30:15 AM
Igor K

Igor K

0 likes in 5 posts.

Group: User

Wrote

Use array vectorization
Vect1.sm (7 KiB) downloaded 53 time(s).



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

Jean Giraud

983 likes in 6866 posts.

Group: User

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

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

Igor K

0 likes in 5 posts.

Group: 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 Posted: 2/8/2022 10:47:36 AM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: 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 KiB) downloaded 26 time(s).
Vector Maths Direction Cosine [Dist-in-Space] Copy.sm (83 KiB) downloaded 31 time(s).
Vector Maths.sm (1 MiB) downloaded 31 time(s).
1 users liked this post
Igor K 2/8/2022 10:50:00 AM
#7 Posted: 2/8/2022 3:42:03 PM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

... doctored.

Vector Maths Direction Cosine [Dist-in-Space] Copy.sm (85 KiB) downloaded 35 time(s).
#8 Posted: 2/13/2022 11:51:54 AM
overlord

overlord

551 likes in 1332 posts.

Group: 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 users liked this post
Oscar Campo 2/14/2022 12:43:00 PM
#9 Posted: 4/18/2022 1:11:40 AM
Igor K

Igor K

0 likes in 5 posts.

Group: 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 Posted: 4/18/2022 7:13:48 AM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: 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 Posted: 4/18/2022 10:13:27 AM
overlord

overlord

551 likes in 1332 posts.

Group: 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 Posted: 4/18/2022 10:55:38 AM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: 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 Posted: 4/18/2022 11:20:50 AM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: 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 Posted: 4/18/2022 3:00:19 PM
overlord

overlord

551 likes in 1332 posts.

Group: Moderator

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

https://en.scratch-wiki.info/wiki/Necropost
  • New Posts New Posts
  • No New Posts No New Posts