X-Git-Url: https://svn.cri.ensmp.fr/git/Faustine.git/blobdiff_plain/d204fe8a60e0556b0294e17c5c6948cb6cee7d91..f1f94803668061f90a5ce88bf06ee72bba8e41a5:/interpretor/types.ml diff --git a/interpretor/types.ml b/interpretor/types.ml index 620cde5..0b7cfde 100644 --- a/interpretor/types.ml +++ b/interpretor/types.ml @@ -133,6 +133,9 @@ class type signal_type = method prefix : signal_type -> signal_type end;; +type matrix = float array array;; + +type data = float array array array;; class type beam_type = object @@ -143,7 +146,7 @@ class type beam_type = method append : beam_type -> beam_type method matching : int -> beam_type method at : time -> value_type array - method output : int -> float array array array + method output : int -> data method frequency : rate_type array end;; @@ -173,5 +176,5 @@ class type io_type = object method set : string -> string -> unit method read : string array -> beam_type - method write : rate_type array -> float array array array -> string array + method write : rate_type array -> data -> string array end;;