Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
module Utils = Arrayjit.Utils
module Debug_runtime = Utils.Debug_runtime
type box = PrintBox.t
val sexp_of_box : 'a -> Sexplib0.Sexp.t
type dag = [
| `Empty
| `Pad of dag
| `Frame of dag
| `Align of [ `Left | `Center | `Right ] * [ `Top | `Center | `Bottom ] * dag
| `Text of Base.string
| `Box of box
| `Vlist of Base.bool * dag Base.list
| `Hlist of Base.bool * dag Base.list
| `Table of dag Base.array Base.array
| `Tree of dag * dag Base.list
| `Embed_subtree_ID of Base.string
| `Subtree_with_ID of Base.string * dag
]
val sexp_of_dag : dag -> Sexplib0.Sexp.t
type plot_spec =
| Scatterplot of {
points : (Base.float * Base.float) Base.array;
pixel : Base.string;
}
| Line_plot of {
points : Base.float Base.array;
pixel : Base.string;
}
| Boundary_map of {
callback : (Base.float * Base.float) -> Base.bool;
pixel_true : Base.string;
pixel_false : Base.string;
}
| Line_plot_adaptive of {
callback : Base.float -> Base.float;
mutable cache : Base.float Base.Map.M(Base.Float).t;
pixel : Base.string;
}
val sexp_of_plot_spec : plot_spec -> Sexplib0.Sexp.t
val plot_canvas :
?canvas:Base.string Base.Array.t Base.Array.t ->
?size:(Base.int * Base.int) ->
plot_spec Base.list ->
Base.float
* Base.float
* Base.float
* Base.float
* Base.string Base.Array.t Base.Array.t
val concise_float : prec:int -> float -> Base.String.t
val plot :
?prec:int ->
?no_axes:bool ->
?canvas:Base.string Base.Array.t Base.Array.t ->
?size:(Base.int * Base.int) ->
?x_label:string ->
?y_label:Base.String.t ->
plot_spec Base.list ->
PrintBox.t
type table_row_spec =
| Benchmark of {
bench_title : Base.string;
time_in_sec : Base.float;
mem_in_bytes : Base.int;
result_label : Base.string;
result : Base.Sexp.t;
}
val sexp_of_table_row_spec : table_row_spec -> Sexplib0.Sexp.t
val nolines : Base.String.t -> Base.String.t
val table : table_row_spec Base.List.t -> PrintBox.t