package rune

  1. Overview
  2. Docs
Automatic differentiation and JIT compilation for OCaml

Install

dune-project
 Dependency

Authors

Maintainers

Sources

raven-1.0.0.alpha2.tbz
sha256=93abc49d075a1754442ccf495645bc4fdc83e4c66391ec8aca8fa15d2b4f44d2
sha512=5eb958c51f30ae46abded4c96f48d1825f79c7ce03f975f9a6237cdfed0d62c0b4a0774296694def391573d849d1f869919c49008acffca95946b818ad325f6f

doc/rune.jit/Rune_jit/Shape_expr/index.html

Module Rune_jit.Shape_exprSource

Sourcemodule Var : sig ... end
Sourcetype expr =
  1. | Const of int
  2. | Var of Var.t
  3. | Add of expr * expr
  4. | Mul of expr * expr
  5. | Neg of expr
Sourcetype shape = expr array
Sourceval const : int -> expr
Sourceval var : Var.t -> expr
Sourceval add : expr -> expr -> expr
Sourceval mul : expr -> expr -> expr
Sourceval neg : expr -> expr
Sourceval of_int_array : int array -> expr array
Sourceval to_string_expr : expr -> string
Sourceval to_string : expr array -> string
Sourceval eval_expr : (int * int) list -> expr -> int option
Sourceval eval : (int * int) list -> expr array -> int option array
Sourceval to_int_array_exn : (int * int) list -> expr array -> int array
Sourceval map : ('a -> 'b) -> 'a array -> 'b array
Sourceval map2 : ('a -> 'b -> 'c) -> 'a array -> 'b array -> 'c array
Sourceval fold : ('a -> 'b -> 'a) -> 'a -> 'b array -> 'a
Sourceval upper_bound_expr : expr -> int
Sourceval upper_bounds : expr array -> int array