GRASS GIS 8 Programmer's Manual 8.3.2(2024)-exported
|
#include <stdio.h>
#include <math.h>
#include <unistd.h>
#include <grass/gis.h>
#include <grass/interpf.h>
#include <grass/gmath.h>
Go to the source code of this file.
Functions | |
int | IL_matrix_create (struct interp_params *params, struct triple *points, int n_points, double **matrix, int *indx) |
int | IL_matrix_create_alloc (struct interp_params *params, struct triple *points, int n_points, double **matrix, int *indx, double *A) |
Creates system of linear equations from interpolated points. | |
int IL_matrix_create | ( | struct interp_params * | params, |
struct triple * | points, | ||
int | n_points, | ||
double ** | matrix, | ||
int * | indx | ||
) |
Definition at line 37 of file matrix.c.
References G_alloc_vector(), IL_matrix_create_alloc(), interp_params::KMAX2, and NULL.
int IL_matrix_create_alloc | ( | struct interp_params * | params, |
struct triple * | points, | ||
int | n_points, | ||
double ** | matrix, | ||
int * | indx, | ||
double * | A | ||
) |
Creates system of linear equations from interpolated points.
Creates system of linear equations represented by matrix using given points and interpolating function interp()
params | struct interp_params * | |
points | points for interpolation as struct triple | |
n_points | number of points | |
[out] | matrix | the matrix |
indx |
Definition at line 69 of file matrix.c.
References amax1(), interp_params::fi, G_debug(), G_ludcmp(), interp_params::interp, l, r, interp_params::rsm, interp_params::scalex, triple::sm, interp_params::theta, x, triple::x, and triple::y.
Referenced by IL_interp_segments_2d_parallel(), and IL_matrix_create().