Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #12442 > unrolled thread
| Started by | Ulrich Arndt <ulrich.arndt@data2knowledge.de> |
|---|---|
| First post | 2012-11-24 07:28 +0000 |
| Last post | 2012-11-24 07:28 +0000 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.soft-sys.math.mathematica
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: Integer Length Count Ulrich Arndt <ulrich.arndt@data2knowledge.de> - 2012-11-24 07:28 +0000
| From | Ulrich Arndt <ulrich.arndt@data2knowledge.de> |
|---|---|
| Date | 2012-11-24 07:28 +0000 |
| Subject | Re: Integer Length Count |
| Message-ID | <k8psu9$ir8$1@smc.vnet.net> |
IntegerLength will do dat = RandomInteger[2^100, 1000000]; Sort[Tally[Map[IntegerLength, dat]], #1[[1]] > #2[[1]] &] // Timing Ulrich Am 23.11.2012 um 09:28 schrieb sylviehobbs@comcast.net: > > I use a function in SAS that takes, in my case, a billion different integers of varying length and counts the frequency of the length of each integer by converting the digits in the integers into alpha characters and counting the frequency of the right most position of the alpha character. > > > > I am trying to do more and more routine programming in Mathematica and after poking around in documentation for the past 4 hours have yet to find the parallel function in Mathematica for counting the integer frequency length in a big data set. My family wants me to drop everything and put the Turkey in the oven. My cat Sylvester even fell asleep on his back in front of the refrigerator with his little legs up in the air, so he want miss the transfer of the Turkey from the stove to the refrigerator. OH WELL -- IT'S SHOW TIME! > > > > Meanwhile, let me know any recommendations you have on a Mathematica function that parallels the SAS Function. > > > > Sylvia Hobbs >
Back to top | Article view | comp.soft-sys.math.mathematica
csiph-web