• Matrix elements are now also displayed using the print() method. Note that for matrices with more than a given number of rows and columns (10 for the time being), excedent elements will be replaced by ..., showing only the corners of the matrix.
    Jürgen Knödlseder authored
     
    Browse Dir »
  • Added an integer parameter to print_elements() method that allows limiting the maximum number of rows and columns in the output. If more rows and/or columns are present than the number specified by the parameter, the excedent elements will be replaced by "..." in the centre of the matrix (i.e. only the corner elements of the matrix will be shown). If the parameter is set to 0, all matrix elements will be printed.
    
    The parameter defaults to 10.
    Jürgen Knödlseder authored
     
    Browse Dir »
  • For cosmetic reasons the include directives have been reordered.
    Jürgen Knödlseder authored
     
    Browse Dir »
  • The matrix classes have been refactored and made compliant to actual coding standards.
    
    Furthermore, the != operator has been fixed as it was not testing the full matrix before.
    
    This revealed another problem with the fill stack that was corrupted for vector fills. The internal array m_stack_work was used by the vector fill stack method and the flush method, and the flush method corrupted the vector fill values before they were used. To solve this issue, an additional working array m_stack_rows has been introduced that is now exclusively used by the vector fill stack. The m_stack_work working array is now exclusively used by the flush method.
    Jürgen Knödlseder authored
     
    Browse Dir »
  • The matrix tools module is not needed anymore as the conversion constructors were put back into the matrix classes.
    Jürgen Knödlseder authored
     
    Browse Dir »