[eigen] default printing format |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/eigen Archives
]
- To: eigen <eigen@xxxxxxxxxxxxxxxxxxx>
- Subject: [eigen] default printing format
- From: Benoit Jacob <jacob.benoit.1@xxxxxxxxx>
- Date: Thu, 13 Aug 2009 15:59:49 -0400
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=O73uQMqHY67YInOGCN/zs+qRf4wuRkiC0CjlMHy+T5k=; b=i49EXYVYs7knBmn3K8pCNF0Moc2btCAvECDTeKLRRPmtT6HIbtThwbx3qkevf3qGDj PRvzhUAKFZUyNl98i1SImFkb+N3KaqxWTtGoTT9jrIw/lWvoSEKXTwLGrfjaN+D68sPI o/sm8k6cZqJAyB2FHD6pqPjV10Zm+x9W5eM2g=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=EZVuBWHdog0qj2cgjzTdVlo2avZo9N3zxA/Eb+VzeTgJeUv2WgoOtVT6ICZtHVe4QA zAJhhkrkGj96zkEnFlzTu7YzlbT47PzBLdG0TlV07yywwYbXkMmUp18+Pse4Vkc9lAQZ H/gFzHxGIGta2SS8RhD58Vc4wVs9VKaDezfmw=
Hi,
Do you think that the default IOFormat should have alignment enabled,
so that cout << matrix has aligned columns?
Pro: looks much better
Con: takes 2x more time, is useless when outputting to a file that's
not meant to be read by a human
While i'm here, here's another request i've received: that the default
precision be full precision (e.g. 16 digits for double). Here i have a
rather strong opinion against this, because the correct way to achieve
this IMO is to set the stream's precision, so that not only Eigen
matrices but all numbers use that precision. But i still wanted to run
this request through this list in case I missed something.
Benoit