SAGA API
v9.6
|
#include <time.h>
#include <cfloat>
#include "mat_tools.h"
#include "table.h"
#include "grid.h"
#include "grids.h"
#include "saga_api.h"
Go to the source code of this file.
Functions | |
double | SG_Get_Square (double Value) |
double | SG_Get_Rounded (double Value, int Decimals) |
double | SG_Get_Rounded_To_SignificantFigures (double Value, int Decimals) |
int | SG_Get_Digit_Count (int Number) |
CSG_String | SG_Get_Double_asString (double Number, int Width, int Precision, bool bScientific) |
int | SG_Compare_Int (const void *a, const void *b) |
int | SG_Compare_Double (const void *a, const void *b) |
int | SG_Compare_Char_Ptr (const void *a, const void *b) |
double | SG_Degree_To_Decimal (double Deg, double Min, double Sec) |
void | SG_Decimal_To_Degree (double Value, double &Deg, double &Min, double &Sec) |
CSG_Matrix | SG_Get_Correlation_Matrix (const CSG_Matrix &Values, bool bCovariances) |
int SG_Compare_Char_Ptr | ( | const void * | a, |
const void * | b | ||
) |
Definition at line 211 of file mat_tools.cpp.
int SG_Compare_Double | ( | const void * | a, |
const void * | b | ||
) |
Definition at line 199 of file mat_tools.cpp.
Referenced by CSG_Simple_Statistics::Get_Gini(), CSG_Simple_Statistics::Get_Quantile(), and CSG_Vector::Sort().
int SG_Compare_Int | ( | const void * | a, |
const void * | b | ||
) |
Definition at line 187 of file mat_tools.cpp.
void SG_Decimal_To_Degree | ( | double | Value, |
double & | Deg, | ||
double & | Min, | ||
double & | Sec | ||
) |
Definition at line 233 of file mat_tools.cpp.
double SG_Degree_To_Decimal | ( | double | Deg, |
double | Min, | ||
double | Sec | ||
) |
Definition at line 224 of file mat_tools.cpp.
CSG_Matrix SG_Get_Correlation_Matrix | ( | const CSG_Matrix & | Values, |
bool | bCovariances | ||
) |
Definition at line 3473 of file mat_tools.cpp.
References C, CSG_Simple_Statistics::Get_Mean(), CSG_Matrix::Get_NX(), CSG_Matrix::Get_NY(), and CSG_Simple_Statistics::Get_StdDev().
Referenced by CSG_Regression_Multiple::_Get_Regression().
int SG_Get_Digit_Count | ( | int | Number | ) |
Definition at line 144 of file mat_tools.cpp.
Referenced by CSG_Matrix::to_String().
CSG_String SG_Get_Double_asString | ( | double | Number, |
int | Width, | ||
int | Precision, | ||
bool | bScientific | ||
) |
Definition at line 159 of file mat_tools.cpp.
References CSG_String::Format().
Referenced by CSG_Vector::to_String(), and CSG_Matrix::to_String().
double SG_Get_Rounded | ( | double | Value, |
int | Decimals | ||
) |
Definition at line 83 of file mat_tools.cpp.
Referenced by CSG_Grid_System::Create().
double SG_Get_Rounded_To_SignificantFigures | ( | double | Value, |
int | Decimals | ||
) |
Definition at line 107 of file mat_tools.cpp.
Referenced by CSG_Parameters_Point_Search::On_Parameter_Changed(), CSG_Parameters_Grid_Target::Set_User_Defined(), and CSG_Parameters_Grid_Target::Set_User_Defined_ZLevels().
double SG_Get_Square | ( | double | Value | ) |
Definition at line 70 of file mat_tools.cpp.
Referenced by CSG_Regression_Multiple::_Get_Regression(), CSG_Regression_Weighted::Calculate(), CSG_Regression_Multiple::Get_CrossValidation(), CSG_Trend::Get_Trend(), CSG_Trend_Polynom::Get_Trend(), and SG_Get_Distance_Polar().