User Tools

Site Tools


k29:k29.3:start

29.3.0 Component gb.gsl

The component gb.gsl aims to implement many features of the 'GNU Scientific Library'. It currently adds support for complex numbers, vectors, matrices and polynomials.

The coefficients of vectors, matrices and polynomials can be real numbers or complex numbers. In addition, the component enables standard arithmetic operators such as +, -, *, /, ^, Abs() or the = and <> relations for all of these objects and offers automatic conversions between them. Vectors and polynomials are transparently converted to and from arrays.

Note that the component gb.gsl is not finalized and only a part of the GSL library has been implemented. This also applies to the arithmetic operators. At present (as of Gambas 3.6.3.), for example, polynomial division is not yet implemented, but polynomial addition is.

The component gb.gsl contains the following classes:

  • Complex 2 (→ Chapter 29.1)
  • GSL
  • Matrix
  • Polynomial
  • Vector
The website uses a temporary session cookie. This technically necessary cookie is deleted when the browser is closed. You can find information on cookies in our privacy policy.
k29/k29.3/start.txt · Last modified: 17.02.2024 (external edit)

Page Tools