module Bottle::B

Included Modules

Extended Modules

Defined in:

api.cr

Instance methods inherited from module Bottle::FFT

fft(t : Tensor(Float64)) fft

Instance methods inherited from module Bottle::Search

flatnonzero(array : BaseArray(U)) forall U flatnonzero, nonzero(condition : BaseArray(U)) forall U nonzero, where(condition : BaseArray(Bool), x : BaseArray(U), y : BaseArray(U)) forall U
where(condition : BaseArray(Bool), x : BaseArray)
where(condition : BaseArray(Bool))
where

Instance methods inherited from module Bottle::InputOutput

save(filename, tensor) save, totalsize(shape) totalsize

Instance methods inherited from module Bottle::Assemble

column_stack(alist : Array(BaseArray(U))) forall U column_stack, concatenate(alist : Array(BaseArray(U)), axis : Int32) forall U concatenate, dstack(alist : Array(BaseArray(U))) forall U dstack, hstack(alist : Array(BaseArray(U))) forall U hstack, vstack(alist : Array(BaseArray(U))) forall U vstack

Instance methods inherited from module Bottle::LinAlg

dot(a : BaseArray(U), b : BaseArray(U)) forall U dot, dot1d(dx : BaseArray(Float64), dy : BaseArray(Float64))
dot1d(dx : BaseArray(Float32), dy : BaseArray(Float32))
dot1d
, inner(dx : BaseArray(Float64), dy : BaseArray(Float64))
inner(dx : BaseArray(Float32), dy : BaseArray(Float32))
inner
, inv(t : BaseArray) inv, inv_helper(a : BaseArray(Float64))
inv_helper(a : BaseArray(Float32))
inv_helper
, matmul(dx : BaseArray(Float64), dy : BaseArray(Float64), dest : BaseArray(Float64))
matmul(dx : BaseArray(Float32), dy : BaseArray(Float32), dest : BaseArray(Float32))
matmul(dx : BaseArray(Float64), dy : BaseArray(Float64))
matmul(dx : BaseArray(Float32), dy : BaseArray(Float32))
matmul
, matmul_helper(dx : BaseArray(Float64), dy : BaseArray(Float64), dest : BaseArray(Float64))
matmul_helper(dx : BaseArray(Float32), dy : BaseArray(Float32), dest : BaseArray(Float32))
matmul_helper
, norm(x : Tensor(Float64))
norm(x : Tensor(Float32))
norm
, outer(dx : BaseArray(Float64), dy : BaseArray(Float64))
outer(dx : BaseArray(Float32), dy : BaseArray(Float32))
outer
, validate_matrix_shape(dx, dy) validate_matrix_shape

Instance methods inherited from module Bottle::Trigonometry

