[math] MatrixDimensionMismatchException vs. DimensionMismatchException

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[math] MatrixDimensionMismatchException vs. DimensionMismatchException

ole ersoy
So if IUC whenever we are dealing with matrices, a MDME should be thrown?  So in this needs an update?:

https://github.com/apache/commons-math/blob/master/src/main/java/org/apache/commons/math4/linear/RealMatrix.java#L95

Ole

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: [math] MatrixDimensionMismatchException vs. DimensionMismatchException

ole ersoy
Actually - I the Factory is used, then the key signature should determine if it's an MDME or DME.  So if 4 keys are used row, column, row, column then MDME otherwise DME...Sound good?

Ole

On 12/24/2015 06:12 PM, Ole Ersoy wrote:
> So if IUC whenever we are dealing with matrices, a MDME should be thrown?  So in this needs an update?:
>
> https://github.com/apache/commons-math/blob/master/src/main/java/org/apache/commons/math4/linear/RealMatrix.java#L95
>
> Ole


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]