Skip to content

Latest commit

 

History

History
28 lines (22 loc) · 1.17 KB

README.mkd

File metadata and controls

28 lines (22 loc) · 1.17 KB

Name sorting provides functionalities to reorder vectors by names (www.stiima.cnr.it)

vector reordering by names

  bool permutationName( const std::vector<std::string>& order_names, 
                        std::vector<std::string>& names,
                        std::vector<double>& vector1,
                        std::vector<double>& vector2,
                        std::vector<double>& vector3);
  bool permutationName( const std::vector<std::string>& order_names, 
                        std::vector<std::string>& names,
                        std::vector<double>& vector1,
                        std::vector<double>& vector2);
  bool permutationName( const std::vector<std::string>& order_names, 
                        std::vector<std::string>& names,
                        std::vector<double>& vector1);

order_names names in the desired order

names current order of names

vector1, vector2, vector3 vectors to be reordered

Software License Agreement (BSD License)
Copyright (c) 2010, National Research Council of Italy, Institute of Intelligent Industrial Technologies and Systems for Advanced Manufacturing
All rights reserved.