You can subscribe to this list here.
1998 
_{Jan}

_{Feb}

_{Mar}

_{Apr}

_{May}

_{Jun}
(1) 
_{Jul}

_{Aug}
(15) 
_{Sep}
(5) 
_{Oct}
(11) 
_{Nov}
(19) 
_{Dec}
(5) 

1999 
_{Jan}
(8) 
_{Feb}
(2) 
_{Mar}
(13) 
_{Apr}
(22) 
_{May}
(6) 
_{Jun}
(11) 
_{Jul}
(3) 
_{Aug}
(8) 
_{Sep}
(14) 
_{Oct}
(14) 
_{Nov}
(7) 
_{Dec}
(13) 
2000 
_{Jan}
(14) 
_{Feb}
(13) 
_{Mar}
(25) 
_{Apr}
(5) 
_{May}
(11) 
_{Jun}
(7) 
_{Jul}
(5) 
_{Aug}
(4) 
_{Sep}
(1) 
_{Oct}
(14) 
_{Nov}
(13) 
_{Dec}
(15) 
2001 
_{Jan}
(46) 
_{Feb}
(8) 
_{Mar}
(10) 
_{Apr}
(4) 
_{May}
(7) 
_{Jun}
(5) 
_{Jul}
(10) 
_{Aug}
(12) 
_{Sep}
(11) 
_{Oct}
(6) 
_{Nov}
(11) 
_{Dec}
(3) 
2002 
_{Jan}
(6) 
_{Feb}
(2) 
_{Mar}
(3) 
_{Apr}
(16) 
_{May}
(23) 
_{Jun}
(9) 
_{Jul}
(14) 
_{Aug}
(15) 
_{Sep}
(11) 
_{Oct}
(13) 
_{Nov}
(15) 
_{Dec}
(36) 
2003 
_{Jan}
(33) 
_{Feb}
(49) 
_{Mar}
(27) 
_{Apr}
(23) 
_{May}
(19) 
_{Jun}
(21) 
_{Jul}
(33) 
_{Aug}
(26) 
_{Sep}
(42) 
_{Oct}
(34) 
_{Nov}
(31) 
_{Dec}
(52) 
2004 
_{Jan}
(22) 
_{Feb}
(24) 
_{Mar}
(22) 
_{Apr}
(12) 
_{May}
(18) 
_{Jun}
(45) 
_{Jul}
(18) 
_{Aug}
(52) 
_{Sep}
(13) 
_{Oct}
(17) 
_{Nov}
(14) 
_{Dec}
(30) 
2005 
_{Jan}
(11) 
_{Feb}
(10) 
_{Mar}
(19) 
_{Apr}
(29) 
_{May}
(58) 
_{Jun}
(61) 
_{Jul}
(45) 
_{Aug}
(23) 
_{Sep}
(43) 
_{Oct}
(42) 
_{Nov}
(30) 
_{Dec}
(24) 
2006 
_{Jan}
(23) 
_{Feb}
(43) 
_{Mar}
(34) 
_{Apr}
(14) 
_{May}
(31) 
_{Jun}
(23) 
_{Jul}
(13) 
_{Aug}
(6) 
_{Sep}
(16) 
_{Oct}
(14) 
_{Nov}
(9) 
_{Dec}
(11) 
2007 
_{Jan}
(28) 
_{Feb}
(24) 
_{Mar}
(23) 
_{Apr}
(16) 
_{May}
(29) 
_{Jun}
(28) 
_{Jul}
(17) 
_{Aug}
(14) 
_{Sep}
(15) 
_{Oct}
(19) 
_{Nov}

