<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Convert Nested Array to Matrix in Mathcad</title>
    <link>https://community.ptc.com/t5/Mathcad/Convert-Nested-Array-to-Matrix/m-p/339505#M132844</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;One loop for without recursion:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="max2vec.png" class="jive-image" src="https://community.ptc.com/legacyfs/online/33469_max2vec.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 27 May 2012 19:12:48 GMT</pubDate>
    <dc:creator>ValeryOchkov</dc:creator>
    <dc:date>2012-05-27T19:12:48Z</dc:date>
    <item>
      <title>Convert Nested Array to Matrix</title>
      <link>https://community.ptc.com/t5/Mathcad/Convert-Nested-Array-to-Matrix/m-p/339500#M132839</link>
      <description>From:</description>
      <pubDate>Thu, 03 May 2018 18:06:43 GMT</pubDate>
      <guid>https://community.ptc.com/t5/Mathcad/Convert-Nested-Array-to-Matrix/m-p/339500#M132839</guid>
      <dc:creator>Bartz87</dc:creator>
      <dc:date>2018-05-03T18:06:43Z</dc:date>
    </item>
    <item>
      <title>Re: Convert Nested Array to Matrix</title>
      <link>https://community.ptc.com/t5/Mathcad/Convert-Nested-Array-to-Matrix/m-p/339501#M132840</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG alt="na2m.png" class="jive-image" src="https://community.ptc.com/legacyfs/online/32666_na2m.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 May 2012 04:41:33 GMT</pubDate>
      <guid>https://community.ptc.com/t5/Mathcad/Convert-Nested-Array-to-Matrix/m-p/339501#M132840</guid>
      <dc:creator>ValeryOchkov</dc:creator>
      <dc:date>2012-05-03T04:41:33Z</dc:date>
    </item>
    <item>
      <title>Re: Convert Nested Array to Matrix</title>
      <link>https://community.ptc.com/t5/Mathcad/Convert-Nested-Array-to-Matrix/m-p/339502#M132841</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here's another approach ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="collab - nest to flat array 01.jpg" class="jive-image-thumbnail jive-image" onclick="" src="https://community.ptc.com/legacyfs/online/33444_collab+-+nest+to+flat+array+01.jpg" width="450" /&gt;&lt;/P&gt;&lt;P&gt;Even works in Prime 1.0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="collab - nest to flat array 02.jpg" class="jive-image-thumbnail jive-image" onclick="" src="https://community.ptc.com/legacyfs/online/33445_collab+-+nest+to+flat+array+02.jpg" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Stuart&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 26 May 2012 19:12:40 GMT</pubDate>
      <guid>https://community.ptc.com/t5/Mathcad/Convert-Nested-Array-to-Matrix/m-p/339502#M132841</guid>
      <dc:creator>StuartBruff</dc:creator>
      <dc:date>2012-05-26T19:12:40Z</dc:date>
    </item>
    <item>
      <title>Re: Convert Nested Array to Matrix</title>
      <link>https://community.ptc.com/t5/Mathcad/Convert-Nested-Array-to-Matrix/m-p/339503#M132842</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, we can have here only one loop for!&lt;/P&gt;&lt;P&gt;We have in Mathcad Prime a new operator returns a matrix row:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="na2matrix.png" class="jive-image-thumbnail jive-image" onclick="" src="https://community.ptc.com/legacyfs/online/33460_na2matrix.png" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One additional quastion.&lt;/P&gt;&lt;P&gt;Can you convert a matrix into a vector (create a matrix2vector function) with &lt;STRONG&gt;one &lt;/STRONG&gt;loop for?&lt;/P&gt;&lt;P&gt;I can do it in Mathcad 15 but not in Mathcad Prime.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 27 May 2012 14:29:44 GMT</pubDate>
      <guid>https://community.ptc.com/t5/Mathcad/Convert-Nested-Array-to-Matrix/m-p/339503#M132842</guid>
      <dc:creator>ValeryOchkov</dc:creator>
      <dc:date>2012-05-27T14:29:44Z</dc:date>
    </item>
    <item>
      <title>Re: Convert Nested Array to Matrix</title>
      <link>https://community.ptc.com/t5/Mathcad/Convert-Nested-Array-to-Matrix/m-p/339504#M132843</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;Valery Ochkov wrote:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One additional quastion.&lt;/P&gt;&lt;P&gt;Can you convert a matrix into a vector (create a matrix2vector function) with &lt;STRONG&gt;one &lt;/STRONG&gt;loop for?&lt;/P&gt;&lt;P&gt;I can do it in Mathcad 15 but not in Mathcad Prime.&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes. My standard vec function does it with only loop (and uses recursion to flatten any nested elements), but I imagine this isn't the один дополнительный) вопрос that you really had in mind?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Stuart&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="collab - 12 May 27 - vec 01.jpg" class="jive-image-thumbnail jive-image" onclick="" src="https://community.ptc.com/legacyfs/online/33461_collab+-+12+May+27+-+vec+01.jpg" width="450" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 27 May 2012 15:16:21 GMT</pubDate>
      <guid>https://community.ptc.com/t5/Mathcad/Convert-Nested-Array-to-Matrix/m-p/339504#M132843</guid>
      <dc:creator>StuartBruff</dc:creator>
      <dc:date>2012-05-27T15:16:21Z</dc:date>
    </item>
    <item>
      <title>Re: Convert Nested Array to Matrix</title>
      <link>https://community.ptc.com/t5/Mathcad/Convert-Nested-Array-to-Matrix/m-p/339505#M132844</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;One loop for without recursion:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="max2vec.png" class="jive-image" src="https://community.ptc.com/legacyfs/online/33469_max2vec.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 27 May 2012 19:12:48 GMT</pubDate>
      <guid>https://community.ptc.com/t5/Mathcad/Convert-Nested-Array-to-Matrix/m-p/339505#M132844</guid>
      <dc:creator>ValeryOchkov</dc:creator>
      <dc:date>2012-05-27T19:12:48Z</dc:date>
    </item>
    <item>
      <title>Re: Convert Nested Array to Matrix</title>
      <link>https://community.ptc.com/t5/Mathcad/Convert-Nested-Array-to-Matrix/m-p/339506#M132845</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;Valery Ochkov wrote:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One loop for without recursion:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.ptc.com/legacyfs/online/33469_max2vec.png"&gt;&lt;IMG alt="max2vec.png" class="jive-image" height="279" src="https://community.ptc.com/legacyfs/online/33469_max2vec.png" width="310" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Ah, OK, so you wanted to turn a matrix into a nested vector where each nested array is one element of the original matrix?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It should work in Prime, but not as a pure evaluation. If you assign it to a variable, it should be fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Stuart&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 27 May 2012 19:38:05 GMT</pubDate>
      <guid>https://community.ptc.com/t5/Mathcad/Convert-Nested-Array-to-Matrix/m-p/339506#M132845</guid>
      <dc:creator>StuartBruff</dc:creator>
      <dc:date>2012-05-27T19:38:05Z</dc:date>
    </item>
    <item>
      <title>Re: Convert Nested Array to Matrix</title>
      <link>https://community.ptc.com/t5/Mathcad/Convert-Nested-Array-to-Matrix/m-p/339507#M132846</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I see first time in Mathcad 15/Prime that var:=... var= and var:=...= is not equal:&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="33482" alt="rv2vec.png" class="jive-image-thumbnail jive-image" src="https://community.ptc.com/legacyfs/online/33482_rv2vec.png" width="450" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 May 2012 04:53:50 GMT</pubDate>
      <guid>https://community.ptc.com/t5/Mathcad/Convert-Nested-Array-to-Matrix/m-p/339507#M132846</guid>
      <dc:creator>ValeryOchkov</dc:creator>
      <dc:date>2012-05-28T04:53:50Z</dc:date>
    </item>
    <item>
      <title>Re: Convert Nested Array to Matrix</title>
      <link>https://community.ptc.com/t5/Mathcad/Convert-Nested-Array-to-Matrix/m-p/339508#M132847</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;Valery Ochkov wrote:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I see first time in Mathcad 15/Prime that var:=... var= and var:=...= is not equal:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;An even bigger problem, and a far more frustrating one, is that whereas I can evaluate&lt;/P&gt;&lt;P&gt;vec(0,0,1..1) in Mathcad 11..15, I can't even &lt;EM&gt;enter&lt;/EM&gt; a range definition (x,y..z) as an argument in Prime 1.0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Stuart&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 May 2012 06:09:40 GMT</pubDate>
      <guid>https://community.ptc.com/t5/Mathcad/Convert-Nested-Array-to-Matrix/m-p/339508#M132847</guid>
      <dc:creator>StuartBruff</dc:creator>
      <dc:date>2012-05-28T06:09:40Z</dc:date>
    </item>
  </channel>
</rss>

