1 страниц (11 вхождений)
Not quadrat matrix - Сообщения
#1 Опубликовано: 01.11.2023 12:37:35
The work with not quadrat matrix.
How better solve?
See please the attached sm-file.
1-Asteroid-5-Points.sm (25 КиБ) скачан 40 раз(а).
How better solve?
See please the attached sm-file.
1-Asteroid-5-Points.sm (25 КиБ) скачан 40 раз(а).
#2 Опубликовано: 01.11.2023 23:19:48
WroteThe work with not quadrat matrix.
How better solve?
As it looks, the blue planet and green voyager are tangent.
Take care Valery ... Jean.
1-Asteroid-5-Points.sm (34 КиБ) скачан 29 раз(а).
#3 Опубликовано: 02.11.2023 00:18:02
Hi Valery. You can use dn_LinAlgLLS_SVD or dn_LinAlgLLS_COF or dn_LinAlgLLS_QRorLQ for non-square matrices, instead dn_LinAlgSolve.
1-Asteroid-5-Points.sm (27 КиБ) скачан 24 раз(а).
Best regards.
Alvaro.
1-Asteroid-5-Points.sm (27 КиБ) скачан 24 раз(а).
Best regards.
Alvaro.
1 пользователям понравился этот пост
Valery Ochkov 02.11.2023 01:46:00
#4 Опубликовано: 02.11.2023 02:52:03
#5 Опубликовано: 02.11.2023 03:27:28
1 пользователям понравился этот пост
Valery Ochkov 02.11.2023 11:47:00
#6 Опубликовано: 02.11.2023 12:03:29
#7 Опубликовано: 02.11.2023 14:58:52
Wrote... New problem with Ranks
Hi Valery. SMath really needs to improve on linear algebra. As a workaround, you can redefine rank with a plugin
Also, the problem with rank is not that it can't deal with complicated arrays, it can't handle simple ones either
10-2-Asteroid-7-points-Rank.sm (19 КиБ) скачан 32 раз(а).
Best regards-
Alvaro.
2 пользователям понравился этот пост
#8 Опубликовано: 02.11.2023 20:09:55
#9 Опубликовано: 03.11.2023 01:06:29
WroteWhy?
Hi. Due to numerical errors. These ranks are evaluated with numerical procedures. That means that for some cases they must necessarily fail. You can introduce some kind of tolerance in the function. Maple also fails in this example.
This shows that the rank function that is executed is that of maple.
However, I don't know how to call Maxima's rank function, it is not in the Takeover options.
Here some notes about how to handle a little better the issue.
10-2-Asteroid-7-points-Rank.sm (35 КиБ) скачан 32 раз(а).
Best regards.
Alvaro.
1 пользователям понравился этот пост
Valery Ochkov 03.11.2023 08:24:00
#10 Опубликовано: 03.11.2023 19:13:27
Maxima gives the correct answer. Yet I think that maple is not to blame, because maple(rank(M)) sends 4 to maple. At least this happens with Maxima(rank(M)).
In Maxima I have a workaround for such cases. First I convey the definition of M to Maxima and then call rank(M). The format "$...§" conveys everything inside the markup as verbatim expression to Maxima. without giving SMath the chance to interfere.
Should not be too complicated to add rank() to the takeover candidates.
![2023-11-03 13_03_03-SMath Solver 1.0.8477 - [10-2-Asteroid-7-points-Rank (1).sm_].png](/ru-RU/file/4rw62K/2023-11-03-13_03_03-SMath-Solver-1_0_8477---_10-2-Asteroid-7-points-Rank-_1__sm___png)
10-2-Asteroid-7-points-Rank _Kr.sm (40 КиБ) скачан 37 раз(а).
In Maxima I have a workaround for such cases. First I convey the definition of M to Maxima and then call rank(M). The format "$...§" conveys everything inside the markup as verbatim expression to Maxima. without giving SMath the chance to interfere.
Should not be too complicated to add rank() to the takeover candidates.
10-2-Asteroid-7-points-Rank _Kr.sm (40 КиБ) скачан 37 раз(а).
Martin Kraska
Pre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
2 пользователям понравился этот пост
#11 Опубликовано: 04.11.2023 00:03:02
Hi Martin.
Nope. The issue is about a matrix C=augment( A,b ), where b is a column vector so, it must to have the same rank as A.

Either. In some way maple holds the rank function and evaluates it on its own kernel. Actually, the example with the matrix M is for show that.
Best regards.
Alvaro.
WroteMaxima gives the correct answer ...
Nope. The issue is about a matrix C=augment( A,b ), where b is a column vector so, it must to have the same rank as A.
Wrote... Yet I think that maple is not to blame, because maple(rank(M)) sends 4 to maple. At least this happens with Maxima(rank(M)).
Either. In some way maple holds the rank function and evaluates it on its own kernel. Actually, the example with the matrix M is for show that.
Best regards.
Alvaro.
1 пользователям понравился этот пост
Valery Ochkov 05.11.2023 03:08:00
1 страниц (11 вхождений)
-
Новые сообщения
-
Нет новых сообщений