Ternary.info Forum Index Ternary Software {ENG}
Great algorithm | Register To Post |
| Flat | Previous Topic | Next Topic |
| Poster | Thread |
|---|---|
| eudoxie | Posted on: 2009/1/22 16:53 |
Home away from home ![]() ![]() Joined: 2007/12/27 From: Sweden Posts: 266 |
Great algorithm This is fantastic. I've written an algorithm for host integer to trit array representation that is incredibly simple and fast. It's O(log(v)), all-integer and has no superfluous variables or overhead.
It's based on a mathematical insight I had on balanced bases when I was taking the bus earlier today. I wrote it down in a PDF if anyone is interested... http://www.acc.umu.se/~achtt315/math.tools.for.balanced.bases.pdf The algorithm takes advantage of what happens to equation (8) when you let kappa be 1, and from that it's just a matter of inserting values into equation (11) and making optimizations. |
| Flat | Previous Topic | Next Topic |
| Subject | Poster | Date |
|---|---|---|
| » |
eudoxie | 2009/1/22 16:53 |
| |
Mbr | 2009/1/22 17:20 |
| |
eudoxie | 2009/1/22 17:26 |
| |
hemuman | 2009/1/23 5:35 |
| |
eudoxie | 2009/1/23 14:28 |
| |
hemuman | 2009/1/24 3:07 |
| |
eudoxie | 2009/1/24 18:06 |
| |
hemuman | 2009/1/24 19:57 |
| |
eudoxie | 2009/1/24 20:24 |
| |
hemuman | 2009/1/24 20:45 |
| Register To Post | |

