Re: [eigen] Feature request - Prevent dynamic resizing of a matrix |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/eigen Archives
]
- To: eigen@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [eigen] Feature request - Prevent dynamic resizing of a matrix
- From: Benoit Jacob <jacob.benoit.1@xxxxxxxxx>
- Date: Wed, 28 Jan 2009 18:51:46 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=Scotr2Pl6ZeQZ5hxBsv8TuIt7AcSpKfMCd2WUYLAJ7c=; b=ntEubduU9qzf7VqIOKJO8eRIGgfZ9UkHY0tktYc6hkpa4b917d/WR551c+/FAeLITg Xx3j7unmkKhS4Unu+2yEFb/Wsf2WtozUImsHoMjE4OmHNnADU9X7sjDScEnvmfsBxW8E xhLJr0ny30WtwiT7kg+zhNAf+ZcVcmEyKJj6w=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=Zu/oPjARtT2SouCJbxvEhl2cS9V0cYqmyT6DCxIgdKUr7SepZClDbLmA/at1EINPBN m21i8mBMkceBCvPXa31cHVTfKKPlCXs03z6+Hf5IZJlbkNz7NcBTiqBOG57SfRf2Km4T fiNpdu9w78H32KYaayGD+QygXqYgy+yaQ6jnE=
2009/1/28 Keir Mierle <mierle@xxxxxxxxx>:
> This seems like the best way to me, defaulting to Eigen::Resizeable.
Actually, Gael rejected this idea today on IRC with a valid argument.....
> Does
> adding more template parameters like this adversely affect compilation
> time?
...... and his argument was indeed that we shouldn't duplicate template
types -- it's a golden rule in Eigen to minimize the number of
template types as this is indeed important for compilation time,
compiler memory usage, and most importantly, object code size.
Cheers,
Benoit