Changeset 1016 for trunk/yat/utility


Ignore:
Timestamp:
Feb 1, 2008, 5:46:08 PM (14 years ago)
Author:
Peter
Message:

passing VectorBase? in SVD - refs #256

Location:
trunk/yat/utility
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/yat/utility/SVD.cc

    r1000 r1016  
    2626
    2727#include "SVD.h"
     28#include "vector.h"
     29#include "VectorBase.h"
     30
    2831#include <sstream>
    2932
     
    98101
    99102
    100   void SVD::solve(const utility::vector& b, utility::vector& x)
     103  void SVD::solve(const utility::VectorBase& b, utility::vector& x)
    101104  {
    102105    int status=gsl_linalg_SV_solve(U_.gsl_matrix_p(), V_.gsl_matrix_p(),
  • trunk/yat/utility/SVD.h

    r1000 r1016  
    3737namespace yat {
    3838namespace utility {
     39
     40  class VectorBase;
    3941
    4042  /**
     
    112114       \throw GSL_error if the underlying GSL function fails.
    113115    */
    114     void solve(const utility::vector& b, utility::vector& x);
     116    void solve(const utility::VectorBase& b, utility::vector& x);
    115117
    116118    /**
Note: See TracChangeset for help on using the changeset viewer.