How to reset or flush the Jama Matrix in Android Studio?

51 views Asked by At

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.

0

There are 0 answers