#include <complex>
#include <boost/math/quaternion.hpp>
#include <boost/math/octonion.hpp>
using namespace std;
using namespace boost::math;
int main()
{
octonion<double> o1;
octonion<double> o2(1, 2, 3, 4, 5, 6, 7, 8);
complex<double> c1(5, 6);
quaternion<double> q1(c1);
octonion<double> o3(q1);
// 色々計算
o1 = (o1+c1)*o2 - o3/q1;
return 0;
}