Sha256: 8fbe44cdddf2386b5effd4ccce7fb0c351c8edcaf2a29fabc0ba298f763945c3

Contents?: true

Size: 785 Bytes

Versions: 11

Compression:

Stored size: 785 Bytes

Contents

/*
  sf_clausen.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.
*/

#include "include/rb_gsl_sf.h"

static VALUE rb_gsl_sf_clausen(VALUE obj, VALUE x)
{
  return rb_gsl_sf_eval1(gsl_sf_clausen, x);
}

static VALUE rb_gsl_sf_clausen_e(VALUE obj, VALUE x)
{
  return rb_gsl_sf_eval_e(gsl_sf_clausen_e, x);
}

void Init_gsl_sf_clausen(VALUE module)
{
  rb_define_module_function(module, "clausen",  rb_gsl_sf_clausen, 1);
  rb_define_module_function(module, "clausen_e",  rb_gsl_sf_clausen_e, 1);
}

Version data entries

11 entries across 11 versions & 2 rubygems

Version Path
gsl-2.1.0.3 ext/gsl_native/sf_clausen.c
gsl-2.1.0.2 ext/gsl_native/sf_clausen.c
gsl-2.1.0.1 ext/gsl_native/sf_clausen.c
gsl-2.1.0 ext/gsl_native/sf_clausen.c
gsl-1.16.0.6 ext/gsl_native/sf_clausen.c
rb-gsl-1.16.0.5 ext/gsl_native/sf_clausen.c
rb-gsl-1.16.0.4 ext/gsl/sf_clausen.c
rb-gsl-1.16.0.3 ext/gsl/sf_clausen.c
rb-gsl-1.16.0.3.rc1 ext/gsl/sf_clausen.c
rb-gsl-1.16.0.2 ext/gsl/sf_clausen.c
rb-gsl-1.16.0.1 ext/gsl/sf_clausen.c