3 ms·
Math = good. Code = good. Example: given arrays A,B,C,D,E compute ABCDE. Most mathy people just multiply left-to-right, while a person with some CS grounding w
by rmrfstar 7y ago
Math = good.
Code = good.
Example: given arrays A,B,C,D,E compute ABCDE.
Most mathy people just multiply left-to-right, while a person with some CS grounding will use dynamic programming [1]. If you are working with Dask-sized arrays, this is important.
[1] https://en.wikipedia.org/wiki/Matrix_chain_multiplication https://en.wikipedia.org/wiki/Matrix_chain_multiplication