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

ufunc

Procs

proc astype[T, U](t: Tensor[T]; typ: typedesc[U]): Tensor[U] {...}{.noInit.}
Apply type conversion on the whole tensor   Source Edit
proc fac(t291077: Tensor): Tensor {...}{.noInit.}

Auto-generated universal version of the function.

The function can be used directly on tensors and will work element-wise.

  Source Edit
proc sqrt(t291141: Tensor): Tensor {...}{.noInit.}

Auto-generated universal version of the function.

The function can be used directly on tensors and will work element-wise.

  Source Edit
proc cbrt(t291205: Tensor): Tensor {...}{.noInit.}

Auto-generated universal version of the function.

The function can be used directly on tensors and will work element-wise.

  Source Edit
proc ln(t291269: Tensor): Tensor {...}{.noInit.}

Auto-generated universal version of the function.

The function can be used directly on tensors and will work element-wise.

  Source Edit
proc log10(t291333: Tensor): Tensor {...}{.noInit.}

Auto-generated universal version of the function.

The function can be used directly on tensors and will work element-wise.

  Source Edit
proc log2(t291397: Tensor): Tensor {...}{.noInit.}

Auto-generated universal version of the function.

The function can be used directly on tensors and will work element-wise.

  Source Edit
proc exp(t291461: Tensor): Tensor {...}{.noInit.}

Auto-generated universal version of the function.

The function can be used directly on tensors and will work element-wise.

  Source Edit
proc arccos(t291525: Tensor): Tensor {...}{.noInit.}

Auto-generated universal version of the function.

The function can be used directly on tensors and will work element-wise.

  Source Edit
proc arcsin(t291589: Tensor): Tensor {...}{.noInit.}

Auto-generated universal version of the function.

The function can be used directly on tensors and will work element-wise.

  Source Edit
proc arctan(t291653: Tensor): Tensor {...}{.noInit.}

Auto-generated universal version of the function.

The function can be used directly on tensors and will work element-wise.

  Source Edit
proc cos(t291717: Tensor): Tensor {...}{.noInit.}

Auto-generated universal version of the function.

The function can be used directly on tensors and will work element-wise.

  Source Edit
proc cosh(t291781: Tensor): Tensor {...}{.noInit.}

Auto-generated universal version of the function.

The function can be used directly on tensors and will work element-wise.

  Source Edit
proc sinh(t291845: Tensor): Tensor {...}{.noInit.}

Auto-generated universal version of the function.

The function can be used directly on tensors and will work element-wise.

  Source Edit
proc sin(t291909: Tensor): Tensor {...}{.noInit.}

Auto-generated universal version of the function.

The function can be used directly on tensors and will work element-wise.

  Source Edit
proc tan(t291973: Tensor): Tensor {...}{.noInit.}

Auto-generated universal version of the function.

The function can be used directly on tensors and will work element-wise.

  Source Edit
proc tanh(t292037: Tensor): Tensor {...}{.noInit.}

Auto-generated universal version of the function.

The function can be used directly on tensors and will work element-wise.

  Source Edit
proc erf(t292101: Tensor): Tensor {...}{.noInit.}

Auto-generated universal version of the function.

The function can be used directly on tensors and will work element-wise.

  Source Edit
proc erfc(t292165: Tensor): Tensor {...}{.noInit.}

Auto-generated universal version of the function.

The function can be used directly on tensors and will work element-wise.

  Source Edit
proc lgamma(t292229: Tensor): Tensor {...}{.noInit.}

Auto-generated universal version of the function.

The function can be used directly on tensors and will work element-wise.

  Source Edit
proc tgamma(t292293: Tensor): Tensor {...}{.noInit.}

Auto-generated universal version of the function.

The function can be used directly on tensors and will work element-wise.

  Source Edit
proc floor(t292357: Tensor): Tensor {...}{.noInit.}

Auto-generated universal version of the function.

The function can be used directly on tensors and will work element-wise.

  Source Edit
proc ceil(t292421: Tensor): Tensor {...}{.noInit.}

Auto-generated universal version of the function.

The function can be used directly on tensors and will work element-wise.

  Source Edit
proc trunc(t292485: Tensor): Tensor {...}{.noInit.}

Auto-generated universal version of the function.

The function can be used directly on tensors and will work element-wise.

  Source Edit
proc round(t292549: Tensor): Tensor {...}{.noInit.}

Auto-generated universal version of the function.

The function can be used directly on tensors and will work element-wise.

  Source Edit
proc degToRad(t292613: Tensor): Tensor {...}{.noInit.}

Auto-generated universal version of the function.

The function can be used directly on tensors and will work element-wise.

  Source Edit
proc radToDeg(t292677: Tensor): Tensor {...}{.noInit.}

Auto-generated universal version of the function.

The function can be used directly on tensors and will work element-wise.

  Source Edit

Templates

template makeUniversal(func_name: untyped)
  Source Edit
template makeUniversalLocal(func_name: untyped)
  Source Edit