You can search for identifiers within the package.
in-package search v0.2.0
orf
Orf.Feature_vector
type feature = int
A feature is accessed via its (integer) index.
feature
type 'a t
'a t is the type of a feature vector with feature indexes of type int and values of type 'a.
'a t
int
'a
val iter : (feature -> 'a -> unit) -> 'a t -> unit
Iterate on a feature vector.
val zero : unit -> 'a t
The zero feature vector.
val get : feature -> int t -> int
get feat vec returns the value associated to feat in the integer-valued vector vec.
get feat vec
feat
vec
val set : feature -> 'a -> 'a t -> unit
set feat val vec sets the feature at index feat to value val in vector vec.
set feat val vec
val