gsl-shell.git - gsl-shell

index : gsl-shell.git
gsl-shell
summary refs log tree commit diff
path: root/matrix_source.c
diff options
context:
space:
mode:
Diffstat (limited to 'matrix_source.c')
-rw-r--r--matrix_source.c 15
1 files changed, 0 insertions, 15 deletions
diff --git a/matrix_source.c b/matrix_source.c
index de84d8fc..b55e1280 100644
--- a/matrix_source.c
+++ b/matrix_source.c
@@ -268,21 +268,6 @@ FUNCTION(matrix, new) (lua_State *L)
}
int
-FUNCTION(matrix, unm) (lua_State *L)
-{
- const TYPE (gsl_matrix) *a = FUNCTION (matrix, check) (L, 1);
- TYPE (gsl_matrix) *r;
- LUA_TYPE fact = -1.0;
- BASE gslfact = TYPE (value_assign) (fact);
-
- r = FUNCTION (matrix, push_raw) (L, a->size1, a->size2);
-
- FUNCTION (gsl_matrix, memcpy) (r, a);
- FUNCTION (gsl_matrix, scale) (r, gslfact);
- return 1;
-}
-
-int
FUNCTION(matrix, mul) (lua_State *L)
{
int k, nargs = lua_gettop (L);
generated by cgit v1.2.3 (git 2.46.0) at 2025年09月29日 01:28:16 +0000

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