This JIRA is now for documenting limitations of MLlib's local linear algebra types. Basically, we should make it clear in the user guide that they provide simple functionality but are not a full-fledged local linear library. We should also recommend libraries for users to use in the meantime: probably Breeze for Scala (and Java?) and numpy/scipy for Python.
Original JIRA title: Unary operator "-" fails for MLlib vectors
Original JIRA text, as an example of the need for better docs:
Consider the following snippet in pyspark 1.5.2:
Clearly, the unary operator - (minus) for vectors fails, giving errors for expressions like -x and -y+x, despite the fact that x-y behaves as expected.
The last operation, -1*x, although mathematically "correct", includes minus signs for the zero entries, which again is normally not expected.