my problem is that a need an integer on 100 digit. and i have to get that by multiplying two arrays.
But i want to know first how to multiply two arrays by hand, before I continue any further.
This is a discussion on how to multiply two arrays by hand. within the C Programming forums, part of the General Programming Boards category; my problem is that a need an integer on 100 digit. and i have to get that by multiplying two ...
my problem is that a need an integer on 100 digit. and i have to get that by multiplying two arrays.
But i want to know first how to multiply two arrays by hand, before I continue any further.
Google "matrix multiplication" or "array multiplication".
Strictly speaking, if you're trying to do some "large integer" type, the technique you want is probably discrete convolution (or polynomial multiplication). Mathematically, discrete convolution can be expressed as a particular form of matrix multiplication.
Right 98% of the time, and don't care about the other 3%.
Do you know how to multiply
12
34
by hand?
Two digits, or a hundred - the method is the same.
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
If at first you don't succeed, try writing your phone number on the exam paper.
I support http://www.ukip.org/ as the first necessary step to a free Europe.