Summary: | Choose rows/columns from a WithFormat expression | ||
---|---|---|---|
Product: | Eigen | Reporter: | timmyl17 |
Component: | Core - general | Assignee: | Nobody <eigen.nobody> |
Status: | DECISIONNEEDED --- | ||
Severity: | Feature Request | CC: | chtz, gael.guennebaud, jacob.benoit.1 |
Priority: | Low | Keywords: | JuniorJob |
Version: | unspecified | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: |
Description
timmyl17
2012-02-22 16:09:35 UTC
Probably in this case it would be easier to directly set the width of the stream and let Eigen output without alignment (not tested). But if someone cares to implement this, I would not object. Some difficulties: Mat.format(fmt) would have to be responsible for calculating the maximal width of the entries, but this probably won't work if fmt uses StreamPrecision. Also, what shall happen if between different calls the precision of the stream is changed? What shall happen if an entry does not fit into the desired width? So indeed maybe only adding a width instead of or additionally to the precision value would be a better alternative here. -- GitLab Migration Automatic Message -- This bug has been migrated to gitlab.com's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.com/libeigen/eigen/issues/423. |