Revision history for ExtLibgsl


Revision [24821]

Last edited on 2020-12-31 14:02:02 by Tristano [Fix Link: HTTP to HTTPS]
Additions:
Website: https://www.gnu.org/software/gsl/, Windows port: http://gnuwin32.sourceforge.net/packages/gsl.htm
Deletions:
Website: http://www.gnu.org/software/gsl/, Windows port: http://gnuwin32.sourceforge.net/packages/gsl.htm


Revision [16788]

Edited on 2013-05-01 12:50:39 by DkLwikki [Update examples path]
Additions:
Examples: in examples/math/GSL/


Revision [15978]

Edited on 2012-02-02 13:25:40 by DkLwikki [Add version]
Additions:
Header version: 1.6


Revision [15433]

Edited on 2011-10-11 11:20:18 by CountingPine [Remove CamelCase link]
Additions:
Platforms supported: ""Win32"", Linux
Deletions:
Platforms supported: Win32, Linux


Revision [15369]

Edited on 2011-10-05 09:56:40 by DkLwikki [Add examples]
Additions:
Website: http://www.gnu.org/software/gsl/, Windows port: http://gnuwin32.sourceforge.net/packages/gsl.htm
{{fbdoc item="ex"}}
{{fbdoc item="filename" value="examples/manual/libraries/gsl1.bas"}}%%(freebasic)
'' Elementary math example
#include "gsl/gsl_math.bi"
'' Raise the value of 3.141 to the fourth power
? "3.141 ^ 4 = "; gsl_pow_4(3.141)
?
'' Find the hypotenuse of a right triangle with sides 3 and 4
? "The hypotenuse of a right triangle with sides of length 3 and 4 is"; gsl_hypot(3,4)
?
sleep
%%
{{fbdoc item="filename" value="examples/manual/libraries/gsl2.bas"}}%%(freebasic)
'' Matrix example
#include "gsl/gsl_matrix.bi"
'' gsl uses the c-style row major order, unlike VB or Fortran
? "A 3x3 matrix"
dim as gsl_matrix ptr m = gsl_matrix_alloc(3, 3)
for i as integer = 0 to 2
for j as integer = 0 to 2
gsl_matrix_set (m, i, j, 0.23 + 100*i + j)
next
next
for i as integer = 0 to 2
for j as integer = 0 to 2
print "m(";i;",";j;") = "; gsl_matrix_get (m, i, j)
next
next
?
gsl_matrix_transpose(m)
? "And its transpose"
for i as integer = 0 to 2
for j as integer = 0 to 2
print "m(";i;",";j;") = "; gsl_matrix_get (m, i, j)
next
next
sleep
%%
Deletions:
Website: http://www.gnu.org/software/gsl/
Example Usage: yes, in examples/libraries/GSL/


Revision [10945]

The oldest known version of this page was created on 2007-09-02 05:23:11 by JeffMarshall [Add examples]
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki



sf.net phatcode