<div dir="ltr"><div dir="ltr">Ah, I see.. <div>  You&#39;re suggesting we need to support MxNxP matrices (or more).</div><div>  I think an earlier version of the model had an abstract Matrix, with Matrix2D.. we could go back to that, allowing for Matrix3D, etc extensions. Â </div><div>  Or forgo the abstract head and just rename it. Â </div><div><br></div><div><br></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Apr 3, 2020 at 9:20 AM Laurent MICHEL &lt;<a href="mailto:laurent.michel@astro.unistra.fr">laurent.michel@astro.unistra.fr</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">Mark,<br>
<br>
To me, a (N,M) matrix is a 2D matrix with N rows and M columns (e.g. a <br>
pixel array).<br>
You want to model a ND matrix, you have to set N (matrix dimension) as <br>
an attribute plus an array of N values giving the size along of each <br>
individual axis.<br>
If you want to specifically model a 2D matrix, it would be better have 2 <br>
attributes with a non confusing names (e.g. columns, rows)<br>
<br>
Laurent<br>
<br>
Le 02/04/2020 Ã  16:47, CresitelloDittmar, Mark a Ã©crit :<br>
&gt; Not sure I follow.  Wouldn&#39;t a Matrix2D be a Matrix with M=2, N=2?<br>
&gt; We could discuss the names, but these seemed pretty standard and are <br>
&gt; described as M rows, N columns.  I know I always have to go back and <br>
&gt; review which way is rows and which is columns, but I don&#39;t deal with <br>
&gt; matrices very often.<br>
&gt; <br>
&gt; <br>
&gt; <br>
&gt; On Thu, Apr 2, 2020 at 8:50 AM Laurent MICHEL <br>
&gt; &lt;<a href="mailto:laurent.michel@astro.unistra.fr" target="_blank">laurent.michel@astro.unistra.fr</a> <br>
&gt; &lt;mailto:<a href="mailto:laurent.michel@astro.unistra.fr" target="_blank">laurent.michel@astro.unistra.fr</a>&gt;&gt; wrote:<br>
&gt; <br>
&gt;  Â  Â Dear,<br>
&gt; <br>
&gt;  Â  Â Comment #3:<br>
&gt; <br>
&gt;  Â  Â - The matrix operation class (Matrix) seems to refer to a 2D matrix.<br>
&gt;  Â  Â The<br>
&gt;  Â  Â class could be renamed Matrix2D to keep room for future high<br>
&gt;  Â  Â dimensionality classes<br>
&gt; <br>
&gt;  Â  Â - The matrix dimensions are named N and M. Personally, I&#39;m pretty sure<br>
&gt;  Â  Â to always confuse N.M and M.N. It could be safer to renamed these<br>
&gt;  Â  Â attributes with something more expressive like (row, columns)<br>
&gt; <br>
&gt;  Â  Â LM<br>
&gt;  Â  Â -- <br>
&gt;  Â  Â -- <br>
&gt;  Â  Â ---- Laurent MICHEL  Â  Â  Â  Â  Â  Â  Tel  (33 0) 3 68 85 24 37<br>
&gt;  Â  Â  Â  Â  Â  Observatoire de Strasbourg  Fax  (33 0) 3 68 85 24 32<br>
&gt;  Â  Â  Â  Â  Â  11 Rue de l&#39;Universite  Â  Â  Mail<br>
&gt;  Â  Â <a href="mailto:laurent.michel@astro.unistra.fr" target="_blank">laurent.michel@astro.unistra.fr</a> &lt;mailto:<a href="mailto:laurent.michel@astro.unistra.fr" target="_blank">laurent.michel@astro.unistra.fr</a>&gt;<br>
&gt;  Â  Â  Â  Â  Â  67000 Strasbourg (France)  Â Web <a href="http://astro.u-strasbg.fr/~michel" rel="noreferrer" target="_blank">http://astro.u-strasbg.fr/~michel</a><br>
&gt;  Â  Â ---<br>
&gt; <br>
<br>
-- <br>
---- Laurent MICHEL  Â  Â  Â  Â  Â  Â  Tel  (33 0) 3 68 85 24 37<br>
  Â  Â  Observatoire de Strasbourg  Fax  (33 0) 3 68 85 24 32<br>
  Â  Â  11 Rue de l&#39;Universite  Â  Â  Mail <a href="mailto:laurent.michel@astro.unistra.fr" target="_blank">laurent.michel@astro.unistra.fr</a><br>
  Â  Â  67000 Strasbourg (France)  Â Web  <a href="http://astro.u-strasbg.fr/~michel" rel="noreferrer" target="_blank">http://astro.u-strasbg.fr/~michel</a><br>
---<br>
</blockquote></div>