# commons-dev mailing list archives

##### Site index · List index
Message view
Top
From Apache Wiki <wikidi...@apache.org>
Subject [Commons Wiki] Update of "LinearPackageInterfaceSimplification" by SebastienBrisard
Date Wed, 07 Mar 2012 04:21:26 GMT
```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
+ ||<tablewidth="1142px" tableheight="27px" tablestyle="text-align:center;  ">RealVector
|| ||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">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-unsubscribe@commons.apache.org