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=4&rev2=5 == 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 === + === Methods reflecting the mathematical structure of vector spaces === The methods listed below are tagged as "essential", as they reflect the underlying mathematical structure of vector spaces. - ||<tablewidth="1142px" tableheight="27px" tablestyle="text-align:center; ">RealVector ||RealMatrix ||Comments || + ||<tablewidth="1142px" tableheight="27px" tablestyle="text-align:center; ">RealVector ||RealMatrix ||Comments || ||RealVector add(RealVector v) ||RealMatrix add(RealMatrix m) || || || ||double getTrace() || || ||RealVector mapMultiply(double d) ||RealMatrix scalarMultiply(double d) || || @@ -27, +27 @@ - === Convenient methods === + === Methods reflecting the mathematical structure of euclidean space === + ||<tablewidth="95%" tablealign="center">RealVector||RealMatrix||Comments|| + + ||<tablewidth="95%" tablealign="center">double cosine(RealVector v)|| || || + ||double dotProduct(RealVector v)|| || || + ||double getDistance(RealVector v)|| || || + ||double getNorm()|| || || + ||RealVector projection(RealVector v)|| || || + ||void unitize()|| || || + ||RealVector unitVector()|| || || + || || || || + || || || || + || || || || + || || || || + || || || || + || || || || + || || || || + || || || || + || || || || + || || || || + || || || || + || || || || + + + === Entry manipulation === + === List-like methods === === Methods which could be externalized === --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org For additional commands, e-mail: dev-h...@commons.apache.org