Ignore:
Timestamp:
Feb 20, 2007, 8:18:48 PM (16 years ago)
Author:
Jari Häkkinen
Message:

Fixes #76. Creating/recreating BLAS support matrix only when needed.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/yat/utility/matrix.h

    r759 r762  
    6767  /// the omitted functionality could be included.
    6868  ///
    69   /// @todo Maybe it would be smart to create temporary objects need
    70   /// for BLAS in constructors. As it is now temporary objects are
    71   /// called before BLAS functionality iss used, cf. const matrix&
    72   /// matrix::operator*=(const matrix& other)
    73   ///
    7469  class matrix
    7570  {
     
    323318       \brief Swap row \a i and column \a j.
    324319
     320       The matrix must be square.
     321
    325322       \throw GSL_error if either index is out of bounds, or if matrix
    326323       is not square.
     
    457454    gsl_matrix* create_gsl_matrix_copy(void) const;
    458455
     456    // blas_result_ is used to temporarily store result in BLAS calls
     457    // and when not NULL it should always have the same size as
     458    // m_. Memory is not allocated for blas_result_ until it is
     459    // needed.
     460    gsl_matrix* blas_result_;
    459461    gsl_matrix* m_;
    460462    gsl_matrix_view* view_;
Note: See TracChangeset for help on using the changeset viewer.