# Development of Matrix Operations library

**URL:** <https://discourse.processing.org/t/development-of-matrix-operations-library/16402>\
**Category:** Development\
**Created:** [December 14, 2019, 6:56pm UTC](https://discourse.processing.org/t/development-of-matrix-operations-library/16402 "2019-12-14T18:56:42Z")\
**Posts on this page:** 1\
**Showing post:** 4

<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:** [December 19, 2019, 9:37pm UTC](https://discourse.processing.org/t/development-of-matrix-operations-library/16402/4 "2019-12-19T21:37:40Z")

</div>

> [@pallav12](#):
>
> Now I want to contribute to processing in some way.  
> The idea is since a lot of peoples are trying to make beautiful projects with AI and neural net, I want to develop a Library for basic matrix operations(inverse, transpose, multiply) to simplify their work.

@pallav12 – really exciting that you want to contribute! Looking forward to whatever you do.

### JAMA

A common Java matrix package that has been used in the past is JAMA: h ttps://math.nist.gov/javanumerics/jama/

Previous discussion of use in Processing:

> [@Found a Matrix library](https://discourse.processing.org/t/found-a-matrix-library/2910):
>
> I stumbled onto a library for manipulating and analyzing matrices. I’m pretty sure there are several options for doing this in Processing, but this option here works so I thought I would share the example. First, save a sketch and then add a “code” directory. Download the Jama(java matrix library) jar file from this link: [https://math.nist.gov/javanumerics/jama/](https://math.nist.gov/javanumerics/jama/) Then put this code into the saved sketch and save the downloaded jar file into the code directory of the sketch. If you downloa…

### Papaya

There is also a Processing 2 statistics library called Papaya with matrix features:

[http://adilapapaya.com/papayastatistics/#matrix](http://adilapapaya.com/papayastatistics/#matrix)

currently hosted by @kfrajer

> **[GitHub - kfrajer/papaya](https://github.com/kfrajer/papaya)**
>
> Contribute to kfrajer/papaya development by creating an account on GitHub.

Here is a a previous discussion of using Papaya in Processing 3 projects.

> [@Can someone try to find this library in Processing?](https://discourse.processing.org/t/can-someone-try-to-find-this-library-in-processing/1488):
>
> No matter what I do, Processing just won’t find this library. No matter where I put it or how many renames I do, Processing can’t find it and I can’t find an alternative anywhere. I basically need it for the “Descriptive” class [http://adilapapaya.com/papayastatistics/](http://adilapapaya.com/papayastatistics/) Anyone wanna give it a shot and then give a solution (or walkthrough of what/how they did) if they find whats wrong?

You could build on one of these / update them / create a wrapper for them … or make something new!

---

_[View the full topic](https://discourse.processing.org/t/development-of-matrix-operations-library/16402)._
