Initial commit

This commit is contained in:
2026-08-24 19:27:25 +02:00
commit bdda0c3880
7 changed files with 219 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
#ifndef VECTOR_HPP
#define VECTOR_HPP
#include <vector>
#include <iostream>
class Vector {
public:
Vector(int size);
int size() const;
double& operator()(int i);
double operator()(int i) const;
void print() const;
double norm() const;
private:
std::vector<double> data;
};
#endif