package prbnmcn-linalg

  1. Overview
  2. Docs
exception Out_of_bounds

Exceptions raised in vector and matrix implementations.

exception Dimensions_mismatch
type ('s, 'i, 'e) vec =
  1. | Vec of 's * 'i -> 'e

Type of generic input vectors (vectors from which we get elements)

type ('s, 'i, 'e, 'w) ovec =
  1. | OVec of 's * 'i -> 'e -> 'w

Type of generic output vectors (vectors to which we set elements).

module type Tensor = sig ... end

Module type of tensor shapes.

module type Vec = sig ... end

Module type of vectors.

module type Mat = sig ... end

Module type of matrices.

OCaml

Innovation. Community. Security.