SAGA API  v9.5
CSG_Trend_Polynom Class Reference

#include <mat_tools.h>

Public Member Functions

 CSG_Trend_Polynom (void)
 
bool Destroy (void)
 
bool Set_Order (int Order=1)
 
bool Clr_Data (void)
 
bool Set_Data (double *x, double *y, int n, bool bAdd=false)
 
bool Add_Data (double x, double y)
 
int Get_Data_Count (void) const
 
double Get_Data_X (int i) const
 
double Get_Data_Y (int i) const
 
bool Get_Trend (void)
 
int Get_Order (void) const
 
int Get_nCoefficients (void) const
 
double Get_Coefficient (int i) const
 
double Get_R2 (void) const
 
double Get_Value (double x) const
 

Detailed Description

Definition at line 2074 of file mat_tools.h.

Constructor & Destructor Documentation

◆ CSG_Trend_Polynom()

CSG_Trend_Polynom::CSG_Trend_Polynom ( void  )

Definition at line 748 of file mat_trend.cpp.

References Destroy().

Member Function Documentation

◆ Add_Data()

bool CSG_Trend_Polynom::Add_Data ( double  x,
double  y 
)

Definition at line 809 of file mat_trend.cpp.

References CSG_Vector::Add_Row().

◆ Clr_Data()

bool CSG_Trend_Polynom::Clr_Data ( void  )

Definition at line 779 of file mat_trend.cpp.

References CSG_Vector::Destroy().

Referenced by Destroy(), and Set_Data().

◆ Destroy()

bool CSG_Trend_Polynom::Destroy ( void  )

Definition at line 754 of file mat_trend.cpp.

References Clr_Data().

Referenced by CSG_Trend_Polynom().

◆ Get_Coefficient()

double CSG_Trend_Polynom::Get_Coefficient ( int  i) const
inline

Definition at line 2094 of file mat_tools.h.

◆ Get_Data_Count()

int CSG_Trend_Polynom::Get_Data_Count ( void  ) const
inline

Definition at line 2086 of file mat_tools.h.

◆ Get_Data_X()

double CSG_Trend_Polynom::Get_Data_X ( int  i) const
inline

Definition at line 2087 of file mat_tools.h.

◆ Get_Data_Y()

double CSG_Trend_Polynom::Get_Data_Y ( int  i) const
inline

Definition at line 2088 of file mat_tools.h.

◆ Get_nCoefficients()

int CSG_Trend_Polynom::Get_nCoefficients ( void  ) const
inline

Definition at line 2093 of file mat_tools.h.

◆ Get_Order()

int CSG_Trend_Polynom::Get_Order ( void  ) const
inline

Definition at line 2092 of file mat_tools.h.

◆ Get_R2()

double CSG_Trend_Polynom::Get_R2 ( void  ) const
inline

Definition at line 2095 of file mat_tools.h.

◆ Get_Trend()

bool CSG_Trend_Polynom::Get_Trend ( void  )

◆ Get_Value()

double CSG_Trend_Polynom::Get_Value ( double  x) const

Definition at line 862 of file mat_trend.cpp.

References CSG_Vector::Get_N().

◆ Set_Data()

bool CSG_Trend_Polynom::Set_Data ( double *  x,
double *  y,
int  n,
bool  bAdd = false 
)

Definition at line 789 of file mat_trend.cpp.

References CSG_Vector::Add_Rows(), Clr_Data(), and CSG_Vector::Get_N().

◆ Set_Order()

bool CSG_Trend_Polynom::Set_Order ( int  Order = 1)

Definition at line 764 of file mat_trend.cpp.

References CSG_Vector::Destroy().


The documentation for this class was generated from the following files: