Sha256: 9e955774a961925a1de56e81f6b55a6681bf31df777c8378f3218a105fdc71e2
Contents?: true
Size: 151 Bytes
Versions: 22
Compression:
Stored size: 151 Bytes
Contents
#!/usr/bin/env ruby require('gsl') puts("Solve x^3 - 1 == 0") puts("x = 1, (-1 +/- i sqrt(3))/2") p GSL::Poly.complex_solve_cubic(0, 0, -1) __END__
Version data entries
22 entries across 22 versions & 4 rubygems