Skip to content

CNR-STIIMA-IRAS/name_sorting

Repository files navigation

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.

About

A simple package to reorder vectors based on names.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published