Dear Wiki user, You have subscribed to a wiki page or wiki category on "Commons Wiki" for change notification.
The "LinearPackageInterfaceSimplification" page has been changed by SebastienBrisard: http://wiki.apache.org/commons/LinearPackageInterfaceSimplification?action=diff&rev1=3&rev2=4 = Simplification of the API of package linear = In this wiki page, the proposals made on the mailing-list towards the simplification of the org.apache.commons.math3.linear package will be summarized. - == Real``Vector vs. Real``Matrix == + == RealVector vs. RealMatrix == In this section, the current (version 3.0) interfaces for vectors and matrices are compared. Vectors and matrices are two mathematical objects which are very close in nature. Their implementations should therefore be as similar as possible. === Essential methods === The methods listed below are tagged as "essential", as they reflect the underlying mathematical structure of vector spaces. - ||<tablestyle="text-align: center; width: 1142px; height: 27px;">RealVector ||RealMatrix ||Comments || + ||<tablewidth="1142px" tableheight="27px" tablestyle="text-align:center; ">RealVector ||RealMatrix ||Comments || - ||RealVector add(RealVector v)||RealMatrix add(RealMatrix m)|| || + ||RealVector add(RealVector v) ||RealMatrix add(RealMatrix m) || || - || ||double getTrace()|| || + || ||double getTrace() || || - ||RealVector mapMultiply(double d)||RealMatrix scalarMultiply(double d)|| || + ||RealVector mapMultiply(double d) ||RealMatrix scalarMultiply(double d) || || - ||RealVector mapMultiplyToSelf(double d)|| || || + ||RealVector mapMultiplyToSelf(double d) || || || - || ||RealMatrix multiply(RealMatrix m)|| || + || ||RealMatrix multiply(RealMatrix m) || || - || ||double[] operate(double[] v)|| || + || ||double[] operate(double[] v) || || - || ||RealVector operate(RealVector v)|| || + || ||RealVector operate(RealVector v) || || - || ||double[] RealVector preMultiply(double[] v)|| || + || ||double[] RealVector preMultiply(double[] v) || || - || ||RealMatrix preMultiply(RealMatrix m)|| || + || ||RealMatrix preMultiply(RealMatrix m) || || - || ||RealVector preMultiply(RealVector v)|| || + || ||RealVector preMultiply(RealVector v) || || - || ||RealMatrix transpose()|| || + || ||RealMatrix transpose() || || - ||||||<tablewidth="95%" tablestyle="text-align:center"style="text-align:center">'''Comparison of essential methods in interfaces RealVector and RealMatrix''' || --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org For additional commands, e-mail: dev-h...@commons.apache.org