Changeset b0c244f in mmcs for genericFunctions.h
- Timestamp:
- Sep 28, 2016, 3:44:48 PM (8 years ago)
- Branches:
- master
- Children:
- f2dac89
- Parents:
- b23848e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
genericFunctions.h
rdfabbb4 rb0c244f 3 3 4 4 #include <QtWidgets> 5 #include <Eigen> 5 6 6 7 //Funciones de tipo void … … 18 19 void crearTablaVaciaEncadenamiento(int filas, QTableWidget *,int columnas=4); 19 20 void RowColNoEditable(QTableWidget *tw,int inicio,int fin,int item, bool fila); 21 void appendElements(QVector<double>,QVector<double>&); 22 20 23 //Funciones de tipo Lista 21 24 QList<QString> llenarLista(QList<QString> lista,QTableWidget *tw,int valor,int opcion); 22 25 QStringList get_list(QTableWidget *tw, int row, int init, int end); 23 26 QStringList ObtenerComponentes(QTableWidget *); 27 28 //Funciones de tipo QVector 29 QVector<double> extractDiagonal(Eigen::MatrixXd Matrix); 30 24 31 //Funciones de tipo Entero 25 32 int diferent_elements(QStringList my_list); 26 33 int contarElementosMap(QMap<QString,QStringList> diccionario); 34 27 35 //Funciones de tipo double 28 36 double sumElements(QVector<double>); 29 37 38 //Funciones de tipo Eigen 39 Eigen::MatrixXd extractSubMatriz(QTableWidget *tw, QString nombre_fila, QString nombre_columna, Eigen::MatrixXd Matrix); 40 41 //Funciones de tipo bool 42 bool validarDiagonal(QVector<double>); 43 30 44 31 45 #endif // GENERICFUNCTIONS_H
Note: See TracChangeset
for help on using the changeset viewer.