Skip to content

list-dotprod

list-dotprod computes the dot product of two input lists as the sum of corresponding element-wise products (res = sum(Xi*Yi)); for example, lists 2 4 and 3 1 produce 10. It provides separate list inlets for the two operands and is described as a faster equivalent to combining list-mult with list-accum.


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 list-abs and install it. Then create an object with declare -lib list-abs -path list-abs. Finally, use list-dotprod or any other object from list-abs.


Similar


    Comments

    Contributors