#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.
◆ IL_matrix_create()
int IL_matrix_create |
( |
struct interp_params * |
params, |
|
|
struct triple * |
points, |
|
|
int |
n_points, |
|
|
double ** |
matrix, |
|
|
int * |
indx |
|
) |
| |
- Author
- Lubos Mitas (original program and various modifications)
-
H. Mitasova, I. Kosinovsky, D. Gerdes, D. McCauley (GRASS4.1 version of the program and GRASS4.2 modifications)
-
L. Mitas, H. Mitasova, I. Kosinovsky, D.Gerdes, D. McCauley (1993, 1995)
-
modified by McCauley in August 1995
-
modified by Mitasova in August 1995, Nov. 1996
- Copyright
- (C) 1993-1996 by Lubos Mitas and the GRASS Development Team
-
This program is free software under the GNU General Public License (>=v2). Read the file COPYING that comes with GRASS for details.
Definition at line 39 of file matrix.c.
◆ IL_matrix_create_alloc()
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()
- Parameters
-
| params | struct interp_params * |
| points | points for interpolation as struct triple |
| n_points | number of points |
[out] | matrix | the matrix |
| indx | |
- Returns
- -1 on failure, 1 on success
Definition at line 72 of file matrix.c.