Name: Anonymous 2011-12-23 21:15
Turn vector of decimal numbers into whole integers:
I need a general algorithm to turn a vector of non-repeating decimal numbers into whole integers. For instance:
v1 = 3.3837475943, 89.391713934747847847, 23.282781272732734, 32.838723
Now what operations would I need to do to turn that vector/matrix uniformly into whole integers like:
v2 = 22828, 3838, 281, 3999
Adhere to valid matrix operations:
http://en.wikipedia.org/wiki/Elementary_matrix#Operations
I need a general algorithm to turn a vector of non-repeating decimal numbers into whole integers. For instance:
v1 = 3.3837475943, 89.391713934747847847, 23.282781272732734, 32.838723
Now what operations would I need to do to turn that vector/matrix uniformly into whole integers like:
v2 = 22828, 3838, 281, 3999
Adhere to valid matrix operations:
http://en.wikipedia.org/wiki/Elementary_matrix#Operations