pub fn check_vector(vector: &[f32], what: &str) -> Result<(), RagError>
Check that a vector can be stored or searched: non-empty and finite.