880129 - class of matrix of complex numbers
-
hi i need a simple class which implements a matrix of mxn elements of complex numbers. i need this class to be a complete one. eg. supports inverse and multiplication to another matrix. i don't need it to be a template one. components are always complex numbers. but if it be, it would be more general. thx
-
hi i need a simple class which implements a matrix of mxn elements of complex numbers. i need this class to be a complete one. eg. supports inverse and multiplication to another matrix. i don't need it to be a template one. components are always complex numbers. but if it be, it would be more general. thx
Well, you are a software developer, arent you? Code it. :)
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
[My articles] -
hi i need a simple class which implements a matrix of mxn elements of complex numbers. i need this class to be a complete one. eg. supports inverse and multiplication to another matrix. i don't need it to be a template one. components are always complex numbers. but if it be, it would be more general. thx
ilostmyid2 wrote:
i don't need it to be a template one
Shame that, 'cause otherwise I'd suggest std::complex[^] + Boost's UBLAS classes[^]. Still, I'm sure you've got a good reason not to use templates.
Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p
-
Well, you are a software developer, arent you? Code it. :)
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
[My articles]yeah, i am, but indeed i've forgotten some mathematical bases! ;P for example, i've no idea about how to invert a matrix! :-D
-
ilostmyid2 wrote:
i don't need it to be a template one
Shame that, 'cause otherwise I'd suggest std::complex[^] + Boost's UBLAS classes[^]. Still, I'm sure you've got a good reason not to use templates.
Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p
i've said that i don't NEED it to use a template type for the elements, that's if it's not template, it's also acceptable if it uses complex for the elements. i knew the complex class and had used it. i couldn't find any code in the other link for inverting a matrix. i've not much time in understanding and remembering the basic concepts and writing the code based on them. i need a ready-to-use class.
modified on Saturday, April 18, 2009 10:47 PM
-
i've said that i don't NEED it to use a template type for the elements, that's if it's not template, it's also acceptable if it uses complex for the elements. i knew the complex class and had used it. i couldn't find any code in the other link for inverting a matrix. i've not much time in understanding and remembering the basic concepts and writing the code based on them. i need a ready-to-use class.
modified on Saturday, April 18, 2009 10:47 PM
-
yeah, i am, but indeed i've forgotten some mathematical bases! ;P for example, i've no idea about how to invert a matrix! :-D
There's the oldie-goldie "Numerical Recipes in C" [^]. :)
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
[My articles] -
There's the oldie-goldie "Numerical Recipes in C" [^]. :)
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
[My articles]thx indeed i've revised the mister Roger Allen's code: A matrix class with serialization and advanced input/output functions[^] and have changed the element from real numbers to complex numbers. i like to upload it like himself, but i don't know how. it's a good idea to do a survey if one is interested.
-
thx indeed i've revised the mister Roger Allen's code: A matrix class with serialization and advanced input/output functions[^] and have changed the element from real numbers to complex numbers. i like to upload it like himself, but i don't know how. it's a good idea to do a survey if one is interested.
ilostmyid2 wrote:
i like to upload it like himself, but i don't know how.
:confused: Do you possibly mean that you want to write an article about? Write it, it would be welcome, I suppose. :)
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
[My articles] -
ilostmyid2 wrote:
i like to upload it like himself, but i don't know how.
:confused: Do you possibly mean that you want to write an article about? Write it, it would be welcome, I suppose. :)
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
[My articles]the resulting code is a matrix class which holds and may work with complex numbers instead of real numbers, as i said b4. it's a good idea that others may have and use it too and also warn me about some mistakes if i had any. although i've tried not to change any part unless it's necessary, it's not unlikely that i've done mistakes or even the mister allen. i like to upload it (the code), but i still don't know how! :) regards
-
the resulting code is a matrix class which holds and may work with complex numbers instead of real numbers, as i said b4. it's a good idea that others may have and use it too and also warn me about some mistakes if i had any. although i've tried not to change any part unless it's necessary, it's not unlikely that i've done mistakes or even the mister allen. i like to upload it (the code), but i still don't know how! :) regards
ilostmyid2 wrote:
i like to upload it (the code), but i still don't know how!
Test well you code (you may possibly contact the author of the original article) and then write an article about (see 'Article->Submit An Article' menu item). :)
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
[My articles]