package owl
OCaml Scientific and Engineering Computing
Install
Dune Dependency
Authors
Maintainers
Sources
owl-1.0.2.tbz
sha256=38d210ce6c1c2f09631fd59951430e4f364b5ae036c71ed1b32ce559b2a29263
sha512=c468100556445384b9c6adad9c37b5a9b8c27db8be35f61979e65fafa88c60221b8bda0a9c06cfbbc8d4e216a1ed08a315dfefb45bb4f5f15aa82d4358f57567
doc/src/owl/owl_dense_ndarray_z.ml.html
Source file owl_dense_ndarray_z.ml
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65
# 1 "src/owl/dense/owl_dense_ndarray_z.ml" (* * OWL - OCaml Scientific and Engineering Computing * Copyright (c) 2016-2020 Liang Wang <liang.wang@cl.cam.ac.uk> *) open Bigarray module M = Owl_dense_ndarray_generic include M type elt = Complex.t type arr = (Complex.t, complex64_elt, c_layout) Genarray.t type cast_arr = (float, float64_elt, c_layout) Genarray.t let number = Owl_types.C64 (* overload functions in Owl_dense_ndarray_generic *) let empty dimension = M.empty Complex64 dimension let create dimension a = M.create Complex64 dimension a let init dimension f = M.init Complex64 dimension f let init_nd dimension f = M.init_nd Complex64 dimension f let zeros dimension = M.zeros Complex64 dimension let ones dimension = M.ones Complex64 dimension let uniform ?a ?b dimension = M.uniform Complex64 ?a ?b dimension let gaussian ?mu ?sigma dimension = M.gaussian ?mu ?sigma Complex64 dimension let sequential ?a ?step dimension = M.sequential Complex64 ?a ?step dimension let linspace a b n = M.linspace Complex64 a b n let logspace ?base a b n = M.logspace Complex64 ?base a b n let bernoulli ?p d = M.bernoulli Complex64 ?p d let unit_basis n i = M.unit_basis Complex64 n i let load f = M.load Complex64 f let load_npy f = M.load_npy Complex64 f let of_array x d = M.of_array Complex64 x d let of_arrays x = M.of_arrays Complex64 x let mmap fd ?pos dims = Unix.map_file fd ?pos Complex64 c_layout shared dims (* specific functions for complex64 ndarray *) let re x = re_z2d x let im x = im_z2d x let complex = complex Float64 Complex64 let polar = polar Float64 Complex64
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>