_{Dec}
(12) 
2008 
_{Jan}
(30) 
_{Feb}
(21) 
_{Mar}
(24) 
_{Apr}
(22) 
_{May}
(38) 
_{Jun}
(21) 
_{Jul}
(24) 
_{Aug}
(31) 
_{Sep}
(9) 
_{Oct}
(23) 
_{Nov}
(18) 
_{Dec}
(1) 
2009 
_{Jan}
(12) 
_{Feb}
(17) 
_{Mar}
(20) 
_{Apr}
(6) 
_{May}
(6) 
_{Jun}
(11) 
_{Jul}
(27) 
_{Aug}
(5) 
_{Sep}
(5) 
_{Oct}
(16) 
_{Nov}
(2) 
_{Dec}
(6) 
2010 
_{Jan}
(18) 
_{Feb}
(23) 
_{Mar}
(5) 
_{Apr}
(6) 
_{May}
(2) 
_{Jun}
(10) 
_{Jul}
(24) 
_{Aug}
(6) 
_{Sep}
(7) 
_{Oct}
(8) 
_{Nov}
(11) 
_{Dec}
(1) 
2011 
_{Jan}
(15) 
_{Feb}
(1) 
_{Mar}
(1) 
_{Apr}
(4) 
_{May}
(7) 
_{Jun}
(2) 
_{Jul}
(36) 
_{Aug}
(10) 
_{Sep}
(2) 
_{Oct}
(10) 
_{Nov}
(3) 
_{Dec}
(12) 
2012 
_{Jan}
(10) 
_{Feb}
(29) 
_{Mar}
(6) 
_{Apr}
(47) 
_{May}
(11) 
_{Jun}
(11) 
_{Jul}
(14) 
_{Aug}
(13) 
_{Sep}
(3) 
_{Oct}

_{Nov}
(5) 
_{Dec}

2013 
_{Jan}
(7) 
_{Feb}
(6) 
_{Mar}
(5) 
_{Apr}

_{May}
(5) 
_{Jun}
(10) 
_{Jul}

_{Aug}
(1) 
_{Sep}
(6) 
_{Oct}
(3) 
_{Nov}
(1) 
_{Dec}
(7) 
2014 
_{Jan}

_{Feb}
(5) 
_{Mar}
(1) 
_{Apr}
(2) 
_{May}

_{Jun}
(6) 
_{Jul}

_{Aug}
(10) 
_{Sep}
(1) 
_{Oct}

_{Nov}
(5) 
_{Dec}

2015 
_{Jan}

_{Feb}
(1) 
_{Mar}

_{Apr}

_{May}

_{Jun}

_{Jul}
(1) 
_{Aug}

_{Sep}
(1) 
_{Oct}

_{Nov}
(1) 
_{Dec}

S  M  T  W  T  F  S 







1

2

3

4

5
(2) 
6

7

8

9

10

11
(1) 
12

13

14

15

16

17

18

19

20

21
(5) 
22

23
(1) 
24
(2) 
25
(2) 
26
(4) 
27
(1) 
28

29

30







From: Harris <harrisx@gm...>  20081127 10:59:24

Hi, I try to read array data from a stream with the >> operator but it seems, like the array size cannot be interpreted. This is the code of my minimal sample: #include <fstream> #include <iostream> #include "blitz/array.h" using namespace std; using namespace blitz; int main() { std::string inputfilename ="A.dat"; std::ifstream ifsx(inputfilename.c_str(),std::ios::in); if (!ifsx.good()) { cout << "Unable to open file: " << inputfilename; return EXIT_FAILURE; } else std::cout << "reading input data from " << inputfilename << std::endl; Array<double,2> A; ifsx >> A; std::cout << "A: " << A; std::cout << "size x: " << A.extent(0) << std::endl;; std::cout << "size y: " << A.extent(1)<< std::endl; ; return EXIT_SUCCESS; } A.dat:  3 x 3 [ 0 1 0 1 4 1 0 1 0 ] The program prints out something like A: (8860,8852) x (32767,32767) [ weired numbers, zeros or nothing .. ] or simple throws: St9bad_alloc the compiler is gcc 4.1.2, Is this a bug am I'm doing something wrong? Everything else I tried so far works perfectly. Regards, Harris  Psssst! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger 
From: Julian Cummings <cummings@ca...>  20081126 19:12:31

