<br><div class="gmail_quote">On Thu, Mar 19, 2009 at 12:52 PM, Rutger ter Borg <span dir="ltr">&lt;<a href="mailto:rutger@terborg.net">rutger@terborg.net</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">Didn&#39;t know that as well; default template argument types are not allowed</div>
for function templates, and types of template arguments are not to be<br>
deduced from a default argument type. Added an extra function signature<br>
which fixes this, and committed it.<br></blockquote></div>Didn&#39;t know that about C++.  But it would explain a lot of headscratching about template deduction I have had in the past.  Are they making any changes in C++0X to make overloaded templated functions more comprehensible or is it too hard to do without breaking everything.<div>
<br></div><div>I deleted my old bindings, did an update and tried to build my older code (with a few changes to match interfaces where possible).</div><div>1) The new overload for optimal workspace works</div><div>2) gesv, getf, and getri still work</div>
<div>3) I cannot figure out how to get the trtri to work now:</div><div> a) The old code just using a normal dense matrix doesn&#39;t work, because it is looking for the uplo tag on a dense storage and doesn&#39;t allow the &#39;U&#39;, &#39;L&#39; tag anymore</div>
<div>     It would be nice if there was an overload for functions expecting dense triangular matrices that didn&#39;t force you to use the triangular adaptor.</div><div> b) I did the following as suggested but as far as I can tell, both triangular matrices and triangular_adaptor don&#39;t have traits yet:</div>
<div><span class="Apple-tab-span" style="white-space:pre">	</span>ublas::matrix&lt;double, ublas::column_major&gt; A(2,2);</div><div><span class="Apple-tab-span" style="white-space:pre">	</span>ublas::triangular_adaptor&lt;ublas::matrix&lt;double,ublas::column_major&gt;, ublas::lower&gt; tal (A);</div>
<div><span class="Apple-tab-span" style="white-space:pre">	</span>lapack::trtri(&#39;N&#39;, tal);</div><div> c) same thing with tptri</div><div>4) Not that I am using it right now, but when I compiled with solve.hpp I received the following error:</div>
<div><div>1&gt;C:\working\libraries\boost\boost/numeric/bindings/lapack/solve.hpp(27): catastrophic error: could not open source file &quot;boost/numeric/bindings/lapack/detail/null_vector.hpp&quot;</div><div>1&gt;  #include &lt;boost/numeric/bindings/lapack/detail/null_vector.hpp&gt;</div>
<div>This file is not in the /detail on svn:</div><div><a href="https://svn.boost.org/svn/boost/sandbox/numeric_bindings/boost/numeric/bindings/lapack/detail/">https://svn.boost.org/svn/boost/sandbox/numeric_bindings/boost/numeric/bindings/lapack/detail/</a></div>
<div><br></div><div>Please tell me if I am missing out on the triangular traits classes and when I should test these two functions otherwise</div><div>Also:  Do you expect the interfaces for the trtri and trtrp to change much?  For example, should I expect the &#39;N&#39; vs. &#39;D&#39; parameter to disappear as we detect the ublas::lower vs. ublas::unit_lower?</div>
<div><br></div><div>Thanks guys,</div><div>Jesse</div></div>

