Skip to content

weightmap

weightmap stores a vector of weights or probabilities and maps an incoming float to the integer index of the matching stored weight. Create it as weightmap SIZE [MAXWEIGHT]; input floats are expected in the range 0 to MAXWEIGHT, which defaults to 100.


AI Generated

This content was generated with the assistance of AI. If you notice any errors, please report them or submit a fix using Submit. Check the prompt used here.


  • Download via Deken.

    Open Pd and go to ToolsFind Externals. Search for moocow and install it. Then create an object with declare -lib moocow -path moocow. Finally, use weightmap or any other object from moocow.

  • Available for .

Similar


    Comments

    Contributors