package prbnmcn-linalg

  1. Overview
  2. Docs

Module Linalg.IntfSource

Sourceexception Out_of_bounds

Exceptions raised in vector and matrix implementations.

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

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

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

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

Sourcemodule type Tensor = sig ... end

Module type of tensor shapes.

Sourcemodule type Vec = sig ... end

Module type of vectors.

Sourcemodule type Mat = sig ... end

Module type of matrices.