Matrix Multiplication In C

前端 未结 8 2136
后悔当初
后悔当初 2021-02-10 00:01

I\'m trying to solve a matrix multiplication problem with C. Matrix sizes given in problem (2x2) I wrote this code but it doesn\'t print result as I expect. I think I\'m missing

8条回答
  •  南笙
    南笙 (楼主)
    2021-02-10 00:31

    If size and dependencies don't matter I would suggest using the GNU Scientific Library. See here for features: http://en.wikipedia.org/wiki/GNU_Scientific_Library

    It contains optimized routines for mathematical calculations and is quite fast with some compiler optimizations.

    Already used it successful for matrix operations in 3D Development.

提交回复
热议问题