Variables
TopicStorageOrders_example.cpp File Reference

Go to the source code of this file.

Variables

Matrix< int, 3, 4, ColMajor > Acolmajor
 
Acolmajor<< 8, 2, 2, 9, 9, 1, 4, 4, 3, 5, 4, 5;cout<< "The matrix A:"<< endl;cout<< Acolmajor<< endl<< endl;cout<< "In memory (column-major):"<< endl;for(int i=0;i< Acolmajor.size();i++) cout<< *(Acolmajor.data()+i)<< " ";cout<< endl<< endl;Matrix< int, 3, 4, RowMajor > Arowmajor = Acolmajor
 

Variable Documentation

◆ Acolmajor

Matrix<int, 3, 4, ColMajor> Acolmajor

Definition at line 1 of file TopicStorageOrders_example.cpp.

◆ Arowmajor

Acolmajor<< 8, 2, 2, 9, 9, 1, 4, 4, 3, 5, 4, 5;cout << "The matrix A:" << endl;cout << Acolmajor << endl << endl; cout << "In memory (column-major):" << endl;for (int i = 0; i < Acolmajor.size(); i++) cout << *(Acolmajor.data() + i) << " ";cout << endl << endl;Matrix<int, 3, 4, RowMajor> Arowmajor = Acolmajor

Definition at line 13 of file TopicStorageOrders_example.cpp.



gtsam
Author(s):
autogenerated on Tue Jul 4 2023 02:40:57