package scipy

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type tag = [
  1. | `VarWriter4
]
type t = [ `Object | `VarWriter4 ] Obj.t
val of_pyobject : Py.Object.t -> t
val to_pyobject : [> tag ] Obj.t -> Py.Object.t
val create : Py.Object.t -> t

None

val write : arr:[> `Ndarray ] Np.Obj.t -> name:string -> [> tag ] Obj.t -> Py.Object.t

Write matrix `arr`, with name `name`

Parameters ---------- arr : array_like array to write name : str name in matlab workspace

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

None

val write_char : arr:Py.Object.t -> name:Py.Object.t -> [> tag ] Obj.t -> Py.Object.t

None

val write_header : ?p:int -> ?t:int -> ?imagf:int -> name:string -> shape:Py.Object.t -> [> tag ] Obj.t -> Py.Object.t

Write header for given data options

Parameters ---------- name : str name of variable shape : sequence Shape of array as it will be read in matlab P : int, optional code for mat4 data type, one of ``miDOUBLE, miSINGLE, miINT32, miINT16, miUINT16, miUINT8`` T : int, optional code for mat4 matrix class, one of ``mxFULL_CLASS, mxCHAR_CLASS, mxSPARSE_CLASS`` imagf : int, optional flag indicating complex

val write_numeric : arr:Py.Object.t -> name:Py.Object.t -> [> tag ] Obj.t -> Py.Object.t

None

val write_sparse : arr:Py.Object.t -> name:Py.Object.t -> [> tag ] Obj.t -> Py.Object.t

Sparse matrices are 2-D

See docstring for VarReader4.read_sparse_array

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

None

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.