<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[multiply all element of list]]></title><description><![CDATA[<p>Hi Forum,</p>
<p>I would like to multiply all elements in a list and make a new list of the result.</p>
<p>Is there a way to do this by manipulating the list directly?</p>
<p>Thanks!</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/13946/multiply-all-element-of-list</link><generator>RSS for Node</generator><lastBuildDate>Sun, 19 Jul 2026 12:10:06 GMT</lastBuildDate><atom:link href="http://forum.pdpatchrepo.info/topic/13946.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 23 May 2022 12:51:59 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to multiply all element of list on Mon, 23 May 2022 12:51:59 GMT]]></title><description><![CDATA[<p>Hi Forum,</p>
<p>I would like to multiply all elements in a list and make a new list of the result.</p>
<p>Is there a way to do this by manipulating the list directly?</p>
<p>Thanks!</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/13946/multiply-all-element-of-list</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/13946/multiply-all-element-of-list</guid><dc:creator><![CDATA[cfry]]></dc:creator><pubDate>Mon, 23 May 2022 12:51:59 GMT</pubDate></item><item><title><![CDATA[Reply to multiply all element of list on Mon, 23 May 2022 17:28:47 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/cfry">@cfry</a> I don't think so...... but it's a simple operation using the list-abs library....<br />
<a href="/uploads/files/1653326320315-list-apply.zip">list-apply.zip</a>.... with [list-drip] doing all the work as usual.<br />
All vanilla.<br />
David.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/13946/multiply-all-element-of-list/2</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/13946/multiply-all-element-of-list/2</guid><dc:creator><![CDATA[whale-av]]></dc:creator><pubDate>Mon, 23 May 2022 17:28:47 GMT</pubDate></item><item><title><![CDATA[Reply to multiply all element of list on Tue, 24 May 2022 05:03:33 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/cfry">@cfry</a> Here is an improved list-apply, it uses [list store] so does not iterate the list, just does the math on each list item individually. As a bonus you can change the function on the fly to most anything. No time for an in depth help file, but this should suffice.</p>
<p>Edit; this requires at least pd 0.52 for the [list store] [set( message.<br />
<a href="/uploads/files/1653347065470-list-apply.pd">list-apply.pd</a><br />
<a href="/uploads/files/1653347126449-list-apply-help.pd">list-apply-help.pd</a><br />
<img src="/uploads/files/1653347142385-untitled1.png" alt="Untitled1.png" class="img-responsive img-markdown" /><br />
<img src="/uploads/files/1653347152204-untitled2.png" alt="Untitled2.png" class="img-responsive img-markdown" /></p>
]]></description><link>http://forum.pdpatchrepo.info/topic/13946/multiply-all-element-of-list/3</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/13946/multiply-all-element-of-list/3</guid><dc:creator><![CDATA[oid]]></dc:creator><pubDate>Tue, 24 May 2022 05:03:33 GMT</pubDate></item><item><title><![CDATA[Reply to multiply all element of list on Tue, 24 May 2022 17:10:39 GMT]]></title><description><![CDATA[<p>Here’s a dynamic version so the same object can be used with all arithmetic operators.<br />
It uses [else/dollsym] but that can be easily removed.<br />
Hope this helps,<br />
<a href="/uploads/files/1653412216576-list_op.pd">list_op.pd</a> <img src="/uploads/files/1653412235999-urn_demo.png" alt="urn_demo.png" class="img-responsive img-markdown" /></p>
]]></description><link>http://forum.pdpatchrepo.info/topic/13946/multiply-all-element-of-list/4</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/13946/multiply-all-element-of-list/4</guid><dc:creator><![CDATA[Gabriel Lecup]]></dc:creator><pubDate>Tue, 24 May 2022 17:10:39 GMT</pubDate></item><item><title><![CDATA[Reply to multiply all element of list on Tue, 24 May 2022 17:12:16 GMT]]></title><description><![CDATA[<p>Sorry just realized <a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/oid">@oid</a> has a much better solution <img class="emoji emoji-extended" src="http://forum.pdpatchrepo.info/plugins/nodebb-plugin-emoji-extended/images/wink.png" title=";)" alt=";)" /></p>
]]></description><link>http://forum.pdpatchrepo.info/topic/13946/multiply-all-element-of-list/5</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/13946/multiply-all-element-of-list/5</guid><dc:creator><![CDATA[Gabriel Lecup]]></dc:creator><pubDate>Tue, 24 May 2022 17:12:16 GMT</pubDate></item><item><title><![CDATA[Reply to multiply all element of list on Tue, 24 May 2022 20:03:53 GMT]]></title><description><![CDATA[<p>Thank you all, this will come handy. Then I will replace my awkward improvisation -&gt;<br />
<img src="/uploads/files/1653422570026-listprocess.png" alt="listprocess.png" class="img-responsive img-markdown" /></p>
]]></description><link>http://forum.pdpatchrepo.info/topic/13946/multiply-all-element-of-list/6</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/13946/multiply-all-element-of-list/6</guid><dc:creator><![CDATA[cfry]]></dc:creator><pubDate>Tue, 24 May 2022 20:03:53 GMT</pubDate></item><item><title><![CDATA[Reply to multiply all element of list on Tue, 24 May 2022 21:07:45 GMT]]></title><description><![CDATA[<p>For simple operations it would also be possible to use [expr $f1 $1 $f2] instead of dynamic patching. <img class="emoji emoji-extended" src="http://forum.pdpatchrepo.info/plugins/nodebb-plugin-emoji-extended/images/wink.png" title=";)" alt=";)" /></p>
]]></description><link>http://forum.pdpatchrepo.info/topic/13946/multiply-all-element-of-list/7</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/13946/multiply-all-element-of-list/7</guid><dc:creator><![CDATA[ingox]]></dc:creator><pubDate>Tue, 24 May 2022 21:07:45 GMT</pubDate></item><item><title><![CDATA[Reply to multiply all element of list on Tue, 24 May 2022 21:22:02 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/ingox">@ingox</a> I usually use something like <code>[list-abs/list-map]</code> (possibly using <code>[drip]</code> from zexy inside <code>[list-map]</code> instead of <code>[list-drip]</code> for efficiency)</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/13946/multiply-all-element-of-list/8</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/13946/multiply-all-element-of-list/8</guid><dc:creator><![CDATA[seb-harmonik.ar]]></dc:creator><pubDate>Tue, 24 May 2022 21:22:02 GMT</pubDate></item><item><title><![CDATA[Reply to multiply all element of list on Tue, 24 May 2022 21:54:27 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/ingox">@ingox</a> Why not just [$1 $2}? Does [expr] offer anything extra in that case other than increased overhead?</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/13946/multiply-all-element-of-list/9</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/13946/multiply-all-element-of-list/9</guid><dc:creator><![CDATA[oid]]></dc:creator><pubDate>Tue, 24 May 2022 21:54:27 GMT</pubDate></item><item><title><![CDATA[Reply to multiply all element of list on Wed, 25 May 2022 05:13:03 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/oid">@oid</a> True. <img class="emoji emoji-extended" src="http://forum.pdpatchrepo.info/plugins/nodebb-plugin-emoji-extended/images/wink.png" title=";)" alt=";)" /></p>
]]></description><link>http://forum.pdpatchrepo.info/topic/13946/multiply-all-element-of-list/10</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/13946/multiply-all-element-of-list/10</guid><dc:creator><![CDATA[ingox]]></dc:creator><pubDate>Wed, 25 May 2022 05:13:03 GMT</pubDate></item></channel></rss>