On 8/24/11 6:20 AM, sebb wrote:
> The UnmodifiableVector class contains the following method:
>
> /** {@inheritDoc} */
> public RealVector add(RealVector w) {
> return v.add(w);
> }
>
> This looks like it would update the vector.
> It is only by tracing the code
On 8/24/11 6:20 AM, sebb wrote:
> The UnmodifiableVector class contains the following method:
>
> /** {@inheritDoc} */
> public RealVector add(RealVector w) {
> return v.add(w);
> }
>
> This looks like it would update the vector.
The name may be a little mislead
The UnmodifiableVector class contains the following method:
/** {@inheritDoc} */
public RealVector add(RealVector w) {
return v.add(w);
}
This looks like it would update the vector.
It is only by tracing the code that one discovers that the add()
method takes a