package owl

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
To use Make functor in Algodiff, the passed in module needs to implement the following functions to support necessary mathematical functions and etc.
module type MatrixSig = sig ... end
module type NdarraySig = sig ... end

The functor used to generate Algodiff module of various precisions. Currently, Dense.Matrix.S and Dense.Matrix.D can be plugged in to suppport 32-bit and 64-bit two precisions.

module Make (M : MatrixSig) (A : NdarraySig with type elt = M.elt and type arr = M.arr) : sig ... end
OCaml

Innovation. Community. Security.