This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#vectores de caracteristicas | |
datos=[[1,1,1], | |
[1,1,1], | |
[1,1,1], | |
[1,1,0], | |
[1,0,0], | |
[1,0,0]] | |
etiquetas=[1,1,1,-1,-1,-1] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
using namespace std; | |
float f(float x){ | |
return x*x; | |
} | |
float g(float c, float v, float b ){ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
using namespace std; | |
int main(int argc, char const *argv[]) | |
{ | |
int numeros[10] = {0}; | |
int x[27]= {3,5,5,4,5,1,1,5,3,5,9,6,7,2, | |
9,4,2,0,5,4,7,1,6,7,9,0,2,}; | |
for (int i = 0; i < 27; ++i) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4.5 3.5 5.5 3.4 4.5 5.2 7.0 6.0 7.0 4.5 | |
6.6 3.3 6.5 4.6 6.4 5.2 5.0 4.0 6.0 6.3 | |
4.2 2.8 6.5 6.6 4.4 4.2 7.0 5.0 5.0 4.7 | |
5.9 6.7 2.5 5.4 6.5 5.2 5.0 6.0 7.0 3.6 | |
3.4 6.6 3.5 3.2 2.5 4.2 5.0 5.0 6.0 5.5 | |
1.0 3.2 5.5 4.8 1.5 5.2 5.0 6.0 7.0 6.4 | |
6.2 2.4 5.5 6.4 7.0 3.2 5.0 4.0 3.0 3.2 | |
4.5 5.5 5.6 4.5 3.6 5.2 6.0 3.0 7.0 3.5 | |
6.1 1.3 6.8 2.3 4.7 5.2 2.0 3.0 5.0 5.6 | |
5.9 3.5 3.5 3.6 1.2 5.2 6.0 6.0 4.0 2.1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <fstream> | |
#include <string> | |
#include <typeinfo> | |
using namespace std; | |
int main(){ | |
ifstream entrada("numeros"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Nodo{ | |
int data; | |
Nodo *izq; | |
Nodo *der; | |
}; | |
class abb{ | |
Nodo *raiz; | |
abb(){ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"fmt" | |
) | |
type Stack struct { | |
top *Element | |
size int | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "nodo.h" | |
class Lista | |
{ | |
private: | |
Nodo *head; | |
public: | |
Lista(); | |
//~Lista(); |