Re: [eigen] default printing format |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/eigen Archives
]
- To: eigen@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [eigen] default printing format
- From: Gael Guennebaud <gael.guennebaud@xxxxxxxxx>
- Date: Fri, 14 Aug 2009 12:11:16 +0200
- 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=wd+aD5FrS13rM1FTv0Gz3JAlDM/aR30M95sH5cIJr08=; b=cq3dOJwlr4F64JvaMqcVd1UxkoACVd2xgI0g53tVBcwUPmcONN2IJx/lT2sGYlytk9 d/Ii982ISEOanuuALTs0pWLCuvS8j8KAP09UCsa1mxKU+j6yslZHt/23eI1FVjtw1BAM mkoXwijG+noxqjBZRaxX1BgGs55yL0gM7WMx8=
- 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=dWwIepfINxdosE/NqOkEXmCvXYWjez6aQ9yTl9kEg2dFQ1vq2ejSwdSOxljcQjVK2O OevoTSKUnhZpAX+PUkGiVdHtMJZ6xjNe2eD684ZmYuMnyqCpWyrImWKUl+uajBP2AOal E62iFf9ROb/wYDj4w1oA12cXkbjlekCssG0oM=
I agree the default should be the c++ default.
>> Moreover, already in Eigen 2.0 one can set once and for all a default
>> IOFormat different from the "default default":
>>
>> #define EIGEN_DEFAULT_IO_FORMAT Eigen::IOFormat(16)
>> before #including eigen.
>
> Would it be possible to add a function for those people who dislike macros?
> E.g., something like
>
> static void IOFormat::setDefaultFormat(const IOFormat& fmt)
Unfortunately as long as Eigen will stay as a pure template lib, this
won't be possible.
gael.
>
> Jitse
>
>
>