<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>estshorter</author_name>
  <author_url>https://blog.hatena.ne.jp/estshorter/</author_url>
  <blog_title>われがわログ</blog_title>
  <blog_url>https://waregawa-log.hatenablog.com/</blog_url>
  <categories>
    <anon>C++</anon>
    <anon>Programming</anon>
  </categories>
  <description>自分で若干コードを書かないとEigenオブジェクトをシリアライズできなかったのでメモ。 結論から言うと、C++17環境であれば以下のようにload(), save()を定義してやればよい。 #pragma once #include &lt;cereal/cereal.hpp&gt; #include &lt;cereal/types/vector.hpp&gt; #include &lt;Eigen/Dense&gt; #include &lt;vector&gt; namespace cereal { //Eigenのデータの中身を配列として出力するためのラッパ template &lt;class T&gt; struct DataWrapper…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwaregawa-log.hatenablog.com%2Fentry%2F2020%2F07%2F12%2F110123&quot; title=&quot;Eigenをcerealでシリアライズする - われがわログ&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2020-07-12 11:01:23</published>
  <title>Eigenをcerealでシリアライズする</title>
  <type>rich</type>
  <url>https://waregawa-log.hatenablog.com/entry/2020/07/12/110123</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
