Re: compile problem: 'missing typename'
Peter Gottschling <[email protected]> Mon, 26 Feb 2007 18:02:24 -0500
| Newsgroups | gmane.comp.lib.mtl.devel |
|---|---|
| Message-ID | <[email protected]> |
--===============2000677162==
Content-Type: multipart/alternative; boundary=Apple-Mail-1-950216208
--Apple-Mail-1-950216208
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
charset=ISO-8859-1;
delsp=yes;
format=flowed
Thank you Gunter. That helps a lot. I'm pretty busy for the next 3 =20
weeks. But after this I'll work the patch into a complete =20
distribution together with the other patches. I promise!
Mit freundlichen Gr=FC=DFen,
Peter
On Feb 26, 2007, at 10:29 AM, Gunter Winkler wrote:
> Hello,
>
> here is a list (patch file) of all typenames I had to insert in =20
> order to
> compile mtl with gcc 4.1
>
> mfg
> Gunter
> --- mtl.h 2005-06-27 10:46:03.000000000 +0200
> +++ /home/a11aguwi/mtl.h 2007-02-26 16:18:44.000000000 +0100
> @@ -114,7 +102,7 @@ template <class Vector> inline
> typename linalg_traits<Vector>::value_type
> sum(const Vector& x)
> {
> - return sum__(x, dim_n<Vector>::RET());
> + return sum__(x, typename dim_n<Vector>::RET());
> }
>
> #include "mtl/mtl_set.h"
> @@ -151,7 +139,7 @@ template <class Vector, class T> inline
> void
> scale_dim(Vector& x, const T& alpha, oned_tag)
> {
> - oned_scale(x, alpha, dim_n<Vector>::RET());
> + oned_scale(x, alpha, typename dim_n<Vector>::RET());
> }
>
> template <class Matrix, class T>
> @@ -245,7 +233,7 @@ template <class Vector>
> inline typename linalg_traits<Vector>::magnitude_type
> one_norm(const Vector& x, oned_tag)
> {
> - return oned_one_norm(x, dim_n<Vector>::RET());
> + return oned_one_norm(x, typename dim_n<Vector>::RET());
> }
>
>
> @@ -297,7 +285,7 @@ template <class Vector>
> inline typename linalg_traits<Vector>::magnitude_type
> two_norm(const Vector& x)
> {
> - return oned_two_norm(x, dim_n<Vector>::RET());
> + return oned_two_norm(x, typename dim_n<Vector>::RET());
> }
>
> //: add square
> @@ -2445,7 +2433,8 @@ inline void
> oned_copy(const VecX& x, VecY& y, dense_tag, dense_tag) =20
> MTL_THROW_ASSERTION
> {
> MTL_ASSERT(x.size() <=3D y.size(), "mtl::copy()");
> - copy__(x, y, dim_n<VecX>::RET());
> + // copy__(x, y, dim_n<VecX>::RET()); gcc4
> + copy__(x, y, typename dim_n<VecX>::RET());
> }
>
> #if 0
> @@ -2713,7 +2702,7 @@ add__(const VecX& x, VecY& y, oned_tag)
> {
> MTL_ASSERT(x.size() <=3D y.size(), "mtl::add()");
>
> - add__(x, y, dim_n<VecX>::RET());
> + add__(x, y, typename dim_n<VecX>::RET());
> }
>
>
> @@ -2777,7 +2766,8 @@ template <class VecX, class VecY, class
> inline void
> oned_add(const VecX& x, const VecY& y, VecZ& z, dense_tag) =20
> MTL_THROW_ASSERTION
> {
> - oned_add(x, y, z, dim_n<VecX>::RET());
> + // oned_add(x, y, z, dim_n<VecX>::RET()); gcc4
> + oned_add(x, y, z, typename dim_n<VecX>::RET());
> }
>
>
> @@ -3003,7 +2993,7 @@ ele_mult(const VecX& x, const VecY& y, M
> MTL_ASSERT(x.size() <=3D y.size(), "mtl::ele_mult()");
> MTL_ASSERT(x.size() <=3D z.size(), "mtl::ele_mult()");
>
> - ele_mult(x, y, z, dim_n<VecX>::RET());
> + ele_mult(x, y, z, typename dim_n<VecX>::RET());
> }
>
>
> @@ -3080,7 +3070,7 @@ inline void
> swap(VecX& x, VecY& y, oned_tag) MTL_THROW_ASSERTION
> {
> MTL_ASSERT(x.size() <=3D y.size(), "mtl::swap()");
> - swap(x, y, dim_n<VecX>::RET());
> + swap(x, y, typename dim_n<VecX>::RET());
> }
>
>
> @@ -3153,7 +3143,7 @@ template <class VecX, class VecY, class
> inline T
> dot(const VecX& x, const VecY& y, T s, dense_tag, dense_tag)
> {
> - return dot(x, y, s, dim_n<VecX>::RET());
> + return dot(x, y, s, typename dim_n<VecX>::RET());
> }
>
> template <class InputIterator1, class InputIterator2, class T>
> @@ -3305,7 +3295,7 @@ inline T
> dot_conj(const VecX& x, const VecY& y, T s) MTL_THROW_ASSERTION
> {
> MTL_ASSERT(x.size() <=3D y.size(), "mtl::dot_conj()");
> - return dot_conj(x, y, s, dim_n<VecX>::RET());
> + return dot_conj(x, y, s, typename dim_n<VecX>::RET());
> }
>
> //: Dot Conjugate: <tt>s <- x . conj(y)</tt>
> _______________________________________________
> This list is archived at http://www.osl.iu.edu/MailArchives/mtl-devel/
------------
Peter Gottschling
Research Associate
Open Systems Laboratory
Indiana University
135 Lindley Hall
Bloomington, IN 47405
Tel.: +1 812 855-3608 Fax: +1 812 856 0853
http://www.osl.iu.edu/~pgottsch
--Apple-Mail-1-950216208
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
charset=ISO-8859-1
<HTML><BODY style=3D"word-wrap: break-word; -khtml-nbsp-mode: space; =
-khtml-line-break: after-white-space; ">Thank you Gunter.=A0 That helps =
a lot. I'm pretty busy for the next 3 weeks.=A0 But after this I'll work =
the patch into a complete distribution together with the other patches.=A0=
I promise!<DIV><BR class=3D"khtml-block-placeholder"></DIV><DIV>Mit =
freundlichen Gr=FC=DFen,</DIV><DIV>Peter</DIV><DIV>=A0<BR><DIV><DIV>On =
Feb 26, 2007, at 10:29 AM, Gunter Winkler wrote:</DIV><BR =
class=3D"Apple-interchange-newline"><BLOCKQUOTE type=3D"cite"><DIV =
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; ">Hello,</DIV><DIV style=3D"margin-top: 0px; =
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: =
14px; "><BR></DIV><DIV style=3D"margin-top: 0px; margin-right: 0px; =
margin-bottom: 0px; margin-left: 0px; ">here is a list (patch file) of =
all typenames I had to insert in order to<SPAN =
class=3D"Apple-converted-space">=A0</SPAN></DIV><DIV style=3D"margin-top: =
0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">compile =
mtl with gcc 4.1</DIV><DIV style=3D"margin-top: 0px; margin-right: 0px; =
margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV =
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; ">mfg</DIV><DIV style=3D"margin-top: 0px; =
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; =
">Gunter</DIV><DIV style=3D"margin-top: 0px; margin-right: 0px; =
margin-bottom: 0px; margin-left: 0px; ">--- mtl.h<SPAN =
class=3D"Apple-tab-span" style=3D"white-space:pre"> =
</SPAN>2005-06-27 10:46:03.000000000 +0200</DIV><DIV style=3D"margin-top: =
0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">+++ =
/home/a11aguwi/mtl.h<SPAN class=3D"Apple-tab-span" =
style=3D"white-space:pre"> </SPAN>2007-02-26 16:18:44.000000000 =
+0100</DIV><DIV style=3D"margin-top: 0px; margin-right: 0px; =
margin-bottom: 0px; margin-left: 0px; ">@@ -114,7 +102,7 @@ template =
<class Vector> inline</DIV><DIV style=3D"margin-top: 0px; =
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><SPAN =
class=3D"Apple-converted-space">=A0</SPAN>typename =
linalg_traits<Vector>::value_type</DIV><DIV style=3D"margin-top: =
0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><SPAN =
class=3D"Apple-converted-space">=A0</SPAN>sum(const Vector& =
x)</DIV><DIV style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: =
0px; margin-left: 0px; "><SPAN =
class=3D"Apple-converted-space">=A0</SPAN>{</DIV><DIV style=3D"margin-top:=
0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">-<SPAN =
class=3D"Apple-converted-space">=A0 </SPAN>return sum__(x, =
dim_n<Vector>::RET());</DIV><DIV style=3D"margin-top: 0px; =
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">+<SPAN =
class=3D"Apple-converted-space">=A0 </SPAN>return sum__(x, typename =
dim_n<Vector>::RET());</DIV><DIV style=3D"margin-top: 0px; =
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><SPAN =
class=3D"Apple-converted-space">=A0</SPAN>}</DIV><P style=3D"margin: =
0.0px 0.0px 0.0px 0.0px; min-height: 14.0px"><SPAN =
class=3D"Apple-converted-space">=A0</SPAN><BR =
class=3D"khtml-block-placeholder"></P><DIV style=3D"margin-top: 0px; =
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><SPAN =
class=3D"Apple-converted-space">=A0</SPAN>#include =
"mtl/mtl_set.h"</DIV><DIV style=3D"margin-top: 0px; margin-right: 0px; =
margin-bottom: 0px; margin-left: 0px; ">@@ -151,7 +139,7 @@ template =
<class Vector, class T> inline</DIV><DIV style=3D"margin-top: 0px; =
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><SPAN =
class=3D"Apple-converted-space">=A0</SPAN>void</DIV><DIV =
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; "><SPAN =
class=3D"Apple-converted-space">=A0</SPAN>scale_dim(Vector& x, const =
T& alpha, oned_tag)</DIV><DIV style=3D"margin-top: 0px; =
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><SPAN =
class=3D"Apple-converted-space">=A0</SPAN>{</DIV><DIV style=3D"margin-top:=
0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">-<SPAN =
class=3D"Apple-converted-space">=A0 </SPAN>oned_scale(x, alpha, =
dim_n<Vector>::RET());</DIV><DIV style=3D"margin-top: 0px; =
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">+<SPAN =
class=3D"Apple-converted-space">=A0 </SPAN>oned_scale(x, alpha, typename =
dim_n<Vector>::RET());</DIV><DIV style=3D"margin-top: 0px; =
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><SPAN =
class=3D"Apple-converted-space">=A0</SPAN>}</DIV><P style=3D"margin: =
0.0px 0.0px 0.0px 0.0px; min-height: 14.0px"><SPAN =
class=3D"Apple-converted-space">=A0</SPAN><BR =
class=3D"khtml-block-placeholder"></P><DIV style=3D"margin-top: 0px; =
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><SPAN =
class=3D"Apple-converted-space">=A0</SPAN>template <class Matrix, =
class T></DIV><DIV style=3D"margin-top: 0px; margin-right: 0px; =
margin-bottom: 0px; margin-left: 0px; ">@@ -245,7 +233,7 @@ template =
<class Vector></DIV><DIV style=3D"margin-top: 0px; margin-right: =
0px; margin-bottom: 0px; margin-left: 0px; "><SPAN =
class=3D"Apple-converted-space">=A0</SPAN>inline typename =
linalg_traits<Vector>::magnitude_type</DIV><DIV style=3D"margin-top:=
0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><SPAN =
class=3D"Apple-converted-space">=A0</SPAN>one_norm(const Vector& x, =
oned_tag)</DIV><DIV style=3D"margin-top: 0px; margin-right: 0px; =
margin-bottom: 0px; margin-left: 0px; "><SPAN =
class=3D"Apple-converted-space">=A0</SPAN>{</DIV><DIV style=3D"margin-top:=
0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">-<SPAN =
class=3D"Apple-converted-space">=A0 </SPAN>return oned_one_norm(x, =
dim_n<Vector>::RET());</DIV><DIV style=3D"margin-top: 0px; =
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">+<SPAN =
class=3D"Apple-converted-space">=A0 </SPAN>return oned_one_norm(x, =
typename dim_n<Vector>::RET());</DIV><DIV style=3D"margin-top: =
0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><SPAN =
class=3D"Apple-converted-space">=A0</SPAN>}</DIV><P style=3D"margin: =
0.0px 0.0px 0.0px 0.0px; min-height: 14.0px"><SPAN =
class=3D"Apple-converted-space">=A0</SPAN><BR =
class=3D"khtml-block-placeholder"></P><P style=3D"margin: 0.0px 0.0px =
0.0px 0.0px; min-height: 14.0px"><SPAN =
class=3D"Apple-converted-space">=A0</SPAN><BR =
class=3D"khtml-block-placeholder"></P><DIV style=3D"margin-top: 0px; =
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">@@ -297,7 =
+285,7 @@ template <class Vector></DIV><DIV style=3D"margin-top: =
0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><SPAN =
class=3D"Apple-converted-space">=A0</SPAN>inline typename =
linalg_traits<Vector>::magnitude_type</DIV><DIV style=3D"margin-top:=
0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><SPAN =
class=3D"Apple-converted-space">=A0</SPAN>two_norm(const Vector& =
x)</DIV><DIV style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: =
0px; margin-left: 0px; "><SPAN =
class=3D"Apple-converted-space">=A0</SPAN>{</DIV><DIV style=3D"margin-top:=
0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">-<SPAN =
class=3D"Apple-converted-space">=A0 </SPAN>return oned_two_norm(x, =
dim_n<Vector>::RET());</DIV><DIV style=3D"margin-top: 0px; =
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">+<SPAN =
class=3D"Apple-converted-space">=A0 </SPAN>return oned_two_norm(x, =
typename dim_n<Vector>::RET());</DIV><DIV style=3D"margin-top: =
0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><SPAN =
class=3D"Apple-converted-space">=A0</SPAN>}</DIV><P style=3D"margin: =
0.0px 0.0px 0.0px 0.0px; min-height: 14.0px"><SPAN =
class=3D"Apple-converted-space">=A0</SPAN><BR =
class=3D"khtml-block-placeholder"></P><DIV style=3D"margin-top: 0px; =
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><SPAN =
class=3D"Apple-converted-space">=A0</SPAN>//: add square</DIV><DIV =
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; ">@@ -2445,7 +2433,8 @@ inline void</DIV><DIV =
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; "><SPAN =
class=3D"Apple-converted-space">=A0</SPAN>oned_copy(const VecX& x, =
VecY& y, dense_tag, dense_tag) MTL_THROW_ASSERTION</DIV><DIV =
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; "><SPAN =
class=3D"Apple-converted-space">=A0</SPAN>{</DIV><DIV style=3D"margin-top:=
0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><SPAN =
class=3D"Apple-converted-space">=A0=A0 </SPAN>MTL_ASSERT(x.size() <=3D =
y.size(), "mtl::copy()");</DIV><DIV style=3D"margin-top: 0px; =
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">-<SPAN =
class=3D"Apple-converted-space">=A0 </SPAN>copy__(x, y, =
dim_n<VecX>::RET());</DIV><DIV style=3D"margin-top: 0px; =
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">+<SPAN =
class=3D"Apple-converted-space">=A0 </SPAN>// copy__(x, y, =
dim_n<VecX>::RET()); gcc4</DIV><DIV style=3D"margin-top: 0px; =
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">+<SPAN =
class=3D"Apple-converted-space">=A0 </SPAN>copy__(x, y, typename =
dim_n<VecX>::RET());</DIV><DIV style=3D"margin-top: 0px; =
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><SPAN =
class=3D"Apple-converted-space">=A0</SPAN>} <SPAN =
class=3D"Apple-converted-space">=A0</SPAN></DIV><P style=3D"margin: =
0.0px 0.0px 0.0px 0.0px; min-height: 14.0px"><SPAN =
class=3D"Apple-converted-space">=A0</SPAN><BR =
class=3D"khtml-block-placeholder"></P><DIV style=3D"margin-top: 0px; =
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><SPAN =
class=3D"Apple-converted-space">=A0</SPAN>#if 0</DIV><DIV =
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; ">@@ -2713,7 +2702,7 @@ add__(const VecX& x, =
VecY& y, oned_tag)<SPAN =
class=3D"Apple-converted-space">=A0</SPAN></DIV><DIV style=3D"margin-top: =
0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><SPAN =
class=3D"Apple-converted-space">=A0</SPAN>{</DIV><DIV style=3D"margin-top:=
0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><SPAN =
class=3D"Apple-converted-space">=A0=A0 </SPAN>MTL_ASSERT(x.size() <=3D =
y.size(), "mtl::add()");</DIV><P style=3D"margin: 0.0px 0.0px 0.0px =
0.0px; min-height: 14.0px"><SPAN =
class=3D"Apple-converted-space">=A0</SPAN><BR =
class=3D"khtml-block-placeholder"></P><DIV style=3D"margin-top: 0px; =
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">-<SPAN =
class=3D"Apple-converted-space">=A0 </SPAN>add__(x, y, =
dim_n<VecX>::RET());</DIV><DIV style=3D"margin-top: 0px; =
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">+<SPAN =
class=3D"Apple-converted-space">=A0 </SPAN>add__(x, y, typename =
dim_n<VecX>::RET());</DIV><DIV style=3D"margin-top: 0px; =
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><SPAN =
class=3D"Apple-converted-space">=A0</SPAN>}</DIV><P style=3D"margin: =
0.0px 0.0px 0.0px 0.0px; min-height: 14.0px"><SPAN =
class=3D"Apple-converted-space">=A0</SPAN><BR =
class=3D"khtml-block-placeholder"></P><P style=3D"margin: 0.0px 0.0px =
0.0px 0.0px; min-height: 14.0px"><SPAN =
class=3D"Apple-converted-space">=A0</SPAN><BR =
class=3D"khtml-block-placeholder"></P><DIV style=3D"margin-top: 0px; =
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">@@ -2777,7 =
+2766,8 @@ template <class VecX, class VecY, class<SPAN =
class=3D"Apple-converted-space">=A0</SPAN></DIV><DIV style=3D"margin-top: =
0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><SPAN =
class=3D"Apple-converted-space">=A0</SPAN>inline void</DIV><DIV =
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; "><SPAN =
class=3D"Apple-converted-space">=A0</SPAN>oned_add(const VecX& x, =
const VecY& y, VecZ& z, dense_tag) MTL_THROW_ASSERTION</DIV><DIV =
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; "><SPAN =
class=3D"Apple-converted-space">=A0</SPAN>{</DIV><DIV style=3D"margin-top:=
0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">-<SPAN =
class=3D"Apple-converted-space">=A0 </SPAN>oned_add(x, y, z, =
dim_n<VecX>::RET());</DIV><DIV style=3D"margin-top: 0px; =
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">+<SPAN =
class=3D"Apple-converted-space">=A0 </SPAN>// oned_add(x, y, z, =
dim_n<VecX>::RET()); gcc4</DIV><DIV style=3D"margin-top: 0px; =
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">+<SPAN =
class=3D"Apple-converted-space">=A0 </SPAN>oned_add(x, y, z, typename =
dim_n<VecX>::RET());</DIV><DIV style=3D"margin-top: 0px; =
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><SPAN =
class=3D"Apple-converted-space">=A0</SPAN>}</DIV><P style=3D"margin: =
0.0px 0.0px 0.0px 0.0px; min-height: 14.0px"><SPAN =
class=3D"Apple-converted-space">=A0</SPAN><BR =
class=3D"khtml-block-placeholder"></P><P style=3D"margin: 0.0px 0.0px =
0.0px 0.0px; min-height: 14.0px"><SPAN =
class=3D"Apple-converted-space">=A0</SPAN><BR =
class=3D"khtml-block-placeholder"></P><DIV style=3D"margin-top: 0px; =
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">@@ -3003,7 =
+2993,7 @@ ele_mult(const VecX& x, const VecY& y, M</DIV><DIV =
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; "><SPAN class=3D"Apple-converted-space">=A0=A0 =
</SPAN>MTL_ASSERT(x.size() <=3D y.size(), =
"mtl::ele_mult()");</DIV><DIV style=3D"margin-top: 0px; margin-right: =
0px; margin-bottom: 0px; margin-left: 0px; "><SPAN =
class=3D"Apple-converted-space">=A0=A0 </SPAN>MTL_ASSERT(x.size() <=3D =
z.size(), "mtl::ele_mult()");</DIV><P style=3D"margin: 0.0px 0.0px 0.0px =
0.0px; min-height: 14.0px"><SPAN =
class=3D"Apple-converted-space">=A0</SPAN><BR =
class=3D"khtml-block-placeholder"></P><DIV style=3D"margin-top: 0px; =
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">-<SPAN =
class=3D"Apple-converted-space">=A0 </SPAN>ele_mult(x, y, z, =
dim_n<VecX>::RET());</DIV><DIV style=3D"margin-top: 0px; =
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">+<SPAN =
class=3D"Apple-converted-space">=A0 </SPAN>ele_mult(x, y, z, typename =
dim_n<VecX>::RET());</DIV><DIV style=3D"margin-top: 0px; =
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><SPAN =
class=3D"Apple-converted-space">=A0</SPAN>}</DIV><P style=3D"margin: =
0.0px 0.0px 0.0px 0.0px; min-height: 14.0px"><SPAN =
class=3D"Apple-converted-space">=A0</SPAN><BR =
class=3D"khtml-block-placeholder"></P><P style=3D"margin: 0.0px 0.0px =
0.0px 0.0px; min-height: 14.0px"><SPAN =
class=3D"Apple-converted-space">=A0</SPAN><BR =
class=3D"khtml-block-placeholder"></P><DIV style=3D"margin-top: 0px; =
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">@@ -3080,7 =
+3070,7 @@ inline void</DIV><DIV style=3D"margin-top: 0px; margin-right: =
0px; margin-bottom: 0px; margin-left: 0px; "><SPAN =
class=3D"Apple-converted-space">=A0</SPAN>swap(VecX& x, VecY& y, =
oned_tag) MTL_THROW_ASSERTION</DIV><DIV style=3D"margin-top: 0px; =
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><SPAN =
class=3D"Apple-converted-space">=A0</SPAN>{</DIV><DIV style=3D"margin-top:=
0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><SPAN =
class=3D"Apple-converted-space">=A0=A0 </SPAN>MTL_ASSERT(x.size() <=3D =
y.size(), "mtl::swap()");</DIV><DIV style=3D"margin-top: 0px; =
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">-<SPAN =
class=3D"Apple-converted-space">=A0 </SPAN>swap(x, y, =
dim_n<VecX>::RET());</DIV><DIV style=3D"margin-top: 0px; =
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">+<SPAN =
class=3D"Apple-converted-space">=A0 </SPAN>swap(x, y, typename =
dim_n<VecX>::RET());</DIV><DIV style=3D"margin-top: 0px; =
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><SPAN =
class=3D"Apple-converted-space">=A0</SPAN>} <SPAN =
class=3D"Apple-converted-space">=A0</SPAN></DIV><P style=3D"margin: =
0.0px 0.0px 0.0px 0.0px; min-height: 14.0px"><SPAN =
class=3D"Apple-converted-space">=A0</SPAN><BR =
class=3D"khtml-block-placeholder"></P><P style=3D"margin: 0.0px 0.0px =
0.0px 0.0px; min-height: 14.0px"><SPAN =
class=3D"Apple-converted-space">=A0</SPAN><BR =
class=3D"khtml-block-placeholder"></P><DIV style=3D"margin-top: 0px; =
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">@@ -3153,7 =
+3143,7 @@ template <class VecX, class VecY, class<SPAN =
class=3D"Apple-converted-space">=A0</SPAN></DIV><DIV style=3D"margin-top: =
0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><SPAN =
class=3D"Apple-converted-space">=A0</SPAN>inline T</DIV><DIV =
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; "><SPAN =
class=3D"Apple-converted-space">=A0</SPAN>dot(const VecX& x, const =
VecY& y, T s, dense_tag, dense_tag)</DIV><DIV style=3D"margin-top: =
0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><SPAN =
class=3D"Apple-converted-space">=A0</SPAN>{</DIV><DIV style=3D"margin-top:=
0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">-<SPAN =
class=3D"Apple-converted-space">=A0 </SPAN>return dot(x, y, s, =
dim_n<VecX>::RET());</DIV><DIV style=3D"margin-top: 0px; =
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">+<SPAN =
class=3D"Apple-converted-space">=A0 </SPAN>return dot(x, y, s, typename =
dim_n<VecX>::RET());</DIV><DIV style=3D"margin-top: 0px; =
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><SPAN =
class=3D"Apple-converted-space">=A0</SPAN>}</DIV><P style=3D"margin: =
0.0px 0.0px 0.0px 0.0px; min-height: 14.0px"><SPAN =
class=3D"Apple-converted-space">=A0</SPAN><BR =
class=3D"khtml-block-placeholder"></P><DIV style=3D"margin-top: 0px; =
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><SPAN =
class=3D"Apple-converted-space">=A0</SPAN>template <class =
InputIterator1, class InputIterator2, class T></DIV><DIV =
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; ">@@ -3305,7 +3295,7 @@ inline T</DIV><DIV =
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; "><SPAN =
class=3D"Apple-converted-space">=A0</SPAN>dot_conj(const VecX& x, =
const VecY& y, T s) MTL_THROW_ASSERTION</DIV><DIV style=3D"margin-top:=
0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><SPAN =
class=3D"Apple-converted-space">=A0</SPAN>{</DIV><DIV style=3D"margin-top:=
0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><SPAN =
class=3D"Apple-converted-space">=A0=A0 </SPAN>MTL_ASSERT(x.size() <=3D =
y.size(), "mtl::dot_conj()");</DIV><DIV style=3D"margin-top: 0px; =
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">-<SPAN =
class=3D"Apple-converted-space">=A0 </SPAN>return dot_conj(x, y, s, =
dim_n<VecX>::RET());</DIV><DIV style=3D"margin-top: 0px; =
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">+<SPAN =
class=3D"Apple-converted-space">=A0 </SPAN>return dot_conj(x, y, s, =
typename dim_n<VecX>::RET());</DIV><DIV style=3D"margin-top: 0px; =
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><SPAN =
class=3D"Apple-converted-space">=A0</SPAN>}</DIV><P style=3D"margin: =
0.0px 0.0px 0.0px 0.0px; min-height: 14.0px"><SPAN =
class=3D"Apple-converted-space">=A0</SPAN><BR =
class=3D"khtml-block-placeholder"></P><DIV style=3D"margin-top: 0px; =
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><SPAN =
class=3D"Apple-converted-space">=A0</SPAN>//: Dot Conjugate: <SPAN =
class=3D"Apple-converted-space">=A0 </SPAN><tt>s <- x . =
conj(y)</tt></DIV><DIV style=3D"margin-top: 0px; margin-right: =
0px; margin-bottom: 0px; margin-left: 0px; =
">_______________________________________________</DIV><DIV =
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; ">This list is archived at <A =
href=3D"http://www.osl.iu.edu/MailArchives/mtl-devel/">http://www.osl.iu.e=
du/MailArchives/mtl-devel/</A></DIV> </BLOCKQUOTE></DIV><BR><DIV> <SPAN =
class=3D"Apple-style-span" style=3D"border-collapse: separate; =
border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; =
font-size: 12px; font-style: normal; font-variant: normal; font-weight: =
normal; letter-spacing: normal; line-height: normal; text-align: auto; =
-khtml-text-decorations-in-effect: none; text-indent: 0px; =
-apple-text-size-adjust: auto; text-transform: none; orphans: 2; =
white-space: normal; widows: 2; word-spacing: 0px; "><SPAN =
class=3D"Apple-style-span" style=3D"border-collapse: separate; =
border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; =
font-size: 12px; font-style: normal; font-variant: normal; font-weight: =
normal; letter-spacing: normal; line-height: normal; text-align: auto; =
-khtml-text-decorations-in-effect: none; text-indent: 0px; =
-apple-text-size-adjust: auto; text-transform: none; orphans: 2; =
white-space: normal; widows: 2; word-spacing: 0px; =
"><DIV>------------</DIV><DIV>Peter Gottschling</DIV><DIV>Research =
Associate</DIV><DIV>Open Systems Laboratory</DIV><DIV>Indiana =
University</DIV><DIV>135=A0Lindley Hall</DIV><DIV>Bloomington, IN =
47405</DIV><DIV>Tel.: +1 812 855-3608=A0 =A0Fax: +1 812 856 =
0853</DIV><DIV><A =
href=3D"http://www.osl.iu.edu/~pgottsch">http://www.osl.iu.edu/~pgottsch</=
A></DIV><BR class=3D"Apple-interchange-newline"></SPAN></SPAN> =
</DIV><BR></DIV></BODY></HTML>=
--Apple-Mail-1-950216208--
--===============2000677162==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
This list is archived at http://www.osl.iu.edu/MailArchives/mtl-devel/
--===============2000677162==--