1

I need to reset or flush the Jama Matrix before overwriting it to prevent the following error (suggested here).

 java.lang.IllegalArgumentException: Matrix inner dimensions must agree.

I could not find any way to flush the Jama Matrix. If there any way to do so? An approach is suggested here to use the following code.

 Matrix matrix = new Matrix();
 matrix.reset();

However, it does not work. Any help, please!

Thank you.

santobedi
  • 866
  • 3
  • 17
  • 39
  • Does this answer your question? [How to overwrite/update a Jama Matrix in Android Studio without any error?](https://stackoverflow.com/questions/59024375/how-to-overwrite-update-a-jama-matrix-in-android-studio-without-any-error) – Dorian Gray Dec 04 '19 at 19:11

0 Answers0