#include <iomanip>
#include <iostream>
#include <fstream>
#include <sstream>
#include <string>
#include <vector>
#include <map>
#include <cstring>
#include <cmath>
using namespace std;
#include <bridge.hpp>
Bridge::Bridge() : str("_bridge")
{
}
Bridge::Bridge(char *s) : str(s)
{
}
Bridge::~Bridge()
{
}
void Bridge::pset(char *p)
{
str = p;
}
void Bridge::put()
{
cout << string(str) << endl;
}
void bput()
{
Bridge b = Bridge("bridge");
b.put();
}
dReal _dDot(const dReal *a, const dReal *b, int n)
{
dReal s = 0.0;
for(int i = 0; i < n; ++i){ s += a[i] * b[i]; }
return s;
}