Vector basic operations problem

Vector basic operations problem - Error occured when adressing the vector's element - Сообщения

#1 Опубликовано: 08.02.2022 01:29:49
Igor K

Igor K

0 сообщений из 5 понравились пользователям.

Группа: 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 КиБ) скачан 37 раз(а).

Tnx a lot.
#2 Опубликовано: 08.02.2022 02:18:04
Fridel Selitsky

Fridel Selitsky

520 сообщений из 451 понравились пользователям.

Группа: User

Use array vectorization
Vect1.sm (7 КиБ) скачан 54 раз(а).
1 пользователям понравился этот пост
Igor K 08.02.2022 03:30:00
#3 Опубликовано: 08.02.2022 03:30:15
Igor K

Igor K

0 сообщений из 5 понравились пользователям.

Группа: User

Wrote

Use array vectorization
Vect1.sm (7 КиБ) скачан 54 раз(а).



Got it, solved. Thanks.
#4 Опубликовано: 08.02.2022 07:53:53
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: User

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

Vectorize.PNG
#5 Опубликовано: 08.02.2022 10:28:19
Igor K

Igor K

0 сообщений из 5 понравились пользователям.

Группа: 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 Опубликовано: 08.02.2022 10:47:36
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: 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 КиБ) скачан 26 раз(а).
Vector Maths Direction Cosine [Dist-in-Space] Copy.sm (83 КиБ) скачан 31 раз(а).
Vector Maths.sm (1 МиБ) скачан 32 раз(а).
1 пользователям понравился этот пост
Igor K 08.02.2022 10:50:00
#7 Опубликовано: 08.02.2022 15:42:03
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: User

... doctored.

Vector Maths Direction Cosine [Dist-in-Space] Copy.sm (85 КиБ) скачан 35 раз(а).
#8 Опубликовано: 13.02.2022 11:51:54
overlord

overlord

551 сообщений из 1332 понравились пользователям.

Группа: 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 пользователям понравился этот пост
Oscar Campo 14.02.2022 12:43:00
#9 Опубликовано: 18.04.2022 01:11:40
Igor K

Igor K

0 сообщений из 5 понравились пользователям.

Группа: 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 Опубликовано: 18.04.2022 07:13:48
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: 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 Опубликовано: 18.04.2022 10:13:27
overlord

overlord

551 сообщений из 1332 понравились пользователям.

Группа: 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 Опубликовано: 18.04.2022 10:55:38
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: 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 Опубликовано: 18.04.2022 11:20:50
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: 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 Опубликовано: 18.04.2022 15:00:19
overlord

overlord

551 сообщений из 1332 понравились пользователям.

Группа: Moderator

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

https://en.scratch-wiki.info/wiki/Necropost
  • Новые сообщения Новые сообщения
  • Нет новых сообщений Нет новых сообщений