CNR-STIIMA-IRAS / name_sorting

A simple package to reorder vectors based on names.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

License:Apache License 2.0


Languages

Language:C++ 90.9%Language:CMake 9.1%