# Matrix Multiplication with Diagonal Packing

**URL:** <https://openfhe.discourse.group/t/matrix-multiplication-with-diagonal-packing/1893>\
**Category:** Library Questions\
**Created:** [February 24, 2025, 11:36pm UTC](https://openfhe.discourse.group/t/matrix-multiplication-with-diagonal-packing/1893 "2025-02-24T23:36:57Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![ypolyakov](https://yyz1.discourse-cdn.com/flex031/user_avatar/openfhe.discourse.group/ypolyakov/32/47_2.png) [@ypolyakov](https://openfhe.discourse.group/u/ypolyakov)\
**Post date:** [February 25, 2025, 3:25am UTC](https://openfhe.discourse.group/t/matrix-multiplication-with-diagonal-packing/1893/2 "2025-02-25T03:25:35Z")

</div>

There is a proof-of-concept implementation of a more efficient MM method from [Secure Outsourced Matrix Computation and Application to Neural Networks](https://eprint.iacr.org/2018/1041) at [openfhe-development/src/pke/examples/matrix-mult-examples.cpp at polyakov-matrix-mult · openfheorg/openfhe-development · GitHub](https://github.com/openfheorg/openfhe-development/blob/polyakov-matrix-mult/src/pke/examples/matrix-mult-examples.cpp) We are going incorporate this method in the numpy-like matrix arithmetic library (for Python developers) that is being developed now.

---

_[View the full topic](https://openfhe.discourse.group/t/matrix-multiplication-with-diagonal-packing/1893)._
