Re: [eigen] two things |

[ Thread Index | Date Index | More lists.tuxfamily.org/eigen Archives ]

*To*: eigen@xxxxxxxxxxxxxxxxxxx*Subject*: Re: [eigen] two things*From*: Christian Mayer <mail@xxxxxxxxxxxxxxxxx>*Date*: Wed, 25 Jun 2008 23:08:39 +0200*Dkim-signature*: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:reply-to :user-agent:mime-version:to:subject:references:in-reply-to :x-enigmail-version:content-type:content-transfer-encoding:sender; bh=cfaNG6hiN77JlNCsB/y0fW2dlMkadhZDc3/+T8JmGVE=; b=dfoxYRwoRjr5/ctqctvBOPLU8QZJddZZLPiNjdNpcKhtmUiMFbCKzv01P4LcJAmEhz hsYiaICTGEnTwl6CyrY0ie5z7Wv/IRuFaxZIxFJbk26k1SPIGeO5/3+RNObCE0WAQ+Sk t8LGMenCJYxz9wdPu8YCAbboZPK1YIJZRIZLM=*Domainkey-signature*: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:reply-to:user-agent:mime-version:to:subject :references:in-reply-to:x-enigmail-version:content-type :content-transfer-encoding:sender; b=clvnJNzjrDVKXJi9XL4MsXiUtTdcYhC+3Wx5hPOdE/KxrNKGcw6RRw4I3CBWghPlSE iQJls9t5tRJVgi1uMUuJnQvcwEHG/HkXHg3DdzcEItSGrua+ASJ/4/oQrPcxgccGd3Da f0d67Y8ZJBA4ZFgM+c00YGa/YZeyrc94Ci8tE=

-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Benoît Jacob schrieb: > Hi, > > 1) we had a debate about introducing a separate Vector class recently, but > since then I realized that it would increase the number of instantiations as > Vector<n> and Matrix<n,1> would be considered as two separate types. Hence > having vector currently implemented as a special case of matrix, is in fact > an optimization. I'm tempted to say that this outweighs the scariness of > Matrix constructors, hence we can bury the idea of Vector class. ok? A vector is exactly the same as a Matrix<n,1> (or Matrix<1,n>...). So *don't* offer a diffent type for it. It might be good to offer an alias (i.e. typedef) for it. And it might make sense to specialize that case. But leave those types identical. CU, Christian -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFIYrPWoWM1JLkHou0RCOEZAJ9mY2/fTMP8mhjRIVC6hn55hVLmmQCfZJJE n3DFbaZQZkhrubyW3inKDIU= =WikD -----END PGP SIGNATURE-----

**Follow-Ups**:**Re: [eigen] two things***From:*Benoît Jacob

**References**:**[eigen] two things***From:*Benoît Jacob

**Messages sorted by:**[ date | thread ]- Prev by Date:
**Re: [eigen] two things** - Next by Date:
**Re: [eigen] two things** - Previous by thread:
**Re: [eigen] two things** - Next by thread:
**Re: [eigen] two things**

Mail converted by MHonArc 2.6.19+ | http://listengine.tuxfamily.org/ |