> Original Message > From: Julian Cummings [mailto:cummings@...] > Sent: Tuesday, November 25, 2008 6:00 PM > To: blitzsupport@... > Subject: Re: [Blitzsupport] TinyVector<complex<double>,4> and norm? > > Thanks for the pointer on this. You are right that the > Euclidean norm only applies to the real number space. The > Wikipedia reference also points out that for the complex > number space, the typical L2 norm definition used is the > square root of the sum of the squares of the absolute value > of each complex component. This is equivalent to the square > root of the inner product of the complex vector and its > conjugate. So I think that Ron can get what he wants most > directly with > this: > > double netPower = sqrt(dot(conj(signal),signal)); Argh, I think I am wrong again. This won't quite work right because the code does not recognize that multiplying signal and conj(signal) yields real number values. You would have to explicitly take the real number values like this: double netPower = sqrt(real(dot(conj(signal),signal))); It might be easier and fewer operations to do this as double netPower = sqrt(dot(real(signal),real(signal)) + dot(imag(signal),imag(signal))); Obviously, there are several ways to skin this cat. Regards, Julian C. 
From: Julian Cummings <cummings@ca...>  20081126 02:38:54

On Mon, 20081124 at 22:16 +0100, Leclere Vincent wrote: > Hello, > > I'm sorry to bother you but I have this bug when I'm trying > to use blitz : blitz0.9/blitz/mathfunc.h:1793: error: `::logb' has not > been declared > It appears as soon as I include : > > #include <blitz/array.h> > using namespace blitz; > > do you have any ideas ? > > thanks a lot. > Hello Vincent, Yes, I know what is wrong, but I do not yet have an elegant or universal solution. The code used by the configure script to check for existence of the "IEEE math" functions such as logb() simply includes <math.h> and invokes the functions without any reference to a namespace. A separate configure script test checks for C++ namespace support. If we have namespace support, then it is assumed that we can invoke the IEEE math functions with the :: prefix (telling the compiler to look for them in the global namespace). This is done in order to avoid possible collisions with another function of the same name. The trouble is that sometimes these math functions are actually implemented as macros, and macros don't understand C++ namespace syntax. I am not sure which compiler you are using, but this is probably why logb() works but ::logb() does not. A simple patch to the blitz0.9/blitz/compiler.h header file should help you. Just comment out lines 133, 134, 135, and 137. This will eliminate the :: prefix for IEEE math function calls. Regards, Julian C.  Dr. Julian C. Cummings Email: cummings@... California Institute of Technology Phone: 6263952543 1200 E. California Blvd., Mail Code 15879 Fax: 6265845917 Pasadena, CA 91125 Office: 125 PowellBooth 
From: Julian Cummings <cummings@ca...>  20081126 02:00:36

On Fri, 20081121 at 13:37 0500, Christopher Subich wrote: > On 21Nov08, at 1:26 PM, Julian Cummings wrote: > > > > Are you sure about that? The value complex<double>(0,1) represents > > the > > complex number i. Since i^2 = 1, we do the sum to get 4 and then > > take > > the square root to get 2i, which is complex<double>(0,2). I don't > > think > > the Euclidean norm is restricted to real values when you are > > working in > > the complex plane. So I believe that the code is correct. > > This is definitely straying from the topic of Blitz, but a norm is a > mapping from the vector space to real numbers. The notation sum(f[k] > ^2) is only true for the Ndimensional vector space of real numbers. > > Consider that norms have to be linear, such that norm(k*x) = abs(k) > *norm(x). This is violated (in the 1D case) if norm(x) = sqrt(x^2), > as then: > norm(1) = 1 > norm(complex(0,1)*1) = norm(compex(0,1)) = complex(0,1) != 1 = abs > (complex(0,1))*1 > > See http://en.wikipedia.org/wiki/Norm_(mathematics) > Chris, Thanks for the pointer on this. You are right that the Euclidean norm only applies to the real number space. The Wikipedia reference also points out that for the complex number space, the typical L2 norm definition used is the square root of the sum of the squares of the absolute value of each complex component. This is equivalent to the square root of the inner product of the complex vector and its conjugate. So I think that Ron can get what he wants most directly with this: double netPower = sqrt(dot(conj(signal),signal)); Your original point that the vecnorm code is not correct for complex number types is quite valid. I'll see about fixing this. I probably need to specialize for complex<T>, or else make sure I am working with absolute values here.qqqqqqqqqqqqqqq Regards, Julian C.  Dr. Julian C. Cummings Email: cummings@... California Institute of Technology Phone: 6263952543 1200 E. California Blvd., Mail Code 15879 Fax: 6265845917 Pasadena, CA 91125 Office: 125 PowellBooth 
From: Julian Cummings <cummings@ca...>  20081126 01:28:38

On Tue, 20081125 at 11:21 0800, H. S. Teoh wrote: > On Sun, Nov 23, 2008 at 01:56:54AM 0800, Shivesh Wangrungvichaisri wrote: > > Hi, > > > > How can I get the "view" reference to each of the row? By that I mean, it > > gets the actual reference to the 0th element of each row.... > > > > Example: > > > > Suppose we have: > > > > Array< int, 2 > matrix( 5, 6); // a matrix with 5 rows, with each row having 6 points > > > > What's the syntax necessary to get the following Array< int, 1 > ? > > > > Array< int, 1 > row1; // *reference* to matrix's first row; row1 is 6 elements long > > Array< int, 1 > row2; // *reference* to matrix's second row, row2, is 6 elements long > [...] > > Use: > > Array<int,1> row1(matrix(Range(0,4), 0)); > Array<int,1> row2(matrix(Range(0,4), 1)); > > Subsequent modifications to row1 will change the underlying matrix. > A minor additional note here. You can use the notation Range::all() to refer to the entire range of an Array in any particular dimension. Thus Array<int,1> row1(matrix(Range::all(), 0)); Array<int,1> row2(matrix(Range::all(), 1));  Julian C.  Dr. Julian C. Cummings Email: cummings@... California Institute of Technology Phone: 6263952543 1200 E. California Blvd., Mail Code 15879 Fax: 6265845917 Pasadena, CA 91125 Office: 125 PowellBooth 
From: Christopher Subich <csubich@ma...>  20081125 19:49:21

On 21Nov08, at 4:08 PM, Ron Crocker wrote: > Ok, you caught me :) > > What I really want is signal^2, where signal is a complex. > Algebraically, that turns into sum(signal(i)^2) = sum(norm(signal > (i)). I was using a TinyVector to unroll the sum, effectively > turning this code... >> >> double netPower = norm(signal); > > into this code: >> >> double netPower = norm(signal[0])+norm(signal[1])+norm(signal[2]) >> +norm(signal[3]); What about double netPower = sum(pow(abs(signal),2))? You might have to include <blitz/tinyvec_et.h> Or perhaps double netPower = sum(abs(real(signal)*real(signal)+imag (signal)*imag(signal))) Do things componentwise, and add them together at the end. 
From: H. S. Teoh <hsteoh@qu...>  20081125 19:45:37

On Sun, Nov 23, 2008 at 01:56:54AM 0800, Shivesh Wangrungvichaisri wrote: > Hi, > > How can I get the "view" reference to each of the row? By that I mean, it > gets the actual reference to the 0th element of each row.... > > Example: > > Suppose we have: > > Array< int, 2 > matrix( 5, 6); // a matrix with 5 rows, with each row having 6 points > > What's the syntax necessary to get the following Array< int, 1 > ? > > Array< int, 1 > row1; // *reference* to matrix's first row; row1 is 6 elements long > Array< int, 1 > row2; // *reference* to matrix's second row, row2, is 6 elements long [...] Use: Array<int,1> row1(matrix(Range(0,4), 0)); Array<int,1> row2(matrix(Range(0,4), 1)); Subsequent modifications to row1 will change the underlying matrix. T  Real men don't take backups. They put their source on a public FTPserver and let the world mirror it.  Linus Torvalds 
From: Leclere Vincent <vincent.leclere@po...>  20081124 23:03:42

Hello, I'm sorry to bother you but I have this bug when I'm trying to use blitz : blitz0.9/blitz/mathfunc.h:1793: error: `::logb' has not been declared It appears as soon as I include : #include <blitz/array.h> using namespace blitz; do you have any ideas ? thanks a lot. 
From: Volker Braun <vbraun@ph...>  20081124 18:55:09

