<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	
	xmlns:georss="http://www.georss.org/georss"
	xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#"
	>

<channel>
	<title>complex number multiplication Archives - CenterSpace</title>
	<atom:link href="https://www.centerspace.net/tag/complex-number-multiplication/feed" rel="self" type="application/rss+xml" />
	<link>https://www.centerspace.net/tag/complex-number-multiplication</link>
	<description>.NET numerical class libraries</description>
	<lastBuildDate>Sun, 03 Jan 2010 04:50:41 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.1.1</generator>
<site xmlns="com-wordpress:feed-additions:1">104092929</site>	<item>
		<title>Complex numbers in .NET with NMath</title>
		<link>https://www.centerspace.net/complex-numbers-in-net-with-nmath</link>
					<comments>https://www.centerspace.net/complex-numbers-in-net-with-nmath#respond</comments>
		
		<dc:creator><![CDATA[Paul Shirkey]]></dc:creator>
		<pubDate>Mon, 07 Dec 2009 22:20:44 +0000</pubDate>
				<category><![CDATA[NMath]]></category>
		<category><![CDATA[NMath Tutorial]]></category>
		<category><![CDATA[complex number c#]]></category>
		<category><![CDATA[complex number division]]></category>
		<category><![CDATA[complex number multiplication]]></category>
		<category><![CDATA[complex numbers .NET]]></category>
		<guid isPermaLink="false">http://www.centerspace.net/blog/?p=661</guid>

					<description><![CDATA[<p>A set of classes for working with complex numbers is not including in the .NET framework. These classes are frequently hand rolled by programmers to fill an immediate need, but this forces the developer into an on-going task developing compatible numeric algorithms with these custom classes. CenterSpace&#8217;s NMath libraries solve this issue by providing a [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.centerspace.net/complex-numbers-in-net-with-nmath">Complex numbers in .NET with NMath</a> appeared first on <a rel="nofollow" href="https://www.centerspace.net">CenterSpace</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>A set of classes for working with complex numbers is not including in the .NET framework.  These classes are frequently hand rolled by programmers to fill an immediate need, but this forces the developer into an on-going task developing compatible numeric algorithms with these custom classes.  CenterSpace&#8217;s NMath libraries solve this issue by providing a framework with an extensive set of numeric classes that work natively with complex numbers.</p>
<h3>Complex Number Classes</h3>
<p>The CenterSpace NMath framework contains two classes to represent complex numbers at two different levels of precision.  Additionally, classes are included for supporting vectors and matrices of complex numbers which are integrated into NMath&#8217;s extensive linear algebra classes.</p>
<pre lang="csharp"> 
FloatComplex
DoubleComplex
FloatComplexVector
DoubleComplexVector
FloatComplexMatrix
DoubleComplexMatrix
</pre>
<p>Each class supports a natural set of overloaded operations<span id="more-661"></span> that include testing for equality, and inequality, along with addition, subtraction, multiplication, and division where appropriate.  Here&#8217;s a simple example are some basic uses cases with these classes.</p>
<pre lang="csharp">
DoubleComplex dc1 = new DoubleComplex(1, 1);
DoubleComplex dc2 = new DoubleComplex(2, 2);
 
DoubleComplex dc_add = dc1 - dc2;
DoubleComplex dc_div = dc1 / dc2;
DoubleComplex dc_sin = NMathFunctions.Sin(dc1);
 
DoubleComplexVector dcv1 = new DoubleComplexVector([(1,3.3) (2,3) (3,5)];
DoubleComplexVector dcv2 = new DoubleComplexVector([(1,1) (-2,3) (3,-5.7)];
 
DoubleComplexVector dcv = dcv1 + dcv2;
DoubleComplex dcv_dot = NMathFunctions.Dot(dcv1, dcv2);
</pre>
<h3>Basic Supporting Functions</h3>
<p>The NMath numerical framework contains a static class called <code> NMathFunctions </code> that provides fast implementations of dozens of common functions for all of the basic NMath types, including all of the complex types.  Frequently, new NMath user&#8217;s often wish they had discovered this class sooner than they did.</p>
<p>Below is a brief summary of the functions available in the NMathFunction class that operate on complex types.  These functions span the range from basic operations such as Abs, to a variety to vector helper functions such as the Dot product, to more advanced functions such as computing the determinate of a matrix, or solving a set of linear equations.  Using these functions will help you create correct, efficient, and more compact code.</p>
<ul>
<li> <code> Abs, AbsSum, Sum </code>
<li> <code> Exp, Expm, Log, Pow, Sqrt, Arg </code>
<li> <code> Imag, Real, Conj </code>
<li> <code> ConjDot, OuterProduct, Dot </code>
<li> <code> Transpose, ConjTranspose, TransposeProduct, ConjTransposeProduct </code>
<li> <code> Cos, Cosh, Sin, Sinh, Tan, Tanh </code>
<li> <code> SumOfSquares, Variance </code>
<li> <code> MaxAbsIndex, MinAbsIndex, Median, Mean </code>
<li> <code> ConditionNumber, Determinant, Inverse, Solve </code>
</ul>
<h3> Summary </h3>
<p>The CenterSpace framework for computation on the .NET platform seamless integrates complex types.  While most of our customers are leveraging more sophisticated classes in NMath, a complete set of complex types with a surrounding framework is a key component to getting the job done quickly and accurately.</p>
<p><em> -Paul </em></p>
<p>The post <a rel="nofollow" href="https://www.centerspace.net/complex-numbers-in-net-with-nmath">Complex numbers in .NET with NMath</a> appeared first on <a rel="nofollow" href="https://www.centerspace.net">CenterSpace</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.centerspace.net/complex-numbers-in-net-with-nmath/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">661</post-id>	</item>
	</channel>
</rss>
