
complex matrix entries
hi i have to make a program to show that whether the matrix is skew hermition matrix or not. this is a mathematical condition in this case i have to enter complex entries and non complex entries like
i 3 4i
2+4i 0 5i
3i 0 9+9i
suppose these are the matrix entries i am familier with 2d arrays but i could not find a way to enter non complex and complex entries as above
any help will be appreciated
thanks

you can use the complex lib.
Code:
#include <complex>
int main()
{
complex<double> array[3][3];
array[0][0] = complex<double>(0.0,1.0);
}
something like that would do.