Arrangine Matrices

Arrangine Matrices - Making Table Manipulations to Matrices - Mensajes

#1 Publicado: 18/11/2017 18:36:35
Ryan Freund

Ryan Freund

20 me gusta en 339 mensajes.

Grupo: User

Are there other built-in functions for performing "table manipulations" to matrices? Meaning I would like to sort a matrix in ascending order based on a certain row's value, is this possible with a built-in function.

For example I have many pairs consisting of (value, description) and I want to organize them based on value.

Hopefully this is somewhat clear. I realize I could create a function to do this for me, but I thought maybe there was a built-in function.

Side question - Is it just me or does it seam like chrome, bing, etc. do a bad job of searching/indexing this forum?

Thanks!
#2 Publicado: 18/11/2017 18:45:46
Ryan Freund

Ryan Freund

20 me gusta en 339 mensajes.

Grupo: User

Ah, well the answer to my question is rsort and csort.

Is this documented somewhere?

Sorry/thanks
#3 Publicado: 18/11/2017 19:21:22
Martin Kraska

Martin Kraska

1.361 me gusta en 2.275 mensajes.

Grupo: Moderator

Wrote

Ah, well the answer to my question is rsort and csort.

Is this documented somewhere?

Sorry/thanks



Interactive Handbook:

Contents> Mathematics> Vectors and Matrices> Searching and Sorting

Section matrix sorting.sm (37,08 KiB) descargado 1212 vez(es).
Technische Mechanik mit SMath Studio: https://link.springer.com/book/10.1007/978-3-658-50592-9
#4 Publicado: 19/11/2017 9:39:16
Jean Giraud

Jean Giraud

983 me gusta en 6.866 mensajes.

Grupo: User

Wrote

Ah, well the answer to my question is rsort and csort.

Is this documented somewhere?



csort is a universal algorithm [divide/conquer], built-in Smath.
Lot more matrix manipulation can be performed in Smath from user modules...
... lookup, truth table, rotation, nest/unest, list ...
Search this forum for "Calculation in Table", by "Jean Giraud"
in reply to Collab "Paulius" [~ 4 days ago].


  • Nuevos mensajes
  • Sin mensajes nuevos