[ Thread Index |
Date Index
| More lists.tuxfamily.org/eigen Archives
]
- To: eigen@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [eigen] FFT update
- From: Benoit Jacob <jacob.benoit.1@xxxxxxxxx>
- Date: Sat, 23 Jan 2010 01:29:48 -0500
- 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; bh=5QJkpU98YENor/OFfJYaVS1e2Y2/kEkggmm2E5W6oi4=; b=R3L7430qAGVR+3XKCYyhoLcAaSl/qeWueE2D0o3TjUpmrrfGzdDnbI7qCxLgLaJq6N yoHlgAG1Mx5s7T5vJf15iHWPLBLlYeaUy8C2g3GvLgDyj0z16+yT/dXL+2emzwNxEPDJ qQ9AAoKDXqzkwODY4RBCExSpCBdDleXRLixTw=
- 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; b=S4UfoV77YTSCtgdr6YSi+CCcebIEh/NNWvGyf3YKRJZgUVADkK8OakN/4km6F5sjuH NzaBaTE8DDfU4j+A1km4TAqqyvogQ9M8Ag/DpVpAOQhVxvEI1Bkz8NVsrbWPw8fcDWCT osaWMqeX/fy8m+VwrTxAPwtpsz+qLyLp3eg5E=
By the way, this "ReturnByValue::coeff() crashes by infinite
recursion" thing is really ugly, I wonder how to fix it!!
C++0x at last brings the ability to remove a base class function from
a derived class... I wonder how to implement that idea in C++98. Is
that enable_if?
Benoit
2010/1/23 Benoit Jacob <jacob.benoit.1@xxxxxxxxx>:
> Hi,
>
> Here's an example: see attached file.
> Enjoy!!
> Benoit
>
> 2010/1/22 Benoit Jacob <jacob.benoit.1@xxxxxxxxx>:
>> ok let me write an example...
>>
>> 2010/1/22 Jitse Niesen <jitse@xxxxxxxxxxxxxxxxx>:
>>> On Fri, 22 Jan 2010, Benoit Jacob wrote:
>>>
>>>> Our "policy" is now:
>>>> - try to return by value, optimizing with the ReturnByValue class,
>>>> wherever possible;
>>>> - otherwise you can just use references.
>>>
>>> Can somebody please explain how to use the ReturnByValue class?
>>> Or should I just extrapolate from the source code?
>>> I could not find any documentation.
>>>
>>> Jitse
>>>
>>>
>>>
>>
>