Arrays multiplication
How to write arrayt multiplication (multiplicating two matrieces ie 3x3) of arrays of known size in c++ ? What will be the difference using pointers and reference ?
Have you looked at Boost.MultiArray which is a multi-dimentional array and implementing your own multiplication logic or perhaps Boost.BasicLinearAlgebra which has Matrix types in it? These libraries will do most if not all of the work you need to do.
精彩评论