acos(x1 : BaseArray) acos, acosh(x1 : BaseArray) acosh, asin(x1 : BaseArray) asin, asinh(x1 : BaseArray) asinh, atan(x1 : BaseArray) atan, atan2(x1 : BaseArray, x2 : BaseArray)
atan2(x1 : BaseArray, x2 : Number)
atan2(x1 : Number, x2 : BaseArray)
atan2
atan2
, atanh(x1 : BaseArray) atanh, besselj(x1 : BaseArray, x2 : BaseArray)
besselj(x1 : BaseArray, x2 : Number)
besselj(x1 : Number, x2 : BaseArray)
besselj
besselj
, besselj0(x1 : BaseArray) besselj0, besselj1(x1 : BaseArray) besselj1, bessely(x1 : BaseArray, x2 : BaseArray)
bessely(x1 : BaseArray, x2 : Number)
bessely(x1 : Number, x2 : BaseArray)
bessely
bessely
, bessely0(x1 : BaseArray) bessely0, bessely1(x1 : BaseArray) bessely1, cbrt(x1 : BaseArray) cbrt, copysign(x1 : BaseArray, x2 : BaseArray)
copysign(x1 : BaseArray, x2 : Number)
copysign(x1 : Number, x2 : BaseArray)
copysign
copysign
, cos(x1 : BaseArray) cos, cosh(x1 : BaseArray) cosh, degrees(x1 : BaseArray) degrees, erf(x1 : BaseArray) erf, erfc(x1 : BaseArray) erfc, exp(x1 : BaseArray) exp, exp2(x1 : BaseArray) exp2, expm1(x1 : BaseArray) expm1, frexp(x1 : BaseArray) frexp, gamma(x1 : BaseArray) gamma, hypot(x1 : BaseArray, x2 : BaseArray)
hypot(x1 : BaseArray, x2 : Number)
hypot(x1 : Number, x2 : BaseArray)
hypot
hypot
, ilogb(x1 : BaseArray) ilogb, ldexp(x1 : BaseArray, x2 : BaseArray)
ldexp(x1 : BaseArray, x2 : Number)
ldexp(x1 : Number, x2 : BaseArray)
ldexp
ldexp
, lgamma(x1 : BaseArray) lgamma, log(x1 : BaseArray) log, log10(x1 : BaseArray) log10, log1p(x1 : BaseArray) log1p, log2(x1 : BaseArray) log2, logb(x1 : BaseArray) logb, radians(x1 : BaseArray) radians, sin(x1 : BaseArray) sin, sinh(x1 : BaseArray) sinh, sqrt(x1 : BaseArray) sqrt, tan(x1 : BaseArray) tan, tanh(x1 : BaseArray) tanh

Instance methods inherited from module Bottle::Statistics

all(a : BaseArray(U), axis : Int32) forall U
all(a : BaseArray(U)) forall U
all
, any(a : BaseArray(U), axis : Int32) forall U
any(a : BaseArray)
any
, clip(a : BaseArray(U), min : Number, max : Number) forall U clip, max(a : BaseArray, axis : Int32)
max(a : BaseArray(U)) forall U
max
, mean(a : BaseArray, axis : Int32)
mean(a : BaseArray)
mean
, min(a : BaseArray, axis : Int32)
min(a : BaseArray(U)) forall U
min
, ptp(a : BaseArray, axis : Int32)
ptp(v : BaseArray)
ptp
, std(a : BaseArray) std, sum(a : BaseArray, axis : Int32)
sum(a : BaseArray(U)) forall U
sum

Instance methods inherited from module Bottle::Creation

arange(start : Int32, stop : Int32, step : Number = 1, dtype : U.class = Int32) forall U
arange(stop : Int32, step : Int32 = 1, dtype : U.class = Int32) forall U
arange
, bincount(x : Tensor(Int32), weights : Tensor(U), min_count = 0) forall U
bincount(x : Tensor(Int32), min_count = 0)
bincount
, diag(a : Tensor(U), k : Int32 = 0) forall U diag, empty(shape : Array(Int32), dtype : U.class = Float64) forall U empty, empty_like(other : Tensor, dtype : U.class = Float64) forall U empty_like, eye(m : Int32, n : Int32 | Nil = nil, k : Int32 = 0, dtype : U.class = Float64) forall U eye, full(shape : Array(Int32), x : Number, dtype : U.class = Float64) forall U full, full_like(other : NDTensor, x : Number, dtype : U.class = Float64) forall U full_like, geomspace(start, stop, num = 50, endpoint = true) geomspace, identity(n : Int32, dtype : U.class = Float64) forall U identity, linspace(start : Number, stop : Number, num = 50, endpoint = true) linspace, logspace(start, stop, num = 50, endpoint = true, base = 10.0) logspace, ones(shape : Array(Int32), dtype : U.class = Float64) forall U ones, ones_like(other : Tensor, dtype : U.class = Float64) forall U ones_like, tri(n : Int32, m : Int32 | Nil = nil, k : Int32 = 0, dtype = U.class = Float64) forall U tri, tril(t : Tensor(U), k = 0) forall U tril, triu(t : Tensor(U), k = 0) forall U triu, vander(x : Tensor(U), n : Int32 | Nil = nil, increasing : Bool = false) forall U vander, zeros(shape : Array(Int32), dtype : U.class = Float64) forall U zeros, zeros_like(other : NDTensor, dtype : U.class = Float64) forall U zeros_like

