|
|
|
|
|
by jacobolus
2475 days ago
|
|
If we want to define π×π, the best we can do is some kind of algorithm for generating an approximation to π (e.g. as a continued fraction or as a positional decimal fraction) to any desired degree, and then an algorithm for multiplying such approximations. We can prove some bounds on the error introduced by our multiplication algorithm, and that gives us a way of approximating the product to any desired precision. For example if we want to know π^2 to about 3 decimal digits (~9.87), we can start by using an approximation of π to about 4 decimal places (~3.142) and then multiplying the two decimals. For rational numbers, multiplication algorithms are usually built on breaking a number down into constituent pieces, multiplying every pair of pieces from the two multiplicands, and then adding up all of the partial products. Matrix multiplication has the additional complication that the elementary terms involved (entries in different places in the matrix) cannot be added to each-other. But the basic procedure is still the same: break the two multiplicands down into basic units which we already know a multiplication table for, compute all of the partial products, then sum them up. |
|