mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-02 05:04:08 +08:00
21 lines
305 B
C++
21 lines
305 B
C++
#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;
|
|
return 0;
|
|
}
|
|
|
|
/* vim: set et fenc=utf-8 ff=unix sts=0 sw=4 ts=4 : */
|