Dear blitz list, I have a suggestion for improvement with using userdefined data types and blitz++. For safety reasons, I like to declare the MyType(int) constructor to be explict. Blitz++ generally has no problem with this, but reductions trigger some bug. Here is an example code that shows my issue:  snip on  #include <blitz/array.h> // "Real" numbers class IR { private: double value; public: // Standard arithmetic functions const IR& operator += (const IR& other) { value += other.value; return (*this); } const IR& operator *= (const IR& other) { value *= other.value; return (*this); } const IR operator * (const IR& other) const { IR product = (*this); product *= other; return product; } const IR operator / (const IR& other) const { IR quotient; quotient.value = value/other.value; return quotient; } public: // Default constructor IR() {} // avoid implicit type conversions: IR(2)/IR(3) != IR(2/3) explicit IR(int i) : value(i) {} }; int main() { using namespace blitz; // IR two_thirds = 2 / 3; IR two_thirds = IR(2) / IR(3); // This should work Array<IR,1> A(5); A = IR(1), IR(2), IR(3), IR(4), IR(5); IR Asum = sum(A); IR Aprod = product(A); // This should work, too // Note: sum follows different code path here Array<IR,2> M1(10,10), M2(10,10); M1 = IR(1); M2 = IR(2); firstIndex a; secondIndex b; thirdIndex i; Array<IR,1> m(10); m = sum( M1(a,b), b); m = product( M1(a,b), b); Array<IR,2> M1M2(10,10); M1M2 = sum( M1(a,i) * M2(i,b), i); M1M2 = product( M1(a,i) * M2(i,b), i); return 0; }  snip off  The gcc compiler error is some jungle of template instantiations, but essentially fails because blitz tries to implicitly convert int to IR. The following patch fixes this problem:  patch begin  Index: blitz/numinquire.h =================================================================== RCS file: /cvsroot/blitz/blitz/blitz/numinquire.h,v retrieving revision 1.6 diff u r1.6 numinquire.h  blitz/numinquire.h 1 Nov 2005 02:42:23 0000 1.6 +++ blitz/numinquire.h 24 Nov 2008 16:05:05 0000 @@ 64,8 +64,8 @@ template<typename T_numtype> struct _bz_OneZeroTraits {  static inline T_numtype zero() { return 0; }  static inline T_numtype one() { return 1; } + static inline T_numtype zero() { return T_numtype(0); } + static inline T_numtype one() { return T_numtype(1); } }; #ifdef BZ_HAVE_COMPLEX Index: blitz/array/reduce.h =================================================================== RCS file: /cvsroot/blitz/blitz/blitz/array/reduce.h,v retrieving revision 1.12 diff u r1.12 reduce.h  blitz/array/reduce.h 24 May 2008 11:25:55 0000 1.12 +++ blitz/array/reduce.h 24 Nov 2008 16:05:06 0000 @@ 140,7 +140,7 @@ // which contains an index placeholder. You must use index // iteration mode instead.  int operator*() const { BZPRECONDITION(0); return 0; } + T_numtype operator*() const { BZPRECONDITION(0); return T_numtype(0); } int suggestStride(int) const { BZPRECONDITION(0); return 0; } void push(int) const { BZPRECONDITION(0); }  patch end  Best Regards, Volker Braun 
From: Shivesh Wangrungvichaisri <aristopac@ya...>  20081123 09:56:59

