[eigen] Feature request - Prevent dynamic resizing of a matrix |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/eigen Archives
]
- To: eigen@xxxxxxxxxxxxxxxxxxx
- Subject: [eigen] Feature request - Prevent dynamic resizing of a matrix
- From: Timothy Hunter <tjhunter@xxxxxxxxxxxx>
- Date: Tue, 27 Jan 2009 15:08:32 -0800
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:date :x-google-sender-auth:message-id:subject:from:to:content-type :content-transfer-encoding; bh=CHlRDugCg00O49mVdhOMvhe3Se2G0Io+FMARLG+xcjk=; b=tywhOVvoQDvuJ9eC10ysKbGKuLBw9eCcin7IBrG6jxLGqPCMkEZihJn8rFouNKGthf RCg1UbKnBzuZbsZtbl7jwNQx7cFqtLoFVQ+O3VIt34rryAMUYGLTJVMW10owTdyV1nao +yu68dJkeSuu0FFOTRIVeKNUaO8ioisfWBdIk=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:content-type:content-transfer-encoding; b=t4/LvIwXoqW1krEOPs1t0iznDZ/rJc4T+vaH0nIrRqyO988jrYxp97HAYdSsW1SU+i wxAJNHpFE3hYnH1tQF0ir357MAPMKazaVc8JQmTZQgBBgcjXci4QsJtU1udsGmaJ+NcS HELseF/kRgBYDXJtQGabLqvXDkTsDzRliLbWQ=
Hello all,
I has been decided that the operator=(A,B) would resize A if it does
not fit the size of B, right?
I had a bug in my code I had problems to detect because of this
feature. It would be nice to have an assert that fails if the matrices
are of different size, and let the user decide to use this assert with
some flag definitions like EIGEN_DO_NOT_RESIZE_DYNAMIC_MATRICES.
Is it possible to do it with the current code?
-- Timothy Hunter