SHARE
TWEET

Untitled




Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- #include "matrix.hpp"
- int main() {
- matrix<double> m(4, 1);
- m(1, 0) = 1;
- m(2, 0) = 1;
- m(3, 0) = 1;
- matrix<int> r(1, 3);
- r(0, 0) = 1;
- r(0, 1) = 1;
- r(0, 2) = 1;
- std::cout << kronecker_product(m, r);
- return 0;
- }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy.