main.cpp 385 Bytes
Newer Older
Erik Strand's avatar
Erik Strand committed
1 2 3 4
#include "my_class.h"
#include "vector.h"
#include <iostream>

Erik Strand's avatar
Erik Strand committed
5
using namespace simucene;
Erik Strand's avatar
Erik Strand committed
6 7 8 9 10 11 12 13 14 15 16 17

//--------------------------------------------------------------------------------------------------
int main(int const, char const**) {
    MyClass my_class("world");
    my_class.hello();

    Vector3<double> x = {0, 1, 2};
    x = exp(x.array());
    std::cout << x << '\n';

    return 0;
}