Scalar arithmetics to be provided by implementation.
Scalar arithmetics to be provided by implementation.
Scales this vector by s
.
Scales this vector by s
.
this*s
Returns the sum of this and v
.
Returns the sum of this and v
.
the other vector to be added
this+v
Returns the difference of this and v
.
Returns the difference of this and v
.
the other vector to be subtracted
this-v
the lower index bound of the new vector
a copy of this vector with the specified lower index bound
(Changed in version 2.9.0) The behavior of scanRight
has changed. The previous behavior can be reproduced with scanRight.reverse.
this vector with a shortened index range stripped by leading and trailing zero elements (i.e., making concrete leading and trailing zeroes virtual)
2.1.0
Returns identity.
Returns identity. Can also be used to copy this.
+this
Returns negative complement of this.
Returns negative complement of this.
-this
the requested index range (the actual index range will be the union of this argument and the existing one)
this vector with a widened index range extended by leading and trailing zero elements (i.e., adding concrete leading and trailing zeroes that were virtual before)
2.1.0
Implementation trait for vectors of type
Vector[E}
.2.0.0