<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hi,</p>
<p>trying to find the length of a vector by taking the square root
of the scalar product, I get this (in ginsh):</p>
<p><span style="font-family:monospace"><span
style="color:#000000;background-color:#ffffff;">> v =
[[a,b]];
</span><br>
[[a,b]]
<br>
> r = sqrt(v * transpose(v));
<br>
sqrt([[a,b]]*[[a],[b]])
<br>
> evalm(r);
<br>
<a class="moz-txt-link-freetext" href="matrix::pow()">matrix::pow()</a>: don't know how to handle exponent<br>
</span></p>
<p>The reason is that the scalar product evaluates to a matrix with
a single element, not to a numeric. Is that intended?</p>
<p>Thanks,<br>
</p>
<p>Jan Rheinländer<br>
</p>
</body>
</html>