Ignore:
Timestamp:
Feb 1, 2008, 6:00:20 PM (14 years ago)
Author:
Peter
Message:

passing VectorBase? in DataLookup1D - refs #256

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/yat/classifier/DataLookup1D.h

    r1000 r1018  
    3535namespace yat {
    3636namespace utility {
    37   class vector;
     37  class VectorBase;
    3838}
    3939namespace classifier { 
     
    7676
    7777    /**
    78        @brief Create general view from utility::vector
     78       @brief Create general view from utility::VectorBase
    7979   
    8080       Constructor creates a proper MatrixLookup that object can view
     
    8282       \f$ x(i) = vec(index(i)) \f$
    8383    */
    84     DataLookup1D(const utility::vector& vec, const std::vector<size_t>& index);
     84    DataLookup1D(const utility::VectorBase& vec,
     85                 const std::vector<size_t>& index);
    8586
    8687    /**
    87        @brief Create general view from utility::vector
     88       @brief Create general view from utility::VectorBase
    8889   
    8990       Constructor creates a proper MatrixLookup that object can view
     
    9192       \f$ x(i) = vec(i) \f$
    9293    */
    93     DataLookup1D(const utility::vector& vec);
     94    DataLookup1D(const utility::VectorBase& vec);
    9495
    9596    ///
Note: See TracChangeset for help on using the changeset viewer.