Function liblbfgs_sys::lbfgs_malloc
source · [−]pub unsafe extern "C" fn lbfgs_malloc(
n: c_int
) -> *mut lbfgsfloatval_t
Expand description
Allocate an array for variables.
This function allocates an array of variables for the convenience of ::lbfgs function; the function has a requreiemt for a variable array when libLBFGS is built with SSE/SSE2 optimization routines. A user does not have to use this function for libLBFGS built without SSE/SSE2 optimization.
@param n The number of variables.