SHARE
TWEET

Untitled

a guest Sep 22nd, 2019 78 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include "matrix.hpp"
  2.  
  3. int main() {
  4.     matrix<double> m(4, 1);
  5.     m(1, 0) = 1;
  6.     m(2, 0) = 1;
  7.     m(3, 0) = 1;
  8.     matrix<int> r(1, 3);
  9.     r(0, 0) = 1;
  10.     r(0, 1) = 1;
  11.     r(0, 2) = 1;
  12.     std::cout << kronecker_product(m, r);
  13.     return 0;
  14. }
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. OK, I Understand
 
Top