Tutorial_AdvancedInitialization_Zero.cpp
Go to the documentation of this file.
00001 std::cout << "A fixed-size array:\n";
00002 Array33f a1 = Array33f::Zero();
00003 std::cout << a1 << "\n\n";
00004 
00005 
00006 std::cout << "A one-dimensional dynamic-size array:\n";
00007 ArrayXf a2 = ArrayXf::Zero(3);
00008 std::cout << a2 << "\n\n";
00009 
00010 
00011 std::cout << "A two-dimensional dynamic-size array:\n";
00012 ArrayXXf a3 = ArrayXXf::Zero(3, 4);
00013 std::cout << a3 << "\n";


re_vision
Author(s): Dorian Galvez-Lopez
autogenerated on Sun Jan 5 2014 11:33:27