[−][src]Function scs::scs_init
pub unsafe extern "C" fn scs_init(
d: *const ScsData,
k: *const ScsCone,
info: *mut ScsInfo
) -> *mut ScsWork
This initializes the ScsWork struct containing the workspace that scs will
use, and performs the necessary preprocessing (e.g. matrix factorization).
All inputs d
, k
, and info
must be memory allocated before calling.