You are here:

C#/Complex number data type in programming languages.

Advertisement


Question
Dear Murat

http://en.wikipedia.org/wiki/Complex_number‎
http://www.mathsisfun.com/numbers/complex-numbers.html‎
http://www.purplemath.com/modules/complex.htm‎
http://www.mathwarehouse.com/algebra/complex-number/‎
http://en.wikipedia.org/wiki/Programming_language
http://en.wikipedia.org/wiki/List_of_programming_languages
http://en.wikipedia.org/wiki/Computer_graphics
http://c2.com/cgi/wiki?ComplexNumbers‎
http://betterexplained.com/articles/a-visual-intuitive-guide-to-imaginary-number

Do you feel whether the complex number data type can be useful in programming languages viz C, C++, Java, C# etc similar to integer,float,double,char,string,bool,date,user defined data types viz class, struct etc ?.

The use of Complex Number Data Type would be useful in designing and developing graphical applications using the above programming languages ?.

Awaiting your reply,

Thanks & Regards,
Prashant S Akerkar

Answer
Hi there,

I'm not an advanced mathematician or graphic designer. However as you said, I know they are important in designing some graphic models.

Complex numbers are already included in .Net Framework 4.0. You just have to reference System.Numerics to access the Complex structure.

See msdn for more info about this structure and here for more info about how to use it.

Hope that helps,

Murat

C#

All Answers


Answers by Expert:


Ask Experts

Volunteer


Murat Mehmet

Expertise

I can help with questions about desktop and web programming in C#, including SOAP, XML, database managing, custom controls, security etc.

Experience

I have been developing web and especially desktop applications in C# and VB.Net for almost 5 years. My programming life has begun with VB6 long time ago, so its about 8 years that I am in this business.

Organizations
Was in R & D for 2 years in a popular Turkish technology website: cyber-warrior.com

Education/Credentials
2011 Computer Engineering graduation in University of Trakia in Turkey.

©2016 About.com. All rights reserved.