AlgLib 3.1x

AlgLib 3.1x - AlgLib Plugin (based on ALGLIB 3.1x) - 消息

#21 已发布: 2018/7/17 19:49:21
Вячеслав Мезенцев

Вячеслав Мезенцев

1,558个赞,共1,868个帖子。

组: Moderator

Updated. al_nleqsolve() refactored. Try now.

未找到文件。 未找到文件。

You can also specify only names of the systems (f and j).

未找到文件。 未找到文件。
Russia ☭ forever, Viacheslav N. Mezentsev
4位用户喜欢此帖子
frapuano 2018/7/18 10:53:00, Fridel Selitsky 2018/7/18 02:35:00, Radovan Omorjan 2018/7/18 05:41:00, Igor Skarine 2018/7/18 10:17:00
#22 已发布: 2018/7/18 02:35:44
Fridel Selitsky

Fridel Selitsky

520个赞,共451个帖子。

组: User

One example of V. Mezentsev (Uni)
Primer Uni.sm (13.49 KiB)已下载 1682 次。
2位用户喜欢此帖子
Radovan Omorjan 2018/7/18 05:34:00, frapuano 2018/7/18 10:53:00
#23 已发布: 2018/7/18 05:40:48
Radovan Omorjan

Radovan Omorjan

325个赞和1个踩,共2,052个帖子。

组: Moderator

Wrote

One example of V. Mezentsev (Uni)
Primer Uni.sm (13.49 KiB)已下载 1682 次。



Fortunately, I was wrong. We could use it with different number of equations and unknowns.
I just use the Ber7 example and change it with n as a global variable. No need for zeros as non-existing functions.

ber7.GIF

Primer%20Uni-mod.sm (13.3 KiB)已下载 1740 次。
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
#24 已发布: 2018/7/18 10:15:46
Igor Skarine

Igor Skarine

14个赞,共97个帖子。

组: User

Thanks a lot uni!
The issue listed in my post #18 has been resolved.
But for some reason simple Newton-Raphson with variable step usually
works better than al_nleqsolve.
#25 已发布: 2018/7/18 15:19:47
Jean Giraud

Jean Giraud

983个赞,共6,866个帖子。

组: User

Wrote

But for some reason simple Newton-Raphson with variable step usually
works better than al_nleqsolve.



Can you demonstrate for this application ?

Electfnct.PNG

Solve al_nleqsolve-Electron.sm (18.41 KiB)已下载 1645 次。

#26 已发布: 2018/7/21 12:45:03
Fridel Selitsky

Fridel Selitsky

520个赞,共451个帖子。

组: User

We find several roots at once


Primer Uni3.sm (15.93 KiB)已下载 1645 次。
Primer Jean1.sm (14.78 KiB)已下载 1593 次。
1位用户喜欢此帖子
frapuano 2018/7/21 13:44:00
#27 已发布: 2018/7/22 03:50:27
Fridel Selitsky

Fridel Selitsky

520个赞,共451个帖子。

组: User



3d.sm (29.62 KiB)已下载 1620 次。
2位用户喜欢此帖子
NDTM Amarasekera 2018/7/22 05:00:00, frapuano 2018/7/22 05:30:00
#28 已发布: 2018/7/22 23:29:32
Jean Giraud

Jean Giraud

983个赞,共6,866个帖子。

组: User

Thanks Ber7 for the 3D, nice.

Jean
#29 已发布: 2018/7/24 13:03:26
Fridel Selitsky

Fridel Selitsky

520个赞,共451个帖子。

组: User

Solution of an overdetermined system of equations. The problem is taken from here
https://en.smath.info/forum/yaf_postst12745_How-to-solve-it.aspx

Overdetermined.sm (15.26 KiB)已下载 1622 次。
1位用户喜欢此帖子
Andrey Ivashov 2018/7/26 18:06:00
#30 已发布: 2018/7/30 13:09:38
Fridel Selitsky

Fridel Selitsky

520个赞,共451个帖子。

组: User

The process of finding the roots

Primer Anim.sm (30.29 KiB)已下载 1604 次。
1位用户喜欢此帖子
frapuano 2018/7/30 14:08:00
#31 已发布: 2018/8/22 04:32:16
Fridel Selitsky

Fridel Selitsky

520个赞,共451个帖子。

组: User

The intersection points of two curves

Primer1b.sm (33.88 KiB)已下载 1649 次。
Primer1b.pdf (212.69 KiB)已下载 945 次。
2位用户喜欢此帖子
sergio 2018/8/22 05:52:00, frapuano 2018/8/22 11:24:00
#32 已发布: 2018/8/22 11:39:31
Fridel Selitsky

Fridel Selitsky

520个赞,共451个帖子。

组: User

