shelf
07-14-2005, 09:37 AM
I am trying to manipulate complex matrices.
Could anyone tell me how to print the complex numbers with use of complex.h to the terminal?
Kevin Dolan
07-31-2005, 08:48 AM
Are you are talking about the C99 complex.h header, or the C++ non-standard complex.h header?
In C++ you can simply use the iostream classes to output complex numbers. In C, the stdio functions like printf may or may not be designed to work with the C99 complex types. If they are, then you need to find out what the control string is for complex numbers. If they are not, then you need to explicitely output the real and imaginary parts seperately.
Kevin
siddharth
08-01-2005, 09:59 AM
can anyone tell me the meaning (what it does)of f3tensor subtoutine which is present in nrutil.c
waiting for the reply.
thank you.
sid.