Function m4ri_sys::mzd_init_window[][src]

pub unsafe extern "C" fn mzd_init_window(
    matrix: *mut Mzd,
    lowr: Rci,
    lowc: Rci,
    highr: Rci,
    highc: Rci
) -> *mut Mzd

\brief Create a window/view into the matrix M.

A matrix window for M is a meta structure on the matrix M. It i setup to point into the matrix so M \em must \em not be freed while the matrix window is used.

This function puts the restriction on the provided parameters that all parameters must be within range for M which is not enforced currently.

Use mzd_free_window to free the window.

\param M Matrix \param lowr Starting row (inclusive) \param lowc Starting column (inclusive, must be multiple of m4ri_radix) \param highr End row (exclusive) \param highc End column (exclusive)