gsl-shell.git - gsl-shell

index : gsl-shell.git
gsl-shell
summary refs log tree commit diff
path: root/gdt-plot.lua
diff options
context:
space:
mode:
Diffstat (limited to 'gdt-plot.lua')
-rw-r--r--gdt-plot.lua 15
1 files changed, 0 insertions, 15 deletions
diff --git a/gdt-plot.lua b/gdt-plot.lua
index 55ad3f59..68aec567 100644
--- a/gdt-plot.lua
+++ b/gdt-plot.lua
@@ -388,22 +388,7 @@ local function set_elements(X, P, i, ...)
end
end
-local function gdt_table_linfit(t, f, jy)
- local N, M = t:dim()
- local row = t:cursor()
- local P = count_args(f(row))
-
- local X, Y = matrix.alloc(N, P), matrix.alloc(N, 1)
- for i, row in t:rows() do
- set_elements(X, P, i, f(row, i))
- Y:set(i, 1, t:get(i, jy))
- end
-
- return num.linfit(X, Y)
-end
-
gdt.barplot = gdt_table_barplot
gdt.plot = gdt_table_lineplot
gdt.xyplot = gdt_table_xyplot
gdt.reduce = gdt_table_reduce
-gdt.lm = gdt_table_linfit
generated by cgit v1.2.3 (git 2.25.1) at 2025年09月16日 00:10:32 +0000

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