- 23 Dec, 2009 1 commit
-
-
Liam Healy authored
Replace create-matrix and constant-matrix by using the grid functions grid:map-grid and grid:make-grid; eliminate create-vector because vectors can be generated with create-matrix and using nil for the second dimension argument. In the grid:make-grid-data method for make-marray, the first argument, which is the element type, needs to be extracted from the rest spec with a newly-changed grid:spec-scalar-p because compound types like (complex double-float) were not being recognized as element types.
-
- 08 Dec, 2009 1 commit
-
-
Liam Healy authored
Eventually, the definitions used for dealing with types and foreign arrays that aren't specific to GSL will be split off into another system, so that it will be easier to build other foreign library interfaces using these definitions. As a start, the grid/ directory defines a package 'c-array and some of the type definitions formerly in init/. Everything compiles and tests as before, on SBCL TOTAL: 1627 assertions passed, 6 failed, 0 execution errors.
-
- 16 Oct, 2009 1 commit
-
-
Liam Healy authored
Index limits may be passed to set-matrix and to some of the functions dependent on it, so that e.g. a tridiagonal matrix can be defined without iterating over all elements. If the optional argument 'pass-element is non-NIL, the function will be passed a final argument which is the prior value of the current element.
-
- 26 Sep, 2009 1 commit
-
-
Liam Healy authored
Added the translated GSL tests to the linear algebra for QR decomposition with column pivoting. More arguments corresponding to values returned by the functions are now optional. Fixed the order of return values from QRPT-decomposition so that permutation is before signum. Fixed argument lists to QRPT-QRsolve.
-
- 21 Sep, 2009 1 commit
-
-
Liam Healy authored
Changed required to optional arguments for several of the QR linear algebra functions, for returned quantities. 45 new tests added for QR that are translated from GSL's tests. Matrices and solutions that are used by more than one of the linear algebra techniques are defined in matrix-generation.lisp.
-
- 20 Sep, 2009 2 commits
-
-
Liam Healy authored
Added nine tests derived from the self-tests that GSL has for LU decomposition. All tests except the complex matrix pass within the tolerances prescribed by GSL.
-
Liam Healy authored
Matrices (and vectors) may be created from functions of the element indices. This is needed to create the matrices used in testing the linear algebra functions. It also can be of general use, especially with further generalization. For now, there are no exported symbols from these definitions.
-