mmathlib/vector.cpp

16 lines
225 B
C++
Raw Normal View History

2022-07-16 10:47:29 +02:00
#include "vector.hpp"
#include <iostream>
using namespace std;
int main() {
vector v = vector(3);
cnumber one(1,0);
cnumber two(2,0);
cnumber i(0,1);
v[0] = one;
v[1] = two;
v[2] = i;
cout << v << endl;
return 0;
}