Commit graph

13 commits

Author SHA1 Message Date
Benoît Minisini
e938c9190d [GB.GSL]
* NEW: Remove the FloatVector and ComplexVector classes. Now the Vector 
  class handle vector of Float or Complex transparently.


git-svn-id: svn://localhost/gambas/trunk@4936 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-07-10 15:23:59 +00:00
Benoît Minisini
a3966cf195 [DEVELOPMENT ENVIRONMENT]
* BUG: Array of classes exported by a component are now correctly handled
  by the component interface analyzer.

[INTERPRETER]
* BUG: The _operators interface now correctly takes into account the
  "Float - Object" case.

[GB.GSL]
* NEW: Redesign of the Polynomial class. Now it implements a polynomial 
  that can switch between real and complex coefficients transparently.
* NEW: The ComplexPolynomial class has been removed.


git-svn-id: svn://localhost/gambas/trunk@4929 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-07-10 00:13:00 +00:00
Benoît Minisini
2402db91f0 [INTERPRETER]
* NEW: Support for imaginary number syntax. For example, using "3i" will 
  automatically load the gb.gsl component, create the corresponding complex 
  number and return it.

[COMPILER]
* NEW: Support for imaginary number syntax.

[GB.EVAL]
* NEW: Support for imaginary number syntax.

[GB.GSL]
* NEW: Support for imaginary number syntax.
* NEW: Vector class is now generic, and has two child classes: FloatVector 
  and ComplexVector, depending on the type of its elements.
* BUG: Support for arithmetic operators on Vector class has been removed. 
  It had too many problems.


git-svn-id: svn://localhost/gambas/trunk@4918 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-07-08 23:23:24 +00:00
Benoît Minisini
ef37065297 [INTERPRETER]
* BUG: Correctly raise an error when trying to use NULL on classes 
  implementing the _operators interface.
* NEW: The _convert interface now must handle conversions from any 
  datatype.

[GB.GSL]
* NEW: Automatic conversion from numbers to Complex.
* NEW: Start implementating the Vector class.


git-svn-id: svn://localhost/gambas/trunk@4913 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-07-08 16:55:35 +00:00
Benoît Minisini
fc19d7bd78 [GB.GSL]
* NEW: Complex class has been cleaned up.
* BUG: Fix array creation in CComplexPolynomial.ComplexSolve().


git-svn-id: svn://localhost/gambas/trunk@4911 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-07-08 15:39:38 +00:00
Benoît Minisini
7bd330aa00 [INTERPRETER]
* NEW: "_operators" is a new interface that allows any native class to be
  used with most of arithmetic operators: +, -, *, /, Abs, =, <> at the 
  moment.
* NEW: The "_convert" interface now allows a class to be converted to any
  datatype, not just other classes.
* NEW: Str() and Print uses the "_convert" interface to print a localized
  string conversion of any object.

[GB.GSL]
* NEW: Use the new "_operators" interface so that complex numbers can be 
  handled by standard arithmetic operators.
* NEW: The Complex class now implements the "_convert" interface.


git-svn-id: svn://localhost/gambas/trunk@4908 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-07-08 14:35:58 +00:00
Randall Morgan
7dcd32d1b6 [GB.GSL]
* NEW: Added Test Suite Gambas Project to GSL Component.

git-svn-id: svn://localhost/gambas/trunk@4527 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-03-03 00:21:36 +00:00
Randall Morgan
e9a68b8af2 [GB.GSL]
* BUG: Fixed filenames in file headers. 
   Renamed static *create_complex() in the complex class
   to GSLComplex_create() so that it could be used in other
   compenent files.

git-svn-id: svn://localhost/gambas/trunk@4488 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-02-18 22:56:08 +00:00
Randall Morgan
a919a08cf0 [GB.GSL]
* BUG: Changed function prototypes in all files to use upper case variable names (xf) to (X)f.
   Moved frexp to c_gsl where it belongs.

git-svn-id: svn://localhost/gambas/trunk@4487 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-02-18 22:06:10 +00:00
Randall Morgan
a8caa61c5b [GB.GSL]
* NEW: Added Frexp function to Complex Class.

git-svn-id: svn://localhost/gambas/trunk@4482 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-02-16 19:11:15 +00:00
Randall Morgan
5b0b2b84dd [GB.GSL]
* NEW: Added Set, Rect, and Polar Methods.
   Also moved THIS declaration to source file
   And declared complex_create() in header.

git-svn-id: svn://localhost/gambas/trunk@4480 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-02-15 23:52:30 +00:00
Randall Morgan
d0757716c7 [GB.GSL]
* BUG: Uploaded bare minimum code for review.
   I still have a Null "THIS" Pointer in class methods. Hoping
   for some clarification from someone. Anyone? As to why
   this occurs in the GslComplex_Add method.

git-svn-id: svn://localhost/gambas/trunk@4477 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-02-13 20:45:28 +00:00
Randall Morgan
b624cddc67 [GB.GSL]
* NEW: Added gsl_complex development files.

git-svn-id: svn://localhost/gambas/trunk@4455 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-02-06 13:59:56 +00:00