Skip to main content

check_dim

Function check_dim 

Source
pub fn check_dim(expected: usize, got: usize) -> Result<(), VectorError>
Expand description

Check that an input vector of length got fits an index of dimension expected.