hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Hadoop Wiki] Trivial Update of "Matrix" by udanax
Date Sat, 02 Feb 2008 12:12:13 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Hadoop Wiki" for change notification.

The following page has been changed by udanax:
http://wiki.apache.org/hadoop/Matrix

The comment on the change is:
Sorry, i found a BigDecimal class. :)

------------------------------------------------------------------------------
  }}}
  ----
  == Algorithms Overview ==
- === Numeric Operations Without Limit ===
- 
- The same algorithm as a calculation with figures written down on paper.[[BR]]
- For example, 
- 
- ~-''a = a,,m,,a,,m-1,,a,,m-2,,a,,m-3,, ... a,,3,,a,,2,,a,,1,,''-~[[BR]]
- ~-''b = b,,n,,b,,n-1,,b,,n-2,,b,,n-3,, ... b,,3,,b,,2,,b,,1,,''-~
- 
- ~-''c,,1,, = a,,9,,a,,8,,a,,7,,a,,6,,a,,5,,a,,4,,a,,3,,a,,2,,a,,1,, + b,,9,,b,,8,,b,,7,,b,,6,,b,,5,,b,,4,,b,,3,,b,,2,,b,,1,,
= a,,1~9,, + b,,1~9,,''-~
- 
- if c,,1,, ≥ 1000000000, round up
- 
- like that, ~-''a + b = c,,l,,c,,l-1,,c,,l-2,,c,,l-3,, ... c,,3,,c,,2,,c,,1,,''-~
- 
- {{{
-    314159265358979323846264338327950288419716939937510582197494459
-  +           27182818284590452353602874713526624977572470936999595
- -------------------------------------------------------------------
-    314159265386162142130854790681553163133243564915083053134494054
- }}}
- ==== Extended Numeric Data Types ====
- 
  === Parallel Matrix Operations on Map/Reduce ===
  
  ----

Mime
View raw message