<div dir="ltr"><div><div>Ok, thanks for the reply!<br><br></div>Indeed, I know about the use of transformation matrices to manipulate points in space.<br></div><div>That's all matrix manipulation anyway....<br><br></div><div>But, (and perhaps this is not the right place to ask the following question):<br></div><div>But are there no known mathmatical algorithms which involve the use of 3n arrays (or higher dimensions) <br></div><div>to transform an object between one state and the other? <br><br>This is an open question, as my knowledge of math is lacking on this area. <br></div><div>I'm currently limited to 3D object manipulation and some statistics which all rely on matrix calculus...<br><br></div><div>kind regards,<br></div><div>Dieter<br></div><div><br><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jan 30, 2015 at 2:32 AM, Alexander Belopolsky <span dir="ltr"><<a href="mailto:ndarray@mac.com" target="_blank">ndarray@mac.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><span class=""><br><div class="gmail_quote">On Mon, Jan 26, 2015 at 6:06 AM, Dieter Van Eessen <span dir="ltr"><<a href="mailto:dieter.van.eessen@gmail.com" target="_blank">dieter.van.eessen@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div>I've read that numpy.array isn't arranged according to the 'right-hand-rule' (right-hand-rule => thumb = +x; index finger = +y, bend middle finder = +z). This is also confirmed by an old message I dug up from the mailing list archives. (see message below)<br></div></blockquote></div><div class="gmail_extra"><br></div></span>Dieter,<br><br></div><div class="gmail_extra">It looks like you are confusing dimensionality of the array with the dimensionality of a vector that it might store. If you are interested in using numpy for 3D modeling, you will likely only encounter 1-dimensional arrays (vectors) of size 3 and 2-dimensional arrays (matrices) of size 9 or shape (3, 3).</div><div class="gmail_extra"><br></div><div class="gmail_extra">A 3-dimensional array is a stack of matrices and the 'right-hand-rule' does not really apply. The notion of C/F-contiguous deals with the order of axes (e.g. width first or depth first) while the right-hand-rule is about the direction of the axes (if you "flip" the middle finger right hand becomes left.) In the case of arrays this would probably correspond to little-endian vs. big-endian: is a[0] stored at a higher or lower address than a[1]. However, whatever the answer to this question is for a particular system, it is the same for all axes in the array, so right-hand - left-hand distinction does not apply. </div></div>
<br>_______________________________________________<br>
NumPy-Discussion mailing list<br>
<a href="mailto:NumPy-Discussion@scipy.org">NumPy-Discussion@scipy.org</a><br>
<a href="http://mail.scipy.org/mailman/listinfo/numpy-discussion" target="_blank">http://mail.scipy.org/mailman/listinfo/numpy-discussion</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature">gtz,<br>Dieter VE<br></div>
</div>