Calculating inner products of two complex numbers

Calculating inner products of two complex numbers

Post by alanhome » Tue, 10 Oct 2006 23:40:10


I was just wondering if anyone would happen to have a VI that calculates the inner product of two given complex numbers? That is my task at the moment. I have to write a code in the programming language of my choice (preferably LabVIEW) that can calculate the above. ANy ideas?
 
Cheers
 
 
 

Calculating inner products of two complex numbers

Post by gwd » Wed, 11 Oct 2006 00:10:08

I have only heard the term "inner product" used for the dot product of two vectors.

What is the definition for complex numbers? Seems to me if one exists,
and you know it, then all you have to do is write a simple vi to
calculate it.

Now as far as I can tell, at least in 7.1 the formula node doesn't take
complex inputs. So you would have to use the regular arithmetic
functions.

 
 
 

Calculating inner products of two complex numbers

Post by alanhome » Wed, 11 Oct 2006 00:10:09

It is pretty much the same thing, just the dot product. It is relatively simple I just wondered if anyone else had done something similar to save me the time. Thanks anyway.
 
Effectively I am going to have many values of (x1+iy1)* x (x2+iy2) integrated over a distance R where R is a distance where these values exist.
 
 
 

Calculating inner products of two complex numbers

Post by David Craw » Wed, 11 Oct 2006 00:10:10

This <a href=" http://www.yqcomputer.com/ " target="_blank"> http://www.yqcomputer.com/ ;/a> looks simliar to what you have just defined.
David