package scipy

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type tag = [
  1. | `ExpFormat
]
type t = [ `ExpFormat | `Object ] Obj.t
val of_pyobject : Py.Object.t -> t
val to_pyobject : [> tag ] Obj.t -> Py.Object.t
val create : ?min:Py.Object.t -> ?repeat:Py.Object.t -> width:Py.Object.t -> significand:Py.Object.t -> unit -> t

None

val from_number : ?min:int -> n:float -> [> tag ] Obj.t -> Py.Object.t

Given a float number, returns a 'reasonable' ExpFormat instance to represent any number between -n and n.

Parameters ---------- n : float max number one wants to be able to represent min : int minimum number of characters to use for the format

Returns ------- res : ExpFormat ExpFormat instance with reasonable (see Notes) computed width

Notes ----- Reasonable should be understood as the minimal string length necessary to avoid losing precision.

val to_string : t -> string

Print the object to a human-readable representation.

val show : t -> string

Print the object to a human-readable representation.

val pp : Format.formatter -> t -> unit

Pretty-print the object to a formatter.

OCaml

Innovation. Community. Security.