Files
egutierrez 47fac22230 chore: auto-commit (799 archivos)
- .claude/CLAUDE.md
- .claude/commands/subagentes.md
- .claude/rules/INDEX.md
- .mcp.json
- bash/functions/cybersecurity/analyze_dns.md
- bash/functions/cybersecurity/audit_http_headers.md
- bash/functions/cybersecurity/audit_ssh_config.md
- bash/functions/cybersecurity/check_firewall.md
- bash/functions/cybersecurity/detect_suspicious_users.md
- bash/functions/cybersecurity/encrypt_file.md
- ...

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-14 00:28:20 +02:00

28 lines
815 B
Markdown

---
name: rolling_window
kind: function
lang: go
domain: datascience
version: "1.0.0"
purity: pure
signature: "func RollingWindow[T any](xs []T, size int) [][]T"
description: "Genera ventanas deslizantes de tamaño fijo sobre un slice genérico."
tags: [datascience, window, rolling, sliding, generic, pendiente-usar]
uses_functions: []
uses_types: []
returns: []
returns_optional: false
error_type: ""
imports: []
params:
- name: xs
desc: "slice de elementos a ventanar (tipo genérico T)"
- name: size
desc: "tamaño de cada ventana deslizante (ej: 10 para ventanas de 10 elementos)"
output: "slice de slices donde cada inner slice es una ventana de tamaño size, total ventanas = len(xs) - size + 1"
tested: false
tests: []
test_file_path: ""
file_path: "functions/datascience/rolling_window.go"
---