Ignore:
Timestamp:
Nov 28, 2005, 12:40:10 AM (17 years ago)
Author:
Jari Häkkinen
Message:

Continued fixing with views related to matrix.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/better_matrix_class/lib/gslapi/matrix.h

    r407 r408  
    3232  /// data is deallocated.
    3333  ///
    34   /// @note All GSL matrix related functions are not implement but all
    35   /// functionality, except binary file support, defined for GSL
    36   /// matrices can be achieved with this interface class.
     34  /// @note All GSL matrix related functions are not implement but
     35  /// most functionality defined for GSL matrices can be achieved with
     36  /// this interface class. Most notable GSL functionality not
     37  /// supported are no binary file support and views on arrays,
     38  /// gslapi::vectors, gsl_vectors, diagonals, subdiagonals, and
     39  /// superdiagonals. If there is an interest from the user community,
     40  /// the omitted functionality could be included.
    3741  ///
    3842  class matrix
     
    7377    /// is viewed. Also, using the copy constructor will create a new
    7478    /// matrix object that is a copy of whatever is viewed. If a copy
    75     /// of the view is needed then you should use this consturctor to
    76     /// get one.
     79    /// of the view is needed then you should use this constructor to
     80    /// obtain a copy.
    7781    ///
    7882    /// @note If the object viewed by the view goes out of scope or is
     
    9397    /// of file marker.
    9498    ///
    95     explicit matrix(std::istream &);
     99    explicit matrix(std::istream &) throw (utility::IO_error,std::exception);
    96100
    97101    ///
     
    142146    ///
    143147    bool equal(const matrix&, const double precision=0) const;
     148
     149    ///
     150    /// @return A const pointer to the internal GSL matrix.
     151    ///
     152    // Jari, is this needed?
     153    inline const gsl_matrix* gsl_matrix_pointer(void) const { return m_; }
     154
     155    ///
     156    /// @return A pointer to the internal GSL matrix.
     157    ///
     158    // Jari, is this needed?
     159    inline gsl_matrix* gsl_matrix_pointer(void) { return m_; };
    144160
    145161    ///
     
    387403    gsl_matrix* gsl_matrix_copy(void) const;
    388404
    389     ///
    390     /// @return A const pointer to the internal GSL matrix.
    391     ///
    392     // Jari, is this needed?
    393     inline const gsl_matrix* gsl_matrix_pointer(void) const { return m_; }
    394 
    395     ///
    396     /// @return A pointer to the internal GSL matrix.
    397     ///
    398     // Jari, is this needed?
    399     inline gsl_matrix* gsl_matrix_pointer(void) { return m_; };
    400 
    401405    gsl_matrix* m_;
    402406    gsl_matrix_view* view_;
Note: See TracChangeset for help on using the changeset viewer.