Logo white

Peter M. Groen / openbr

Sign in
  • Sign in
  • Project
  • Files
  • Commits
  • Network
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Labels
  • Wiki
  • openbr
  • 3rdparty
  • eigen-eigen-5097c01bcdc4
  • doc
  • examples
  • Tutorial_ArrayClass_mult.cpp
  • added more source
    5315f9da
    Josh Klontz authored
    2012-12-20 10:34:48 -0500  
    Browse Code ยป
Tutorial_ArrayClass_mult.cpp 237 Bytes
Edit Raw Blame History
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
#include <Eigen/Dense>
#include <iostream>

using namespace Eigen;
using namespace std;

int main()
{
  ArrayXXf a(2,2);
  ArrayXXf b(2,2);
  a << 1,2,
       3,4;
  b << 5,6,
       7,8;
  cout << "a * b = " << endl << a * b << endl;
}