Instance methods inherited from module Bottle::BMath

add(x1 : BaseArray, x2 : BaseArray) forall U
add(x1 : BaseArray, x2 : Number)
add(x1 : Number, x2 : BaseArray)
add
add
, divide(x1 : BaseArray, x2 : BaseArray) forall U
divide(x1 : BaseArray, x2 : Number)
divide(x1 : Number, x2 : BaseArray)
divide
divide
, equal(x1 : BaseArray, x2 : BaseArray) forall U
equal(x1 : BaseArray, x2 : Number)
equal(x1 : Number, x2 : BaseArray)
equal
equal
, floordiv(x1 : BaseArray, x2 : BaseArray) forall U
floordiv(x1 : BaseArray, x2 : Number)
floordiv(x1 : Number, x2 : BaseArray)
floordiv
floordiv
, greater(x1 : BaseArray, x2 : BaseArray) forall U
greater(x1 : BaseArray, x2 : Number)
greater(x1 : Number, x2 : BaseArray)
greater
greater
, greater_equal(x1 : BaseArray, x2 : BaseArray) forall U
greater_equal(x1 : BaseArray, x2 : Number)
greater_equal(x1 : Number, x2 : BaseArray)
greater_equal
greater_equal
, less(x1 : BaseArray, x2 : BaseArray) forall U
less(x1 : BaseArray, x2 : Number)
less(x1 : Number, x2 : BaseArray)
less
less
, less_equal(x1 : BaseArray, x2 : BaseArray) forall U
less_equal(x1 : BaseArray, x2 : Number)
less_equal(x1 : Number, x2 : BaseArray)
less_equal
less_equal
, modulo(x1 : BaseArray, x2 : BaseArray) forall U
modulo(x1 : BaseArray, x2 : Number)
modulo(x1 : Number, x2 : BaseArray)
modulo
modulo
, multiply(x1 : BaseArray, x2 : BaseArray) forall U
multiply(x1 : BaseArray, x2 : Number)
multiply(x1 : Number, x2 : BaseArray)
multiply
multiply
, power(x1 : BaseArray, x2 : BaseArray) forall U
power(x1 : BaseArray, x2 : Number)
power(x1 : Number, x2 : BaseArray)
power
power
, subtract(x1 : BaseArray, x2 : BaseArray) forall U
subtract(x1 : BaseArray, x2 : Number)
subtract(x1 : Number, x2 : BaseArray)
subtract
subtract

Instance methods inherited from module Bottle::Binary

bitwise_and(x1 : BaseArray, x2 : BaseArray)
bitwise_and(x1 : BaseArray, x2 : Number)
bitwise_and(x1 : Number, x2 : BaseArray)
bitwise_and
, bitwise_or(x1 : BaseArray, x2 : BaseArray)
bitwise_or(x1 : BaseArray, x2 : Number)
bitwise_or(x1 : Number, x2 : BaseArray)
bitwise_or
, bitwise_xor(x1 : BaseArray, x2 : BaseArray)
bitwise_xor(x1 : BaseArray, x2 : Number)
bitwise_xor(x1 : Number, x2 : BaseArray)
bitwise_xor
, left_shift(x1 : BaseArray, x2 : BaseArray)
left_shift(x1 : BaseArray, x2 : Number)
left_shift(x1 : Number, x2 : BaseArray)
left_shift
, right_shift(x1 : BaseArray, x2 : BaseArray)
right_shift(x1 : BaseArray, x2 : Number)
right_shift(x1 : Number, x2 : BaseArray)
right_shift