# How to construct a 5x2 matrix?

**URL:** <https://forums.unrealengine.com/t/how-to-construct-a-5x2-matrix/381239>\
**Category:** C++\
**Tags:** matrix, unreal-engine, CPP, question\
**Created:** [January 8, 2017, 7:34am UTC](https://forums.unrealengine.com/t/how-to-construct-a-5x2-matrix/381239 "2017-01-08T07:34:26Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_99ad6a471](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_99ad6a471](https://forums.unrealengine.com/u/anonymous_user_99ad6a471)\
**Post date:** [January 8, 2017, 7:34am UTC](https://forums.unrealengine.com/t/how-to-construct-a-5x2-matrix/381239/1 "2017-01-08T07:34:26Z")

</div>

I want to do a nolinear approximation with matrix calculation, but I can only find a class FMatrix which is 4by4, are there other classes can be used for matrix computation?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_99ad6a471](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_99ad6a471](https://forums.unrealengine.com/u/anonymous_user_99ad6a471)\
**Post date:** [January 9, 2017, 12:46am UTC](https://forums.unrealengine.com/t/how-to-construct-a-5x2-matrix/381239/2 "2017-01-09T00:46:21Z")

</div>

Thanks for your answer, I am trying to write my own matrix calculator right now, I have to say it’s a tought job…
