You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

24 lines
356 B

#include <assert.h>
#include <stdio.h>
#include "matrix.hpp"
using namespace matrix;
template class Vector<float, 5>;
int main()
{
Vector<float, 5> v;
float n = v.norm();
(void)n;
float r = v.dot(v);
(void)r;
Vector<float, 5> v2(v);
assert(v == v2);
return 0;
}
/* vim: set et fenc=utf-8 ff=unix sts=0 sw=4 ts=4 : */