non-linear fit implementation heavily modified in order to allow natively fir of complex data - gsl-shell.git - gsl-shell

index : gsl-shell.git
gsl-shell
summary refs log tree commit diff
path: root/matrix_decls_source.c
diff options
context:
space:
mode:
authorFrancesco Abbate <francesco.bbt@gmail.com>2009年08月28日 08:51:05 +0000
committerFrancesco Abbate <francesco.bbt@gmail.com>2009年08月28日 08:51:05 +0000
commitd602572aa0ed1719c6cf015777307694c114e166 (patch)
treef14fc86e8a5582aa03ca8d3ecd6ea99c768e1d58 /matrix_decls_source.c
parentfc82d9f3a24c7cb3c1e0426baabcbfbb0ffb8b08 (diff)
downloadgsl-shell-d602572aa0ed1719c6cf015777307694c114e166.tar.gz
non-linear fit implementation heavily modified in order to allow natively fir of complex data
Diffstat (limited to 'matrix_decls_source.c')
-rw-r--r--matrix_decls_source.c 7
1 files changed, 6 insertions, 1 deletions
diff --git a/matrix_decls_source.c b/matrix_decls_source.c
index 199ebcdd..e1bda3c9 100644
--- a/matrix_decls_source.c
+++ b/matrix_decls_source.c
@@ -18,6 +18,11 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
+#define NLINFIT_MAX_ITER 30
+
+static char const * const TYPE (name_matrix) = "GSL." PREFIX "matrix";
+static char const * const FUNCTION (name_matrix, view) = "GSL." PREFIX "mview";
+
static int FUNCTION (matrix, get) (lua_State *L);
static int FUNCTION (matrix, set) (lua_State *L);
static int FUNCTION (matrix, free) (lua_State *L);
@@ -50,7 +55,6 @@ static const struct luaL_Reg FUNCTION (matrix, methods)[] = {
{"set", FUNCTION (matrix, set)},
{"dims", FUNCTION (matrix, dims)},
{"copy", FUNCTION (matrix, copy)},
- {"inverse", FUNCTION (matrix, inverse)},
{NULL, NULL}
};
@@ -58,5 +62,6 @@ static const struct luaL_Reg FUNCTION (matrix, functions)[] = {
{PREFIX "matrix", FUNCTION (matrix, new)},
{PREFIX "mul", FUNCTION (matrix, mul)},
{PREFIX "solve", FUNCTION (matrix, solve)},
+ {PREFIX "inverse", FUNCTION (matrix, inverse)},
{NULL, NULL}
};
generated by cgit v1.2.3 (git 2.39.1) at 2025年09月26日 07:55:44 +0000

AltStyle によって変換されたページ (->オリジナル) /