Example #1
0
  /** 
   * Constructor 
   * \param[in] x vector
   * \param[in] Sx covariance
   * \param[in] t time
   */
  RandomVec(const VecType x, const MatType Sx, const TimeStamp t = TimeStamp() ) :
    isValid_Sx_L_(false), 
    isValid_Sx_inv_(false),
    isValid_Sx_det_(false),
    gen_(NULL)
  {
    if ( !dimCheck() ){
      exit(-1);
    }
    set(x);
    setCov(Sx);
    t_ = t;

  }
Example #2
0
  /** 
   * Constructor 
   * \param[in] x vector
   * \param[in] Sx covariance
   * \param[in] t time
   */
  RandomVec(VecType x, MatType Sx, double t = -1) : 
    isValid_Sx_L_(false), 
    isValid_Sx_inv_(false),
    isValid_Sx_det_(false),
    gen_(NULL)
  {
    if ( !dimCheck() ){
      exit(-1);
    }
    set(x);
    setCov(Sx);
    t_ = t;

  }
Example #3
0
 /** 
  * Set the vector with a covariance matrix, and time
  * \param[in] x vector to be set
  * \param[in] Sx covariance to be set
  * \param[in] t time
  */
 void set( const VecType &x, const MatType &Sx, const TimeStamp &t){
   set(x);
   setCov(Sx);
   t_ = t;
 }
Example #4
0
 /** 
  * Set the vector with a covariance matrix
  * \param[in] x vector to be set
  * \param[in] Sx covariance to be set
  */
 void set( const VecType &x, const MatType &Sx){
   set(x);
   setCov(Sx);
 }
Example #5
0
 /** 
  * Set the vector with a covariance matrix, and time
  * \param[in] x vector to be set
  * \param[in] Sx covariance to be set
  * \param[in] t time
  */
 void set( VecType &x, MatType &Sx, double t){
   set(x);
   setCov(Sx);
   t_ = t;
 }
Example #6
0
 /** 
  * Set the vector with a covariance matrix
  * \param[in] x vector to be set
  * \param[in] Sx covariance to be set
  */
 void set( VecType &x, MatType &Sx){
   set(x);
   setCov(Sx);
 }