Sha256: bf445bab7d4e49452dc32292eb52e8560fead6431e03b701f79de8a614240592

Contents?: true

Size: 292 Bytes

Versions: 16

Compression:

Stored size: 292 Bytes

Contents

#!/usr/bin/env ruby
require("gsl") 

p GSL::pow_int(8, 3)
p 8*8*8.0

p GSL::pow_2(2)
p GSL::pow_3(2)
p GSL::pow_4(2)
p GSL::pow_5(2)
p GSL::pow_6(2)
p GSL::pow_7(2)
p GSL::pow_8(2)
p GSL::pow_9(2)

p GSL::pow(3.2, 4.5)
p GSL::pow([1, 2, 3, 4, 5], 3)
p GSL::pow(GSL::Vector[1, 2, 3, 4, 5], 3)

Version data entries

16 entries across 16 versions & 4 rubygems

Version Path
rb-gsl-1.16.0.4 examples/math/power.rb
rb-gsl-1.16.0.3 examples/math/power.rb
rb-gsl-1.16.0.3.rc1 examples/math/power.rb
gsl-nmatrix-1.15.3.2 examples/math/power.rb
gsl-nmatrix-1.15.3.1 examples/math/power.rb
rb-gsl-1.16.0.2 examples/math/power.rb
rb-gsl-1.16.0.1 examples/math/power.rb
rb-gsl-1.16.0 examples/math/power.rb
rb-gsl-1.15.3.2 examples/math/power.rb
rb-gsl-1.15.3.1 examples/math/power.rb
blackwinter-gsl-1.15.3.2 examples/math/power.rb
gsl-nmatrix-1.15.3.0 examples/math/power.rb
gsl-1.15.3 examples/math/power.rb
gsl-1.14.7 examples/math/power.rb
gsl-1.14.6 examples/math/power.rb
gsl-1.14.5 examples/math/power.rb