package scipy

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type tag = [
  1. | `HBInfo
]
type t = [ `HBInfo | `Object ] Obj.t
val of_pyobject : Py.Object.t -> t
val to_pyobject : [> tag ] Obj.t -> Py.Object.t
val create : ?right_hand_sides_nlines:Py.Object.t -> ?nelementals:Py.Object.t -> title:Py.Object.t -> key:Py.Object.t -> total_nlines:Py.Object.t -> pointer_nlines:Py.Object.t -> indices_nlines:Py.Object.t -> values_nlines:Py.Object.t -> mxtype:Py.Object.t -> nrows:Py.Object.t -> ncols:Py.Object.t -> nnon_zeros:Py.Object.t -> pointer_format_str:Py.Object.t -> indices_format_str:Py.Object.t -> values_format_str:Py.Object.t -> unit -> t

None

val dump : [> tag ] Obj.t -> Py.Object.t

Gives the header corresponding to this instance as a string.

val from_data : ?title:string -> ?key:string -> ?mxtype:Py.Object.t -> ?fmt:Py.Object.t -> m:[> `Spmatrix ] Np.Obj.t -> [> tag ] Obj.t -> Py.Object.t

Create a HBInfo instance from an existing sparse matrix.

Parameters ---------- m : sparse matrix the HBInfo instance will derive its parameters from m title : str Title to put in the HB header key : str Key mxtype : HBMatrixType type of the input matrix fmt : dict not implemented

Returns ------- hb_info : HBInfo instance

val from_file : fid:Py.Object.t -> [> tag ] Obj.t -> Py.Object.t

Create a HBInfo instance from a file object containing a matrix in the HB format.

Parameters ---------- fid : file-like matrix File or file-like object containing a matrix in the HB format.

Returns ------- hb_info : HBInfo instance

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 : Stdlib.Format.formatter -> t -> unit

Pretty-print the object to a formatter.