Skip to content

Instantly share code, notes, and snippets.

@bluescarni
Last active August 29, 2015 14:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bluescarni/795fdaa5750490cddaec to your computer and use it in GitHub Desktop.
Save bluescarni/795fdaa5750490cddaec to your computer and use it in GitHub Desktop.
using ka = kronecker_array<long long>;
std::vector<int> foo{1,2,3,4,5};
std::cout << ka::encode(foo) << '\n';
std::vector<int> out(5u);
ka::decode(out,ka::encode(foo));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment