tensor v0.7.2 Vector
Summary
Functions
Elementwise addition of vectors vector_a
and vector_b
Elementwise division of vector_a
and vector_b
.
Make sure that the identity of vector_b
isn’t 0 before doing this
Returns the element at index
from vector
Returns the element at index
from vector
. If index
is out of bounds, returns default
Returns the current identity of vector vector
Elementwise multiplication of vector_a
with vector_b
Elementwise subtraction of vector_b
from vector_a
true
if a
is a Vector
Functions
See Tensor.add/2
.
See Tensor.add_number/2
.
See Tensor.div/2
.
See Tensor.div_number/2
.
Elementwise division of vector_a
and vector_b
.
Make sure that the identity of vector_b
isn’t 0 before doing this.
Returns the element at index
from vector
. If index
is out of bounds, returns default
.
See Tensor.lift/1
.
See Tensor.map/2
.
See Tensor.merge/3
.
See Tensor.mul/2
.
See Tensor.mul_number/2
.
See Tensor.pop/3
.
See Tensor.sub/2
.
See Tensor.sub_number/2
.
See Tensor.to_list/1
.