Re: [eigen] inconsistent cwise() support |

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

*To*: eigen@xxxxxxxxxxxxxxxxxxx*Subject*: Re: [eigen] inconsistent cwise() support*From*: Hauke Heibel <hauke.heibel@xxxxxxxxxxxxxx>*Date*: Mon, 16 Nov 2009 21:35:54 +0100*Dkim-signature*: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=TPFPjKTf14X05VChxeakDt1EOyIFnI8FkUfRG2KiCCI=; b=Gz5hCJhVlO06b78Ubkp/X2QbNcGyZCAQS1yHU3jEkt5oZZCynkH2S2YEU2ilaSAU5R CyXv+Zh9ksCejrkyr7NFGY/vBGsYEmZLg1OGtn9yzgF21oMERso5LRCiS5u2CjRvPp+7 ON25k8ywVQ3X+T6lik8vLtqYJvhq5kd6j//h4=*Domainkey-signature*: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=IkDm8Ylo2bf4W4yDvj5D3fiHrD+tVkN/XfSOnB57hzxmhm10r2kXRwPjabz3vIok9E aQ6abEVdM74F7eeJtciuCUPbB9vcEE9cKkzEq+4hmsBsyYy3DaWl/Ky7p29aKEDHxY3r D6zvk22q6WZSvoD2r8PLt0lwms+wO1E/jpBcI=

On Mon, Nov 16, 2009 at 7:22 PM, Benoit Jacob <jacob.benoit.1@xxxxxxxxx> wrote:

Not really, since I am really required to work on matrices - actually I was working on spectral clustering involving eigenvalue decompositions (so real linear algebra stuff).

I totally agree, I was just thinking about consistingly supporting (I do even volunteer to implement it)

.cwise() += | -= | /= | *=

and not in general

MatrixBase::operator += etc.

I just think that some problems (formulated in an algebraic framework) do sometimes need individual rescaling and sometimes even shifting when you need to work e.g. on zero-mean input data.

- Hauke

It seems like what you want is Gael's proposal for "true array support".

Not really, since I am really required to work on matrices - actually I was working on spectral clustering involving eigenvalue decompositions (so real linear algebra stuff).

vector - scalar is not a standard operation; it doesn't have a

geometric meaning. Actually matrix - scalar is sometimes used as

matrix - scalar*Identity, so that's another reason not to let it mean

coeff-wise substraction.

I totally agree, I was just thinking about consistingly supporting (I do even volunteer to implement it)

.cwise() += | -= | /= | *=

and not in general

MatrixBase::operator += etc.

I just think that some problems (formulated in an algebraic framework) do sometimes need individual rescaling and sometimes even shifting when you need to work e.g. on zero-mean input data.

- Hauke

**Follow-Ups**:**Re: [eigen] inconsistent cwise() support***From:*Benoit Jacob

**References**:**[eigen] inconsistent cwise() support***From:*Hauke Heibel

**Re: [eigen] inconsistent cwise() support***From:*Benoit Jacob

**Messages sorted by:**[ date | thread ]- Prev by Date:
**Re: [eigen] inconsistent cwise() support** - Next by Date:
**Re: [eigen] inconsistent cwise() support** - Previous by thread:
**Re: [eigen] inconsistent cwise() support** - Next by thread:
**Re: [eigen] inconsistent cwise() support**

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