Revision 1805 trunk/src/linad99/fvar.hpp

fvar.hpp (revision 1805)
3155 3155
//class fvar_ptr { dvar_vector *p; };
3156 3156

  
3157 3157
/**
3158
 * Description not yet available.
3159
 * \param
3158
 * Class definition of matrix with derivitive information
3159
  \index_min
3160

  
3160 3161
 */
3161 3162
class dvar_matrix
3162 3163
{
......
3647 3648

  
3648 3649

  
3649 3650

  
3651
   void colfill_seqadd(const int &, const int &, const int &);
3650 3652
   void colfill_seqadd(const int &, double, double);
3651 3653
   void rowfill_seqadd(const int &, double, double);
3652 3654
   void colfill(int j, const dvector & v);
......
3966 3968
      return (colmax() - colmin() + 1);
3967 3969
   }
3968 3970
   void rowshift(int min);
3971
   inline ivector & elem(int i)
3972
   {
3973
      return (*(m + i));
3974
   }
3975
   inline int &elem(int i, int j)
3976
   {
3977
      return (*((*(m + i)).v + j));
3978
   }
3979
   inline const ivector & elem(int i) const
3980
   {
3981
      return (*(m + i));
3982
   }
3983
   inline const int &elem(int i, int j) const
3984
   {
3985
      return (*((*(m + i)).v + j));
3986
   }
3969 3987

  
3988

  
3970 3989
   void write_on(const ostream &) const;
3971 3990
   void write_on(const uostream &) const;
3972 3991
   void read_from(const istream &);
......
3974 3993
   void initialize(void);
3975 3994
   friend class i3_array;
3976 3995
   void fill_seqadd(int, int);
3996
   void colfill_seqadd(int, int, int);
3977 3997
};
3978 3998

  
3979 3999
dvariable regression(const dvector & obs, const dvar_vector & pred);

Also available in: Unified diff