Opened 14 years ago

Closed 14 years ago

#2686 closed Bugs (fixed)

lower/upper triangular matrices are defined and used transposed from math usage

Reported by: dougrm@… Owned by: Gunter
Milestone: Boost 1.38.0 Component: uBLAS
Version: Boost 1.37.0 Severity: Problem
Keywords: Cc:

Description

The first paragraph of http://www.boost.org/doc/libs/1_37_0/libs/numeric/ublas/doc/triangular.htm#triangular_matrix describes when elements of lower and upper triangular matrices are fixed at 0, The definition is transposed from what I have always understood to define lower/upper triangular. With the given definition, a lower triangular matrix has enforced zeros in the lower triangular portion (when i>j). To me, that is an upper triangular matrix. Oh, I just looked at a little bit of the code and I think it does what the document says -- i.e., the wrong thing. So, this ticket should apply to numeric/ublas software also.

Change History (2)

comment:1 by Steven Watanabe, 14 years ago

Component: DocumentationuBLAS
Owner: changed from Matias Capeletto to Gunter

comment:2 by Gunter, 14 years ago

Resolution: fixed
Status: newclosed

(In [50916]) * fix and close #2686

  • replaced the word "upper" by "lower" because the description is for lower triangular matrices
  • added more detailed example for the use of triangular matrices and adaptors
Note: See TracTickets for help on using tickets.