orbrs::common

Function match_indices

source
pub fn match_indices<T>(vec1: &Vec<T>, vec2: &Vec<T>) -> Vec<IndexMatch>
where T: Matchable,
Expand description

匹配两个向量中的索引

§参数

  • vec1 - 第一个向量
  • vec2 - 第二个向量

§返回值

返回匹配的索引对的向量