package slap

  1. Overview
  2. Docs

Miscellaneous definitions.

type cnt

The flag for contiguous vectors and matrices.

type dsc

The flag for discrete vectors and matrices.

val identity : 'a -> 'a

The identity function.

val failwithf : ('a, unit, string, unit -> 'b) format4 -> 'a

failwith + printf-style format

val invalid_argf : ('a, unit, string, unit -> 'b) format4 -> 'a

invalid_arg + printf-style format

exception Internal_error of string * int

Internal_error (location, code) is thrown when a BLAS or LAPACK function returns unexpected error. location is the function name (containing its module name) and code is an error code returned by the function.

OCaml

Innovation. Community. Security.