Sha256: 9f9d015a731a2a52b2cf86e474a4ea2b0be1ae9180fb3489c08ff985591b223c

Contents?: true

Size: 859 Bytes

Versions: 14

Compression:

Stored size: 859 Bytes

Contents

/*
  sf_dawson.c
  Ruby/GSL: Ruby extension library for GSL (GNU Scientific Library)
    (C) Copyright 2001-2006 by Yoshiki Tsunesada

  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 FITNESS FOR A PARTICULAR PURPOSE.
*/

#include "rb_gsl_sf.h"

static VALUE rb_gsl_sf_dawson(VALUE obj, VALUE x)
{
  return rb_gsl_sf_eval1(gsl_sf_dawson, x);
}

static VALUE rb_gsl_sf_dawson_e(VALUE obj, VALUE x)
{
  return rb_gsl_sf_eval_e(gsl_sf_dawson_e, x);
}

void Init_gsl_sf_dawson(VALUE module)
{
  rb_define_module_function(module, "dawson",  rb_gsl_sf_dawson, 1);
  rb_define_module_function(module, "dawson_e",  rb_gsl_sf_dawson_e, 1);
}

Version data entries

14 entries across 14 versions & 5 rubygems

Version Path
gsl-nmatrix-1.15.3.2 ext/sf_dawson.c
romanbsd-gsl-1.11.2.2 ext/sf_dawson.c
gsl-nmatrix-1.15.3.1 ext/sf_dawson.c
rb-gsl-1.16.0 ext/sf_dawson.c
rb-gsl-1.15.3.2 ext/sf_dawson.c
rb-gsl-1.15.3.1 ext/sf_dawson.c
blackwinter-gsl-1.15.3.2 ext/sf_dawson.c
gsl-nmatrix-1.15.3.0 ext/sf_dawson.c
gsl-1.15.3 ext/sf_dawson.c
gsl-1.14.7 ext/sf_dawson.c
gsl-1.14.6 ext/sf_dawson.c
gsl-1.14.5 ext/sf_dawson.c
gsl-1.12.109 ext/sf_dawson.c
gsl-1.12.108 ext/sf_dawson.c