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: Tim Hutt <tdhutt@xxxxxxxxx>
- Date: Thu, 13 Aug 2009 20:02:33 -0400
- 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 :from:date:message-id:subject:to:content-type :content-transfer-encoding; bh=QTqb+zUO2DXwuysUNqmcWXYzVv3v+7BdBkvka9b6TSg=; b=bTNOg87dg+33pAzz9sNIGPSLexhOT2KuJ4FBd+KTWSffcImjFvsjfixp9HBhuGnBp3 twVuMyvOwa+UtUHwYwHNDy+8nK3jWhEIEkH9U2+213SVgpOUcfhI1wy45G4jv1zSR2Nt 4GmioKbc0bncODL7SBX224DjFu0G46cqAcN2s=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; b=r5fn4NZJz0B5anGoYZLRVaiMB42NJY2yO02W/WAvz5pedHNZdDP7u1RzTRc01m4hH8 UWSvUpDDcrlcrKuSlgZnsrO9lGZOD8FklXMc51Dc8SA4ToBOX28zNDniivcB1wjquNtV 0rHa09Ztdw5TKJKPL+zppb5xdWZLI1DBpO0Ss=
>> +1, to full precision default. To give an example why: I didn't even know
>> streams *had* a precision setting! I suspect if you survey C++ programmers,
>
> +1 too.
> And i agree, i admint i did not know about .precision() neither....
Full precision is usually excessive for debugging purposes. You'll get
silly matrices like this:
12.3243598603956866 23.397783900968423 4.39399971202043945
2.35459959006778223 3.5969699400049499 -6.2333456797887965
.....
It would be much better just to add a note to the documentation about
the precision settings...