Main Page | Modules | Data Structures | File List | Data Fields | Globals | Related Pages

solve_plane.c File Reference

#include <volume_io/internal_volume_io.h>
#include <bicpl/geom.h>
#include <bicpl/trans.h>
#include <bicpl/numerical.h>
#include <bicpl/prog_utils.h>

Include dependency graph for solve_plane.c:

Include dependency graph

Go to the source code of this file.

Defines

#define FACTOR   1.0e-6

Functions

public BOOLEAN get_interpolation_weights_2d (Real x, Real y, int n_points, Real xs[], Real ys[], Real weights[])
private BOOLEAN get_two_point_prediction (Real x, Real y, Real x1, Real y1, Real x2, Real y2, Real *xwx1, Real *xwy1, Real *xwx2, Real *xwy2, Real *ywx1, Real *ywy1, Real *ywx2, Real *ywy2)
public BOOLEAN get_prediction_weights_2d (Real x, Real y, int n_points, Real xs[], Real ys[], Real *x_weights[2], Real *x_constant, Real *y_weights[2], Real *y_constant)
public BOOLEAN get_prediction_weights_3d (Real x, Real y, Real z, int n_points, Real xs[], Real ys[], Real zs[], Real *x_weights[3], Real *y_weights[3], Real *z_weights[3])


Define Documentation

#define FACTOR   1.0e-6
 

Definition at line 298 of file solve_plane.c.


Function Documentation

public BOOLEAN get_interpolation_weights_2d Real  x,
Real  y,
int  n_points,
Real  xs[],
Real  ys[],
Real  weights[]
 

Definition at line 26 of file solve_plane.c.

References FALSE, TRUE, and y.

public BOOLEAN get_prediction_weights_2d Real  x,
Real  y,
int  n_points,
Real  xs[],
Real  ys[],
Real *  x_weights[2],
Real *  x_constant,
Real *  y_weights[2],
Real *  y_constant
 

Definition at line 174 of file solve_plane.c.

References get_two_point_prediction(), TRUE, and y.

public BOOLEAN get_prediction_weights_3d Real  x,
Real  y,
Real  z,
int  n_points,
Real  xs[],
Real  ys[],
Real  zs[],
Real *  x_weights[3],
Real *  y_weights[3],
Real *  z_weights[3]
 

Definition at line 300 of file solve_plane.c.

References add_to_linear_least_squares(), delete_linear_least_squares(), FACTOR, FALSE, get_linear_least_squares_solution(), get_random_0_to_1(), initialize_linear_least_squares(), make_rotation_transform(), make_translation_transform(), TRUE, and y.

private BOOLEAN get_two_point_prediction Real  x,
Real  y,
Real  x1,
Real  y1,
Real  x2,
Real  y2,
Real *  xwx1,
Real *  xwy1,
Real *  xwx2,
Real *  xwy2,
Real *  ywx1,
Real *  ywy1,
Real *  ywx2,
Real *  ywy2
 

Definition at line 132 of file solve_plane.c.

References FALSE, TRUE, and y.

Referenced by get_prediction_weights_2d().


Generated on Wed Jul 28 09:11:20 2004 for BICPL by doxygen 1.3.7