package owl-base

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

Install

Dune Dependency

Authors

Maintainers

Sources

owl-0.10.0.tbz
sha256=eed3ca75b0e9388a2c56dd45eee7fe257adacba77b4536cda041bddf98f01691
sha512=baf6419a2a9019df403e9badf45b5ffeedb52d66676dd5899406cbebbca79f0cb23edaf3b93339da9f938f57424f4899faa7af7237cda4409c5a1470829975f9

doc/owl-base/Owl_base_dense_matrix_z/index.html

Module Owl_base_dense_matrix_zSource

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
Sourcetype ('a, 'b) t = ('a, 'b, Bigarray.c_layout) Bigarray.Genarray.t

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

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

Refer to :doc:`owl_dense_matrix_generic`

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

Refer to :doc:`owl_dense_matrix_generic`

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

Refer to :doc:`owl_dense_matrix_generic`

Sourcetype elt = Complex.t
OCaml

Innovation. Community. Security.