You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by Ole Ersoy <ol...@gmail.com> on 2015/12/25 01:12:37 UTC

[math] MatrixDimensionMismatchException vs. DimensionMismatchException

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: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Re: [math] MatrixDimensionMismatchException vs. DimensionMismatchException

Posted by Ole Ersoy <ol...@gmail.com>.
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: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org