Fork me on GitHub

src/arraymancer/tensor/operators_blas_l1

Search:
Group by:
  Source Edit

Procs

proc `*`[T: SomeNumber | Complex[float32] | Complex[float64]](a: T; t: Tensor[T]): Tensor[
    T] {.noinit.}
Element-wise multiplication by a scalar   Source Edit
proc `*`[T: SomeNumber | Complex[float32] | Complex[float64]](t: Tensor[T]; a: T): Tensor[
    T] {.noinit.}
Element-wise multiplication by a scalar   Source Edit
proc `*=`[T: SomeNumber | Complex[float32] | Complex[float64]](t: var Tensor[T];
    a: T)
Element-wise multiplication by a scalar (in-place)   Source Edit
proc `+`[T: SomeNumber | Complex[float32] | Complex[float64]](a, b: Tensor[T]): Tensor[
    T] {.noinit.}
Tensor addition   Source Edit
proc `+`[T: SomeNumber | Complex[float32] | Complex[float64]](a: Tensor[T];
    val: T): Tensor[T] {.noinit, inline.}
Mathematical addition of tensors and scalars is undefined. Must use a broadcasted addition instead   Source Edit
proc `+`[T: SomeNumber | Complex[float32] | Complex[float64]](val: T;
    a: Tensor[T]): Tensor[T] {.noinit, inline.}
Mathematical addition of tensors and scalars is undefined. Must use a broadcasted addition instead   Source Edit
proc `+=`[T: SomeNumber | Complex[float32] | Complex[float64]](a: var Tensor[T];
    b: Tensor[T])
Tensor in-place addition   Source Edit
proc `-`[T: SomeNumber | Complex[float32] | Complex[float64]](a, b: Tensor[T]): Tensor[
    T] {.noinit.}
Tensor substraction   Source Edit
proc `-`[T: SomeNumber | Complex[float32] | Complex[float64]](a: Tensor[T];
    val: T): Tensor[T] {.noinit, inline.}
Mathematical subtraction of tensors and scalars is undefined. Must use a broadcasted addition instead   Source Edit
proc `-`[T: SomeNumber | Complex[float32] | Complex[float64]](val: T;
    a: Tensor[T]): Tensor[T] {.noinit, inline.}
Mathematical subtraction of tensors and scalars is undefined. Must use a broadcasted addition instead   Source Edit
proc `-=`[T: SomeNumber | Complex[float32] | Complex[float64]](a: var Tensor[T];
    b: Tensor[T])
Tensor in-place substraction   Source Edit
proc `/`[T: SomeNumber | Complex[float32] | Complex[float64]](t: Tensor[T]; a: T): Tensor[
    T] {.noinit.}
Element-wise division by a float scalar   Source Edit
proc `/=`[T: SomeFloat | Complex[float32] | Complex[float64]](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
proc `div`[T: SomeInteger](t: Tensor[T]; a: T): Tensor[T] {.noinit.}
Element-wise division by an integer   Source Edit
proc dot[T: SomeFloat](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 `mod`[T: SomeNumber](t: Tensor[T]; val: T): Tensor[T] {.noinit.}
Broadcasted modulo operation   Source Edit
proc `mod`[T: SomeNumber](val: T; t: Tensor[T]): Tensor[T] {.noinit.}
Broadcasted modulo operation   Source Edit
Arraymancer Technical reference Tutorial Spellbook (How-To's) Under the hood