# Inverse matrix and linear equation

**URL:** https://discourse.processing.org/t/inverse-matrix-and-linear-equation/7711
**Category:** Coding Questions
**Created:** [January 21, 2019, 9:02pm UTC](https://discourse.processing.org/t/inverse-matrix-and-linear-equation/7711 "2019-01-21T21:02:59Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![Feltopi](https://avatars.discourse-cdn.com/v4/letter/f/8c91f0/32.png) [@Feltopi](https://discourse.processing.org/u/Feltopi)
#### Post date: [January 21, 2019, 9:02pm UTC](https://discourse.processing.org/t/inverse-matrix-and-linear-equation/7711/1 "2019-01-21T21:02:59Z")

</div>

Hello there,

is there any way to make inverse matrix to solve linear equation, or any other way of doing it?

Im new to programing and processing itself, but i would like to make a program to building statics, which involve a lot equation solving which might be an issue without the matrixes.

Thanks in advance

---

<div class="post-metadata">

### Author: ![josephh](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/josephh/32/210_2.png) [@josephh](https://discourse.processing.org/u/josephh)
#### Post date: [January 21, 2019, 10:43pm UTC](https://discourse.processing.org/t/inverse-matrix-and-linear-equation/7711/2 "2019-01-21T22:43:50Z")

</div>

I just found this on internet :

- [http://pmatrix.blogspot.com/](http://pmatrix.blogspot.com/)
- [https://forum.processing.org/two/discussion/2439/recommended-library-for-matrix-operations-in-processing](https://forum.processing.org/two/discussion/2439/recommended-library-for-matrix-operations-in-processing)
- [Found a Matrix library](https://discourse.processing.org/t/found-a-matrix-library/2910)
- [http://ejml.org/wiki/index.php?title=Main\_Page](http://ejml.org/wiki/index.php?title=Main_Page)

Hope it helps 🙂

---

<div class="post-metadata">

### Author: ![Feltopi](https://avatars.discourse-cdn.com/v4/letter/f/8c91f0/32.png) [@Feltopi](https://discourse.processing.org/u/Feltopi)
#### Post date: [January 22, 2019, 10:07am UTC](https://discourse.processing.org/t/inverse-matrix-and-linear-equation/7711/3 "2019-01-22T10:07:30Z")

</div>

Thank you very much. Unfortunately 3 out of 4 web pages are closed (at less for the download link) but i will definetly check out the EJML

---

<div class="post-metadata">

### Author: ![josephh](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/josephh/32/210_2.png) [@josephh](https://discourse.processing.org/u/josephh)
#### Post date: [January 22, 2019, 11:49am UTC](https://discourse.processing.org/t/inverse-matrix-and-linear-equation/7711/4 "2019-01-22T11:49:59Z")

</div>

> [@Feltopi](#):
>
> Unfortunately 3 out of 4 web pages are closed

It’s strange because all the pages are working for me.  
Have a great day 😉

---

<div class="post-metadata">

### Author: ![Feltopi](https://avatars.discourse-cdn.com/v4/letter/f/8c91f0/32.png) [@Feltopi](https://discourse.processing.org/u/Feltopi)
#### Post date: [January 22, 2019, 1:29pm UTC](https://discourse.processing.org/t/inverse-matrix-and-linear-equation/7711/5 "2019-01-22T13:29:50Z")

</div>

They are, but the download link isnt working for me.

---

<div class="post-metadata">

### Author: ![jeremydouglass](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/jeremydouglass/32/20_2.png) [@jeremydouglass](https://discourse.processing.org/u/jeremydouglass)
#### Post date: [January 27, 2019, 10:59pm UTC](https://discourse.processing.org/t/inverse-matrix-and-linear-equation/7711/6 "2019-01-27T22:59:31Z")

</div>

@Feltopi – if you want to do Processing sketches with matrices, I suggest using R mode for processing.

[https://processing-r.github.io/](https://processing-r.github.io/)

Matrix data structures and operations of all kinds are native to R Project, and if you are already familiar with R or familiar with any similar math package (S language, MATLAB etc) then it should be easy to pick up.
