{ } Raw JSON

bundles / scipy latest / scipy / io / _harwell_boeing / hb / HBInfo / from_data

classmethod

scipy.io._harwell_boeing.hb:HBInfo.from_data

source: /scipy/io/_harwell_boeing/hb.py :45

Summary

Create a HBInfo instance from an existing sparse matrix.

Parameters

m : sparse array or 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

Aliases

  • scipy.io._harwell_boeing.hb.HBInfo.from_data