[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-gsl] complex matrix generation with GSL???
From: |
Brian Gough |
Subject: |
Re: [Help-gsl] complex matrix generation with GSL??? |
Date: |
Wed, 6 Apr 2005 16:47:04 +0100 |
DOUKOPOULOS Xenofon RD-RESA-REN writes:
> However, I have not been able to access the elements of a complex
> matrix. For example, after defining a 2x2 complex matrix A, I do not
> know how I may give values to the matrix elements; such as A(1,1)=1+j ,
> A(1,2)=1-j, A(2,1)=-1+j, and A(2,2)=-1-j. I would be really gratefull
> for an example script.
The file eigen/test.c in the GSL distribution creates some complex
matrices. It is a test for the hermitian eigensolver routines, but
you can use it as an example of how to work with complex matrices.
--
best regards
Brian Gough
Network Theory Ltd,
Commercial support for GSL --- http://www.network-theory.co.uk/gsl/