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
Pdand go toToolsFind Externals. Search formoocowand install it. Then create an object withdeclare -lib moocow -path moocow. Finally, useweightmapor any other object frommoocow. - Available for .