package owl-base

  1. Overview
  2. Docs
OCaml Scientific and Engineering Computing - Base

Install

Dune Dependency

Authors

Maintainers

Sources

owl-0.9.0.tbz
sha256=1f47c9c447b008e65cbd2a8b3495fcf5ad3de701206be4e6a43aa61f473b795c
sha512=db0ce524073f9c3ec420ca5de2991db56888eb880220ce8fecca85cad5e41537b2e3115cc5f645dbde03dc99eef3fe8582a25d09c5f6efaa0dc088ddc76d3a9c

doc/owl-base/Owl_base_dense_matrix_d/index.html

Module Owl_base_dense_matrix_d

include module type of struct include M end

About the comparison of two complex numbers ``x`` and ``y``, Owl uses the following conventions: 1) ``x`` and ``y`` are equal iff both real and imaginary parts are equal; 2) ``x`` is less than ``y`` if the magnitude of ``x`` is less than the magnitude of ``x``; in case both ``x`` and ``y`` have the same magnitudes, ``x`` is less than ``x`` if the phase of ``x`` is less than the phase of ``y``; 3) less or equal, greater, greater or equal relation can be further defined atop of the aforementioned conventions.

Type definition
type ('a, 'b) t = ('a, 'b, Bigarray.c_layout) Bigarray.Genarray.t

N-dimensional array type, i.e. Bigarray Genarray type.

val diagm : ?k:int -> ('a, 'b) t -> ('a, 'b) t

Refer to :doc:`owl_dense_matrix_generic`

val tril : ?k:int -> ('a, 'b) t -> ('a, 'b) t

Refer to :doc:`owl_dense_matrix_generic`

val triu : ?k:int -> ('a, 'b) t -> ('a, 'b) t

Refer to :doc:`owl_dense_matrix_generic`

type elt = float
type mat = (float, Bigarray.float64_elt) M.t
val eye : int -> (float, Bigarray.float64_elt) M.t
OCaml

Innovation. Community. Security.