Fork me on GitHub
Arraymancer Technical reference Tutorial Spellbook (How-To's) Under the hood

Module operators_blas_l1

Search:
Group by:

Procs

proc dot[T: SomeReal](a, b: Tensor[T]): T {.
noSideEffect
.}
Vector to Vector dot (scalar) product   Source Edit
proc dot[T: SomeInteger](a, b: Tensor[T]): T {.
noSideEffect
.}
Vector to Vector dot (scalar) product   Source Edit
proc `+`[T: SomeNumber](a, b: Tensor[T]): Tensor[T] {.
noInit
.}
Tensor addition   Source Edit
proc `-`[T: SomeNumber](a, b: Tensor[T]): Tensor[T] {.
noInit
.}
Tensor substraction   Source Edit
proc `+=`[T: SomeNumber](a: var Tensor[T]; b: Tensor[T])
Tensor in-place addition   Source Edit
proc `-=`[T: SomeNumber](a: var Tensor[T]; b: Tensor[T])
Tensor in-place substraction   Source Edit
proc `*`[T: SomeNumber](a: T; t: Tensor[T]): Tensor[T] {.
noInit
.}
Element-wise multiplication by a scalar   Source Edit
proc `*`[T: SomeNumber](t: Tensor[T]; a: T): Tensor[T] {.
noInit
.}
Element-wise multiplication by a scalar   Source Edit
proc `/`[T: SomeReal](t: Tensor[T]; a: T): Tensor[T] {.
noInit
.}
Element-wise division by a float scalar   Source Edit
proc `div`[T: SomeInteger](t: Tensor[T]; a: T): Tensor[T] {.
noInit
.}
Element-wise division by an integer   Source Edit
proc `*=`[T: SomeNumber](t: var Tensor[T]; a: T)
Element-wise multiplication by a scalar (in-place)   Source Edit
proc `/=`[T: SomeReal](t: var Tensor[T]; a: T)
Element-wise division by a scalar (in-place)   Source Edit
proc `/=`[T: SomeInteger](t: var Tensor[T]; a: T)
Element-wise division by a scalar (in-place)   Source Edit