[eigen] Dynamic memory allocation with Matrix::corner ? |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/eigen Archives
]
- To: <eigen@xxxxxxxxxxxxxxxxxxx>
- Subject: [eigen] Dynamic memory allocation with Matrix::corner ?
- From: <hamelin.philippe@xxxxxxx>
- Date: Thu, 21 Jan 2010 10:00:02 -0500
- Thread-index: Acqaqmgb90/gwNGUT6+BE3RGTwKuyA==
- Thread-topic: Dynamic memory allocation with Matrix::corner ?
Hello,
I just want to make
sure that this code doesn't generate dynamic memory allocation
:
Matrix<double, 6, 6> large;
Matrix<double, 3, 3> small;
large.corner(Eigen::TopLeft, 3, 3) =
small;
Thank
you,
Philippe
Hamelin, ing. jr, M. Ing
Chercheur / Researcher
Tel: (450) 652-8499
x2198
Fax: (450)
652-1316
Institut de
recherche d'Hydro-Québec
Unité
robotique et civil
1740, boul.
Lionel-Boulet
Varennes (QC) J1X 1S1,
Canada