Functions

Functions

boolvec * dem (const char *dem_name="*")
 
boolvec * dem_add (REAL weight, const char *dem_name="*")
 

Detailed Description

Function Documentation

bool dem ( const char *  dem_name = "*")
Tcl syntax:
dem dem_name
Description:
Using this rule the resulting surface approximates DEM in least squares meaning.
Parameters
dem_namename of DEM dataset
Math:
This command adds the following functional to the functional sequence:

\[ \Phi(u_{1,1},\ldots,u_{N,M}) = \sum_{i,j} \left( u_{i,j} - z(x_i, y_j) \right)^2, \]

where (i,j) - indices of the cells, $z(x_i, y_j)$ - DEM value for the (i,j) cell.
bool dem_add ( REAL  weight,
const char *  dem_name = "*" 
)
Tcl syntax:
dem_add weight dem_name
Description:
This function modifies previous (modifiable) rule by adding the dem rule with some weight.
Parameters
weightinformational weight for this rule
dem_namename of DEM dataset
Math:
This command modifies previous functional $ \Phi_0 $ by adding $ \Phi_1 $:

\[ \Phi(u_{1,1},\ldots,u_{N,M}) = \Phi_0(u_{1,1},\ldots,u_{N,M}) + w\Phi_1(u_{1,1},\ldots,u_{N,M}), \]

where $ w $ - informational weight,

\[ \Phi_1(u_{1,1},\ldots,u_{N,M}) = \sum_{i,j} \left( u_{i,j} - z(x_i, y_j) \right)^2, \]

where (i,j) - indices of the cells, $z(x_i, y_j)$ - DEM value for the (i,j) cell.



surfit: gridding and contouring software.