extendr_api::prelude::modules::core

Function temp_mat_constant

pub fn temp_mat_constant<E>(
    nrows: usize,
    ncols: usize,
    value: E,
    stack: PodStack<'_>,
) -> (MatMut<'_, E>, PodStack<'_>)
where E: ComplexField,
Expand description

Creates a temporary matrix of constant values, from the given memory stack.