[math] RealMatrix power requires square matrix?

2016-01-20 Thread Ole Ersoy
Hi, The RealMatrix.power(p) (http://commons.apache.org/proper/commons-math/apidocs/org/apache/commons/math3/linear/RealMatrix.html#power%28int%29) says that it will throw a NON_SQUARE_MATRIX_EXCEPTION. Is this correct? Cheers, Ole

Re: [math] RealMatrix power requires square matrix?

2016-01-20 Thread Ole Ersoy
Never mind on the below - I was thinking scalar operations ... Cheers, Ole On 01/20/2016 04:53 PM, Ole Ersoy wrote: Hi, The RealMatrix.power(p) (http://commons.apache.org/proper/commons-math/apidocs/org/apache/commons/math3/linear/RealMatrix.html#power%28int%29) says that it will throw a NON