Fixed. Now you can find all the intersection points.

Primer2.sm (36.58 KiB)已下载 1672 次。
Primer2.pdf (215.28 KiB)已下载 968 次。
2位用户喜欢此帖子
Davide Carpi 2018/8/22 11:41:00, sergio 2018/8/22 13:01:00
#33 已发布: 2018/8/23 05:11:57
Fridel Selitsky

Fridel Selitsky

520个赞,共451个帖子。

组: User


Primer3.sm (20.12 KiB)已下载 1711 次。
1位用户喜欢此帖子
frapuano 2018/8/23 09:07:00
#34 已发布: 2018/8/23 10:57:07
Jean Giraud

Jean Giraud

983个赞,共6,866个帖子。

组: User

... thanks Ber7

Astroid.PNG

Contour SOLVE AstroidHyperbola.sm (20.85 KiB)已下载 1697 次。
#35 已发布: 2018/8/25 06:22:47
Fridel Selitsky

Fridel Selitsky

520个赞,共451个帖子。

组: User


Primer6.sm (18.31 KiB)已下载 1630 次。
#36 已发布: 2018/10/6 14:56:58
Fridel Selitsky

Fridel Selitsky

520个赞,共451个帖子。

组: User

Simple solutions to two problems
1.The construction of a sphere with respect to four given points
2.The construction of a circle with respect to three given points
To calculate the coordinates of the center and radius using the solver AlgLib
In the first problem, a system of four sphere equations for four given points is solved.
In the second - a system of three equations of a circle and the equation of a plane for three given points.

SphereAlglib.sm (64.36 KiB)已下载 1627 次。
1位用户喜欢此帖子
NDTM Amarasekera 2018/10/6 22:52:00
#37 已发布: 2018/10/8 03:23:09
Alvaro

Alvaro

1,139个赞,共1,805个帖子。

组: User

Hi. The same, but without plugins.

SphereSMath.sm (75.21 KiB)已下载 1604 次。

Best regards.
Alvaro.

PD: Do you know the angles for your rotation matrix gamma? I get this, but can't put the matrix elements in the correct order nor sign:

Clipboard1.gif

Actually, as I know, the minus in the last atan is a mistake, but at least give the same absolute values.
2位用户喜欢此帖子
Fridel Selitsky 2018/10/8 03:35:00, NDTM Amarasekera 2018/10/8 04:19:00
#38 已发布: 2018/10/9 11:42:42
Fridel Selitsky

Fridel Selitsky

520个赞,共451个帖子。

组: User

Wrote

Hi. The same, but without plugins.

PD: Do you know the angles for your rotation matrix gamma? I get this, but can't put the matrix elements in the correct order nor sign:

Actually, as I know, the minus in the last atan is a mistake, but at least give the same absolute values.



Hi, Alvaro.
Unfortunately, I have never done reverse transformations (gamma-omega).
Your error may be caused by the use of the left coordinate system in Smath- graphs.
I selected the angles for the axial matrices empirically in order to get a good perspective ,using the gamma matrix.perspective.

1位用户喜欢此帖子
Alvaro 2018/10/9 21:14:00
#39 已发布: 2018/10/10 00:40:38
Jean Giraud

Jean Giraud

983个赞,共6,866个帖子。

组: User

Wrote

Unfortunately, I have never done reverse transformations (gamma-omega).


Mathcad solves the Euler angles from a given γ [gamma matrix].
Smath does not immediately, it complains: Try to use a more specific algorithm.
There are 24 [4!] possible ways to define a 3D system [Mathematica].
The most common is Euler though Mathcad Mathcad ≠ Mathematica.
For common use to define some pleasant views, especially in Smath:
1. Euler [ 3 trig angles]
2. Parametric [X,Y,Z,t] very easy to manage.
3. Quaternion only two coefficients that Quaternion solves for the 3D γ matrix

Rotate Horn.sm (15.07 KiB)已下载 1636 次。
Solve Euler Fails.sm (22.54 KiB)已下载 1678 次。
Rotate Breather [Euler].sm (37.2 KiB)已下载 1455 次。
Rotate_0 Euler, xyz(t), Quaternion.sm (275.27 KiB)已下载 1671 次。
#40 已发布: 2018/12/12 12:57:19
Вячеслав Мезенцев

Вячеслав Мезенцев

1,558个赞,共1,868个帖子。

组: Moderator

Updated.

Changes for al_rkckadapt():
- zero point issue fixed;
- added support for the simple D(t,x) definition.

2018-12-12_21-27-19.png
Russia ☭ forever, Viacheslav N. Mezentsev
2位用户喜欢此帖子
frapuano 2018/12/12 14:31:00, sergio 2018/12/12 13:54:00
  • 有新帖
  • 无新帖