Sha256: f0ee678dc652bbb03b84c6a3d10451bcad18fddae033c33d1aa9cebe1d65ab14

Contents?: true

Size: 1.01 KB

Versions: 2

Compression:

Stored size: 1.01 KB

Contents

/*
  rb_gsl_interp2d.h
  Ruby/GSL: Ruby extension library for GSL (GNU Scientific Library)
    (C) Copyright 2001-2004 by Yoshiki Tsunesada
    (C) Copyright 2015 - by Ruby Science Foundation

  Ruby/GSL is free software: you can redistribute it and/or modify it
  under the terms of the GNU General Public License.
  This library is distributed in the hope that it will be useful, but
  WITHOUT ANY WARRANTY; without even the implied warranty of
  MERCHANTABILITY or INTERPOLATIONNESS FOR A PARTICULAR PURPOSE.
*/
#ifdef GSL_2_0_LATER
#ifndef ___RB_GSL_INTERP2D_H___
#define ___RB_GSL_INTERP2D_H___

#include "rb_gsl.h"
#include <gsl/gsl_interp2d.h>
#include <gsl/gsl_spline2d.h>

typedef struct {
  gsl_interp2d *p;
  gsl_interp_accel *xacc, *yacc;
} rb_gsl_interp2d;

typedef struct {
  gsl_spline2d *s;
  gsl_interp_accel *xacc, *yacc;
} rb_gsl_spline2d;

enum {
  GSL_INTERP2D_BICUBIC,
  GSL_INTERP2D_BILINEAR
};

const gsl_interp2d_type* get_interp2d_type(VALUE);
static void rb_gsl_interp2d_free(rb_gsl_interp2d*);

#endif
#endif

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
gsl-2.1.0.3 ext/gsl_native/include/rb_gsl_interp2d.h
gsl-2.1.0.2 ext/gsl_native/include/rb_gsl_interp2d.h