OpenCL Dense Ndarray

This document is auto-generated for Owl’s APIs. #73 entries have been extracted.

Github: {Signature} {Implementation}

Core functions

val of_ndarray : ('a, 'b) Owl_dense_ndarray_generic.t -> t

of_ndarray x

source code

val to_ndarray : ('a, 'b) Bigarray.kind -> t -> ('a, 'b) Owl_dense_ndarray_generic.t

to_ndarray otyp x

source code

Unary math functions

val erf : t -> t

erf x

source code

val erfc : t -> t

erfc x

source code

val abs : t -> t

abs x

source code

val neg : t -> t

neg x

source code

val sqr : t -> t

sqr x

source code

val sqrt : t -> t

sqrt x

source code

val cbrt : t -> t

cbrt x

source code

val reci : t -> t

reci x

source code

val sin : t -> t

sin x

source code

val cos : t -> t

cos x

source code

val tan : t -> t

tan x

source code

val asin : t -> t

asin x

source code

val acos : t -> t

acos x

source code

val atan : t -> t

atan x

source code

val sinh : t -> t

sinh x

source code

val cosh : t -> t

cosh x

source code

val tanh : t -> t

tanh x

source code

val asinh : t -> t

asinh x

source code

val acosh : t -> t

acosh x

source code

val atanh : t -> t

atanh x

source code

val atanpi : t -> t

atanpi x

source code

val sinpi : t -> t

sinpi x

source code

val cospi : t -> t

cospi x

source code

val tanpi : t -> t

tanpi x

source code

val floor : t -> t

floor x

source code

val ceil : t -> t

ceil x

source code

val round : t -> t

round x

source code

val exp : t -> t

exp x

source code

val exp2 : t -> t

exp2 x

source code

val exp10 : t -> t

exp10 x

source code

val expm1 : t -> t

expm1 x

source code

val log : t -> t

log x

source code

val log2 : t -> t

log2 x

source code

val log10 : t -> t

log10 x

source code

val log1p : t -> t

log1p x

source code

val logb : t -> t

logb x

source code

val relu : t -> t

relu x

source code

val signum : t -> t

signum x

source code

val sigmoid : t -> t

sigmoid x

source code

val softplus : t -> t

softplus x

source code

val softsign : t -> t

softsign x

source code

Binary math functions

val add : t -> t -> t

add x y

source code

val sub : t -> t -> t

sub x y

source code

val mul : t -> t -> t

mul x y

source code

val div : t -> t -> t

div x y

source code

val pow : t -> t -> t

pow x y

source code

val min2 : t -> t -> t

min2 x y

source code

val max2 : t -> t -> t

max2 x y

source code

val fmod : t -> t -> t

fmod x y

source code

val hypot : t -> t -> t

hypot x y

source code

val atan2 : t -> t -> t

atan2 x y

source code

val atan2pi : t -> t -> t

atan2pi x y

source code

val add_scalar : t -> t -> t

add_scalar x a

source code

val sub_scalar : t -> t -> t

sub_scalar x a

source code

val mul_scalar : t -> t -> t

mul_scalar x a

source code

val div_scalar : t -> t -> t

div_scalar x a

source code

val pow_scalar : t -> t -> t

pow_scalar x a

source code

val fmod_scalar : t -> t -> t

fmod_scalar x a

source code

val atan2_scalar : t -> t -> t

atan2_scalar x a

source code

val atan2pi_scalar : t -> t -> t

atan2pi_scalar x a

source code

val scalar_add : t -> t -> t

scalar_add a x

source code

val scalar_sub : t -> t -> t

scalar_sub a x

source code

val scalar_mul : t -> t -> t

scalar_mul a x

source code

val scalar_div : t -> t -> t

scalar_div a x

source code

val scalar_pow : t -> t -> t

scalar_pow a x

source code

val scalar_fmod : t -> t -> t

scalar_fmod a x

source code

val scalar_atan2 : t -> t -> t

scalar_atan2 a x

source code

val scalar_atan2pi : t -> t -> t

scalar_atan2pi a x

source code