---
name: clip
kind: function
lang: go
domain: datascience
version: "1.0.0"
purity: pure
signature: "func Clip(data []float64, min, max float64) []float64"
description: "Recorta cada valor del slice para que quede dentro del rango [min, max]."
tags: [datascience, clamp, clip, range, pendiente-usar]
uses_functions: []
uses_types: []
returns: []
returns_optional: false
error_type: ""
imports: []
params:
  - name: data
    desc: "slice de valores reales a recortar"
  - name: min
    desc: "límite inferior del rango permitido"
  - name: max
    desc: "límite superior del rango permitido"
output: "slice con cada valor limitado al rango [min, max]"
tested: false
tests: []
test_file_path: ""
file_path: "functions/datascience/clip.go"
---
