Sha256: 3636a7f596a28d88c3e6cb01e265b6fd6a458c056a303e9bd57cdf4c3f0e5da6

Contents?: true

Size: 143 Bytes

Versions: 22

Compression:

Stored size: 143 Bytes

Contents

#!/usr/bin/env ruby
require("gsl")
x = GSL::Vector.linspace(0, 20, 100)
y = GSL::Sf::dawson(x)
y.graph(x, "-T X -C -g 3 -L 'Dawson integral'")

Version data entries

22 entries across 22 versions & 4 rubygems

Version Path
gsl-2.1.0.3 examples/sf/dawson.rb
gsl-2.1.0.2 examples/sf/dawson.rb
gsl-2.1.0.1 examples/sf/dawson.rb
gsl-2.1.0 examples/sf/dawson.rb
gsl-1.16.0.6 examples/sf/dawson.rb
rb-gsl-1.16.0.5 examples/sf/dawson.rb
rb-gsl-1.16.0.4 examples/sf/dawson.rb
rb-gsl-1.16.0.3 examples/sf/dawson.rb
rb-gsl-1.16.0.3.rc1 examples/sf/dawson.rb
gsl-nmatrix-1.15.3.2 examples/sf/dawson.rb
gsl-nmatrix-1.15.3.1 examples/sf/dawson.rb
rb-gsl-1.16.0.2 examples/sf/dawson.rb
rb-gsl-1.16.0.1 examples/sf/dawson.rb
rb-gsl-1.16.0 examples/sf/dawson.rb
rb-gsl-1.15.3.2 examples/sf/dawson.rb
rb-gsl-1.15.3.1 examples/sf/dawson.rb
blackwinter-gsl-1.15.3.2 examples/sf/dawson.rb
gsl-nmatrix-1.15.3.0 examples/sf/dawson.rb
gsl-1.15.3 examples/sf/dawson.rb
gsl-1.14.7 examples/sf/dawson.rb