1 Pages (4 items)
Arrangine Matrices - Making Table Manipulations to Matrices - Messages
#1 Posted: 11/18/2017 6:36:35 PM
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!
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 Posted: 11/18/2017 6:45:46 PM
Ah, well the answer to my question is rsort and csort.
Is this documented somewhere?
Sorry/thanks
Is this documented somewhere?
Sorry/thanks
#3 Posted: 11/18/2017 7:21:22 PM
WroteAh, 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 KiB) downloaded 53 time(s).
Martin Kraska
Pre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
#4 Posted: 11/19/2017 9:39:16 AM
WroteAh, 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].
1 Pages (4 items)
-
New Posts
-
No New Posts