rank

rank - 消息

#1 已发布: 2020/4/19 08:24:42
haweHofmann

haweHofmann

3个赞,共32个帖子。

组: User

Hallo zusammen,

DimEigenraum: (n-rank(A-λ*E))=1@#
should be 2
some steps of elementary row additions later
is 2

https://de.smath.com/cloud/sheet/vooDFR4FbP

any idea whats wrong?
#2 已发布: 2020/4/19 10:08:10
Davide Carpi

Davide Carpi

1,443个赞,共2,936个帖子。

组: Moderator

Wrote

https://de.smath.com/cloud/sheet/vooDFR4FbP



This link doesn't works, be sure to use the share button link (on the right of the save button), because the address bar link is restricted to the author only.

If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#3 已发布: 2020/4/19 10:19:42
haweHofmann

haweHofmann

3个赞,共32个帖子。

组: User

Upps, sorry

Made a link
https://de.smath.com/cloud/worksheet/3BgYDE7e,


Maxima pure
(%i6) A: matrix([1,1,1,-1,0],[0,1,0,0,1],[0,0,0,1,0],[0,0,-1,2,1],[0,0,0,0,1])$
(%i7) A-1*ident(5)$
(%i5) rank(A-1*ident(5));
(%o5) 3
but
Maxima(rank(A-1*identity(5)))=4
or
DimEigenraum: (n-rank(A-λ*E))=1
#4 已发布: 2020/4/19 13:37:27
Martin Kraska

Martin Kraska

1,362个赞,共2,276个帖子。

组: Moderator

The referenced sheet seems to use Maxima(). This doesn't work, as third party plug-ins aren't available in the cloud version.
It is better to attach such files here.
Technische Mechanik mit SMath Studio: https://link.springer.com/book/10.1007/978-3-658-50592-9
#5 已发布: 2020/4/19 13:50:54
Jean Giraud

Jean Giraud

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

组: User

rank(M) ... matrix rank is Smath built-in.
Here is a most precious application.

Matrix PseudoInverse.sm (111.21 KiB)已下载 1237 次。
#6 已发布: 2020/4/19 14:09:48
haweHofmann

haweHofmann

3个赞,共32个帖子。

组: User

Wrote

rank(M) ... matrix rank is Smath built-in.
Matrix PseudoInverse.sm (111.21 KiB)已下载 1237 次。


and in how far do your example explain the incorrect calculation


Wrote

The referenced sheet seems to use Maxima(). This doesn't work, as third party plug-ins aren't available in the cloud version.
It is better to attach such files here.



the Maxima part calculate the single eigenvalue which is set manually in cloud version

SMath Studio 0.99.6884 - [JordanMatrix5x5-5fachEW-HV.1.2.Stufe.sm_]_2020-04-19_19-07-08.jpg

JordanMatrix5x5-5fachEW-HV.1.2.Stufe .sm (47.19 KiB)已下载 1197 次。
#7 已发布: 2020/4/19 23:51:44
Alvaro

Alvaro

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

组: User

Hi. You're right, it's a bug and there are no way to make this works (numerical nor symbolic):

Clipboard01.jpg

First column is zero and 3th = - 4th columns, so can't be rank = 4.

Best regards.

Alvaro.
#8 已发布: 2020/4/20 11:51:33
Jean Giraud

Jean Giraud

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

组: User

Wrote

and in how far do your example explain the incorrect calculation


Just advanced maths above the classroom.
Your example replies bug from incorrectly threaded input.
As given, your [5*5] matrix has no mathematical meaning.

Page1 rank.sm (11.74 KiB)已下载 1372 次。
1位用户喜欢此帖子
sergio 2020/4/20 12:15:00
#9 已发布: 2020/4/20 14:19:49
Jean Giraud

Jean Giraud

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

组: User

... clean the bugger
What application do you have for "rank(,) ?
Don't confuse with Rank in Data Analysis.
rref [Row Reduce Echelon Function] is a damned long monkey business.
Has it been done in Smath ... Watson ?


rref.PNG
#10 已发布: 2020/4/20 14:51:32
Jean Giraud

Jean Giraud

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

组: User

... Rank(V)
Given a set of data values, the rank of each value is the position
at which that value appears in a sorted list of the data.
When values repeat, the rank is an average of the indices where
the value occurs after sorting.
  • 有新帖
  • 无新帖