Hi, How can I get the "view" reference to each of the row? By that I mean, it gets the actual reference to the 0th element of each row.... Example: Suppose we have: Array< int, 2 > matrix( 5, 6); // a matrix with 5 rows, with each row having 6 points What's the syntax necessary to get the following Array< int, 1 > ? Array< int, 1 > row1; // *reference* to matrix's first row; row1 is 6 elements long Array< int, 1 > row2; // *reference* to matrix's second row, row2, is 6 elements long .... Array< int, 1 > row5; // *reference* to matrix's 5th row, 6 elements long *reference* is defined as when I operate on row1, 2, ...5, it would directly modify Array<int, 2> matrix elements, without incurring any extra memory. i.e. row1, 2,...5 should not make copies from matrix! Sorry if the question is longer than it should be. I just wanted to make it very explicit. (I hope that was achieved!) Thanks, Shivesh W. 
From: Ron Crocker <ron.crocker@mo...>  20081121 21:08:37

Ok, you caught me :) What I really want is signal^2, where signal is a complex. Algebraically, that turns into sum(signal(i)^2) = sum(norm(signal(i)). I was using a TinyVector to unroll the sum, effectively turning this code... > > double netPower = norm(signal); into this code: > > double netPower = > norm(signal[0])+norm(signal[1])+norm(signal[2])+norm(signal[3]); That didn¹t work, so I tried to use a temporary variable (power in the code I sent at midnight last night/this morning). Anyways, I want the netPower code. I¹ll code it by hand if I have to, but.... Thanks! Ron Crocker Fellow of the Technical Staff Networks Advanced Technologies Motorola Ron.Crocker@... 
From: Christopher Subich <csubich@ma...>  20081121 18:38:11

On 21Nov08, at 1:26 PM, Julian Cummings wrote: > > Are you sure about that? The value complex<double>(0,1) represents > the > complex number i. Since i^2 = 1, we do the sum to get 4 and then > take > the square root to get 2i, which is complex<double>(0,2). I don't > think > the Euclidean norm is restricted to real values when you are > working in > the complex plane. So I believe that the code is correct. This is definitely straying from the topic of Blitz, but a norm is a mapping from the vector space to real numbers. The notation sum(f[k] ^2) is only true for the Ndimensional vector space of real numbers. Consider that norms have to be linear, such that norm(k*x) = abs(k) *norm(x). This is violated (in the 1D case) if norm(x) = sqrt(x^2), as then: norm(1) = 1 norm(complex(0,1)*1) = norm(compex(0,1)) = complex(0,1) != 1 = abs (complex(0,1))*1 See http://en.wikipedia.org/wiki/Norm_(mathematics) 
From: Julian Cummings <cummings@ca...>  20081121 18:26:20

> > On 21Nov08, at 1:05 AM, Ron Crocker wrote: > >> (Blitz++ v0.9, gcc 3.4.6, linux, intel64bit processor more >> details available if necessary) >> >> Ive looked through the code, the documentation, and the archives, >> but I dont see a good way of doing the following (simplified >> example of what Im really trying to do): > >>> { >>> TinyVector<complex<double>,4> signal; >>> TinyVector<double,4> power; >>> >>> power = norm(signal); >>> } > > You don't want this. norm(Vector) treats the vector as an object in > Ndimension (in your case, 4D) space and computes the Euclidean > norm. If you're doing envelope detection, what you want is most likely: > > power = abs(signal) > > Incidentally, the blitz norm does have a bug. From blitz/vecnorm.cc > line 41: > sum += value * T_sumtype(value) > This is valid code, but it is incorrect math with complex numbers. > To modify Ron's code to illustrate: > > { > TinyVector<comlex<double>,4> signal = complex<double>(0,1); > double thenorm = norm(power); > cout << power << endl; // Outputs (0,2), rather than (2,0). Norms > should always be real and nonnegative. > } > Are you sure about that? The value complex<double>(0,1) represents the complex number i. Since i^2 = 1, we do the sum to get 4 and then take the square root to get 2i, which is complex<double>(0,2). I don't think the Euclidean norm is restricted to real values when you are working in the complex plane. So I believe that the code is correct. Regards, Julian C.  Dr. Julian C. Cummings California Institute of Technology 1200 E. California Blvd., MC 15879 Pasadena, CA 91125 Email: cummings@... Phone: 6263952543 Fax: 6265845917 
From: Christopher Subich <csubich@ma...>  20081121 18:02:00

On 21Nov08, at 1:05 AM, Ron Crocker wrote: > (Blitz++ v0.9, gcc 3.4.6, linux, intel64bit processor – more > details available if necessary) > > I’ve looked through the code, the documentation, and the archives, > but I don’t see a good way of doing the following (simplified > example of what I’m really trying to do): >> { >> TinyVector<complex<double>,4> signal; >> TinyVector<double,4> power; >> >> power = norm(signal); >> } You don't want this. norm(Vector) treats the vector as an object in Ndimension (in your case, 4D) space and computes the Euclidean norm. If you're doing envelope detection, what you want is most likely: power = abs(signal) Incidentally, the blitz norm does have a bug. From blitz/vecnorm.cc line 41: sum += value * T_sumtype(value) This is valid code, but it is incorrect math with complex numbers. To modify Ron's code to illustrate: { TinyVector<comlex<double>,4> signal = complex<double>(0,1); double thenorm = norm(power); cout << power << endl; // Outputs (0,2), rather than (2,0). Norms should always be real and nonnegative. } 
From: Ron Crocker <ron.crocker@mo...>  20081121 07:02:58

(Blitz++ v0.9, gcc 3.4.6, linux, intel64bit processor more details available if necessary) I¹ve looked through the code, the documentation, and the archives, but I don¹t see a good way of doing the following (simplified example of what I¹m really trying to do): > #include <complex> > #include <blitz/tinyvec.h> > #include <blitz/tinyvecet.h> > > using namespace std; > using namespace blitz; > > main() > { > TinyVector<complex<double>,4> signal; > TinyVector<double,4> power; > > power = norm(signal); > } My compiler complains: > src/foo.cpp: In function `int main()': > src/foo.cpp:13: error: no match for 'operator=' in 'power = blitz::norm [with > P_numtype = std::complex<double>, int N_dimensions = 4](((const > blitz::TinyVector<std::complex<double>, 4>&)((const > blitz::TinyVector<std::complex<double>, 4>*)(&signal))))' > /usr/lib/blitz0.964optlib/include/blitz/tinyvec.h:310: note: candidates > are: blitz::ListInitializationSwitch<blitz::TinyVector<P_numtype, N_length>, > P_numtype*> blitz::TinyVector<P_numtype, N_length>::operator=(P_numtype) [with > P_numtype = double, int N_length = 4] > /usr/lib/blitz0.964optlib/include/blitz/tinyvec.cc:469: note: > blitz::TinyVector<P_numtype, N_length>& blitz::TinyVector<P_numtype, > N_length>::operator=(const blitz::Range&) [with P_numtype = double, int > N_length = 4] > /usr/lib/blitz0.964optlib/include/blitz/tinyvec.h:70: note: > blitz::TinyVector<double, 4>& blitz::TinyVector<double, 4>::operator=(const > blitz::TinyVector<double, 4>&) > Any thoughts? Thanks! Ron Crocker Fellow of the Technical Staff Networks Advanced Technologies Motorola Ron.Crocker@... 
From: Hilaire Drouineau <hilaire.drouineau@gm...>  20081111 17:56:05

Hi, I wanted to use blitz under windiws with the mingw compiler included in Code::blocks. I find some piece help in different places. I manage to have it working and decided to write a small tutoraial detailing the proccess. I hope that this tutorial is not redundant with some existing documentation, and that it can help Cheers, Hilaire *install mingw (included in code blocks) *install msys http://downloads.sourceforge.net/mingw/MSYS1.0.10.exe when asking if you want to make postinstallation procedure: enter y when asking if mingw is already installed: press y enter mingw withouth space and with \ replaced by / (for me C:/Progra~1/CodeBlocks/MinGW) *Install MSYS DTK 1.0 in C:\msys\1.0 http://downloads.sourceforge.net/mingw/msysDTK1.0.1.exe *download the 3 packages http://prdownloads.sourceforge.net/mingw/MSYS1.0.1120071204.tar.bz2?download http://prdownloads.sourceforge.net/mingw/bash3.1MSYS1.0.11snapshot.tar.bz2?download http://prdownloads.sourceforge.net/mingw/coreutils5.97MSYS1.0.11snapshot.tar.bz2?download *extract the 3 packages into c:\msys\1.0 replacing existing files *in c:\temp, download http://downloads.sourceforge.net/mingw/m41.4.7MSYS.tar.bz2 http://ftp.gnu.org/gnu/autoconf/autoconf2.62.tar.gz and extract it http://ftp.gnu.org/gnu/automake/automake1.9.tar.gz and extract it http://ftp.gnu.org/gnu/libtool/libtool2.2.tar.gz and extract it *open msys *type:  cd /c/temp  tar xvjf /c/m41.4.7MSYS.tar.bz2  cd ../libtool2.2  ./configure && make && make install  cd ./autoconf2.62  ./configure && make && make install  cd automake1.9  ./configure && make && make install *create c:\blitz directory *download blitz cvs version, personaly I have CVSNT installed and I open a windows command  cd c:\blitz  "c:\Program Files\cvsnt\cvs.exe" z3 d:pserver:anonymous@...:/cvsroot/blitz co P blitz *the file configure.ac is in windows format, you have to change that for an unix format (or you will have a carriage return error). I did that using notepad++ *open msys  cd /c/blitz/blitz  autoreconf vif  ./configure CXX=g++  make lib *Be careful when linking your project: the library is C:\blitz\blitz\lib\.libs\libblitz.a, not C:\blitz\blitz\lib\libblitz.la which is (as far as I understood) a symbolic link and consequently don't work in windows 
From: Julian Cummings <cummings@ca...>  20081105 19:07:01

The bzconfig.h header file for the Microsoft Visual Studio .NET compiler is provided within the BlitzVS2005.NET.zip file, which can be checked out from the blitz cvs repository along with the rest of the blitz source code and documentation files. On windows systems, you can use wincvs or similar programs to access the blitz cvs repository by following the online instructions. I highly recommend working with the cvs development version of blitz, since the blitz0.9 release is rather old and out of date. Regards, Julian C. On Wed, 20081105 at 12:11 +0200, Rotem Aviv wrote: > Hi, > > I am looking for Blitz source files for windows. > I've downloaded the only code I could find from: > http://sourceforge.net/project/showfiles.php?group_id=63961 > But when I am using it, it is missing the file: blitz/ms/bzconfig.h > Can you refer me to the proper source code? > > Your help will be highly appreciated. > > Best regards, > Rotem Aviv > >  > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblincontest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ Blitzsupport mailing list Blitzsupport@... https://lists.sourceforge.net/lists/listinfo/blitzsupport  Dr. Julian C. Cummings Email: cummings@... California Institute of Technology Phone: 6263952543 1200 E. California Blvd., Mail Code 15879 Fax: 6265845917 Pasadena, CA 91125 Office: 125 PowellBooth 
From: Rotem Aviv <rotem3107@gm...>  20081105 10:11:27

Hi, I am looking for Blitz source files for windows. I've downloaded the only code I could find from: http://sourceforge.net/project/showfiles.php?group_id=63961 But when I am using it, it is missing the file: blitz/ms/bzconfig.h Can you refer me to the proper source code? Your help will be highly appreciated. Best regards, Rotem Aviv 