<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="/rss.xsl"?><rss version="2.0"><channel><title>mathnetnumerics Issue Tracker Rss Feed</title><link>http://mathnetnumerics.codeplex.com/WorkItem/List.aspx</link><description>mathnetnumerics Issue Tracker Rss Description</description><item><title>Commented Unassigned: get_One for Complex and Complex32 [5728]</title><link>http://mathnetnumerics.codeplex.com/workitem/5728</link><description>I&amp;#39;m not sure if it&amp;#39;s proper issue but in Visual F&amp;#35;, the usual pown function &amp;#40;with integer argument&amp;#41; requires its first argument to have get_One. Complex and Complex32 type have one instead of get_One and thus I can&amp;#39;t use pown. Obviously, System.Numerics.Complex has the property One &amp;#40;and hence get_One.&amp;#41; It would be nice if we have get_One for compatibility.&lt;br /&gt;&lt;br /&gt;Alternatively, you could provide Complex.pown and Complex32.pown as in BigNumber. I can use float version of pow function, but it simply doesn&amp;#39;t feel right for me to use it for small powers like squares or cubes.&lt;br /&gt;Comments: Interesting.&amp;#10;&amp;#10;Our Complex types implement One exactly like System.Numerics.Complex&amp;#58; as a public static readonly field &amp;#40;and thus technically not a member&amp;#41;. However, from what you describe it seems as if F&amp;#35; core extends the Complex type with a One property. If so, we can do exactly the same thing in our F&amp;#35; package.&amp;#10;&amp;#10;For reference&amp;#58; &amp;#96;pown &amp;#58; &amp;#94;T -&amp;#62; int -&amp;#62; &amp;#94;T &amp;#40;requires &amp;#94;T with static member One and &amp;#94;T with static member op_Multiply and &amp;#94;T with static member &amp;#40;&amp;#47;&amp;#41;&amp;#41;&amp;#96;</description><author>cdrnet</author><pubDate>Sun, 07 Apr 2013 18:17:57 GMT</pubDate><guid isPermaLink="false">Commented Unassigned: get_One for Complex and Complex32 [5728] 20130407061757P</guid></item><item><title>Created Unassigned: get_One for Complex and Complex32 [5728]</title><link>http://mathnetnumerics.codeplex.com/workitem/5728</link><description>I&amp;#39;m not sure if it&amp;#39;s proper issue but in Visual F&amp;#35;, the usual pown function &amp;#40;with integer argument&amp;#41; requires its first argument to have get_One. Complex and Complex32 type have one instead of get_One and thus I can&amp;#39;t use pown. Obviously, System.Numerics.Complex has the property One &amp;#40;and hence get_One.&amp;#41; It would be nice if we have get_One for compatibility.&lt;br /&gt;&lt;br /&gt;Alternatively, you could provide Complex.pown and Complex32.pown as in BigNumber. I can use float version of pow function, but it simply doesn&amp;#39;t feel right for me to use it for small powers like squares or cubes.&lt;br /&gt;</description><author>seminumber</author><pubDate>Sun, 07 Apr 2013 10:46:22 GMT</pubDate><guid isPermaLink="false">Created Unassigned: get_One for Complex and Complex32 [5728] 20130407104622A</guid></item><item><title>Closed Issue: Percentile class bug [5702]</title><link>http://mathnetnumerics.codeplex.com/workitem/5702</link><description>In the Percentile class compute Method has bug &amp;#58;&lt;br /&gt;&lt;br /&gt;&amp;#47;&amp;#47;&amp;#47; &amp;#60;summary&amp;#62;&lt;br /&gt;        &amp;#47;&amp;#47;&amp;#47; Computes the percentile.&lt;br /&gt;        &amp;#47;&amp;#47;&amp;#47; &amp;#60;&amp;#47;summary&amp;#62;&lt;br /&gt;        &amp;#47;&amp;#47;&amp;#47; &amp;#60;param name&amp;#61;&amp;#34;percentile&amp;#34;&amp;#62;The percentile, must be between 0.0 and 1.0 &amp;#40;inclusive&amp;#41;.&amp;#60;&amp;#47;param&amp;#62;&lt;br /&gt;        &amp;#47;&amp;#47;&amp;#47; &amp;#60;returns&amp;#62;the requested percentile.&amp;#60;&amp;#47;returns&amp;#62;&lt;br /&gt;        public double Compute&amp;#40;double percentile&amp;#41;&lt;br /&gt;        &amp;#123;&lt;br /&gt;            if &amp;#40;percentile &amp;#60; 0 &amp;#124;&amp;#124; percentile &amp;#62; 100&amp;#41;&lt;br /&gt;            &amp;#123;&lt;br /&gt;                throw new ArgumentException&amp;#40;&amp;#34;Percentile value must be between 0 and 100.&amp;#34;&amp;#41;&amp;#59;&lt;br /&gt;            &amp;#125;&lt;br /&gt;&lt;br /&gt;1.&lt;br /&gt;&lt;br /&gt; if &amp;#40;percentile &amp;#60; 0 &amp;#124;&amp;#124; percentile &amp;#62; 100&amp;#41; this check must be like &amp;#58;&lt;br /&gt;&lt;br /&gt; if &amp;#40;percentile &amp;#60; 0 &amp;#124;&amp;#124; percentile &amp;#62; 1&amp;#41;&lt;br /&gt;&lt;br /&gt;2.&lt;br /&gt;throw new ArgumentException&amp;#40;&amp;#34;Percentile value must be between 0 and 100.&amp;#34;&amp;#41;&amp;#59;&lt;br /&gt;&lt;br /&gt;throw new ArgumentException&amp;#40;&amp;#34;Percentile value must be between 0 and 1.&amp;#34;&amp;#41;&amp;#59;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;</description><author>cdrnet</author><pubDate>Sat, 06 Apr 2013 04:36:56 GMT</pubDate><guid isPermaLink="false">Closed Issue: Percentile class bug [5702] 20130406043656A</guid></item><item><title>Closed Issue: True computation of online statistics [5686]</title><link>http://mathnetnumerics.codeplex.com/workitem/5686</link><description>Great thank you,&lt;br /&gt;&lt;br /&gt;In my project I used these references&amp;#58; maybe they will help&lt;br /&gt;&lt;br /&gt;http&amp;#58;&amp;#47;&amp;#47;lingpipe-blog.com&amp;#47;2009&amp;#47;07&amp;#47;07&amp;#47;welford-s-algorithm-delete-online-mean-variance-deviation&amp;#47;&lt;br /&gt;&lt;br /&gt;http&amp;#58;&amp;#47;&amp;#47;www.johndcook.com&amp;#47;standard_deviation.html&lt;br /&gt;&lt;br /&gt;Best,&lt;br /&gt;&lt;br /&gt;JB&lt;br /&gt;</description><author>cdrnet</author><pubDate>Sat, 06 Apr 2013 04:36:36 GMT</pubDate><guid isPermaLink="false">Closed Issue: True computation of online statistics [5686] 20130406043636A</guid></item><item><title>Closed Issue: Interpolation data limits? [5725]</title><link>http://mathnetnumerics.codeplex.com/workitem/5725</link><description>I&amp;#39;m using the following method&amp;#58;&lt;br /&gt;&lt;br /&gt;IInterpolation ii &amp;#61; MathNet.Numerics.Interpolation.Interpolate.RationalWithoutPoles&amp;#40;points, values&amp;#41;&amp;#59;&lt;br /&gt;&lt;br /&gt;It seems to work when I&amp;#39;m passing in lists that are less than about 700 items, but fails when I&amp;#39;m using lists that are greater than about 800 items.  I&amp;#39;m trying to interpolate an elevation when given a volume.  &lt;br /&gt;&lt;br /&gt;The attached text file has the raw data &amp;#40;861 items&amp;#41;  Ignore the first two columns.  The third is the elevation and forth is the volume.  When using this data I&amp;#39;m getting either negative values or values that exceed the maximum elevation in the set.  If I reduce the same set, by not including the first 200 items, it provides what appears to be a reasonable answer.&lt;br /&gt;&lt;br /&gt;Thanks&lt;br /&gt;Comments: Please reopen if still an issue.</description><author>cdrnet</author><pubDate>Sat, 06 Apr 2013 04:35:28 GMT</pubDate><guid isPermaLink="false">Closed Issue: Interpolation data limits? [5725] 20130406043528A</guid></item><item><title>Closed Issue: Percentile Failing [5727]</title><link>http://mathnetnumerics.codeplex.com/workitem/5727</link><description>I am getting an Index was out of range error when I try and call Percentile.Compute.&lt;br /&gt;&lt;br /&gt;Here is my code &amp;#58;&lt;br /&gt;&lt;br /&gt;&amp;#96;&amp;#96;&amp;#96;&lt;br /&gt;IEnumerable&amp;#60;double&amp;#62; values &amp;#61;new&amp;#91;&amp;#93;&amp;#123;1.1, 2.2, 3.3, 4.4&amp;#125;&amp;#59;&lt;br /&gt;Percentile p &amp;#61; new Percentile&amp;#40;values&amp;#41;&amp;#59;&lt;br /&gt;p.Method&amp;#61;PercentileMethod.Interpolation&amp;#59;&lt;br /&gt;return &amp;#40;decimal&amp;#41; p.Compute&amp;#40;0.1&amp;#41;&amp;#59;&lt;br /&gt;&lt;br /&gt;&amp;#96;&amp;#96;&amp;#96;&lt;br /&gt;&lt;br /&gt;Any clues as to what the error could be&amp;#63;&lt;br /&gt;&lt;br /&gt;full error info &amp;#58;&lt;br /&gt;&lt;br /&gt;&amp;#96;&amp;#96;&amp;#96;&lt;br /&gt;Index was out of range. Must be non-negative and less than the size of the collection.&lt;br /&gt;&amp;#96;&amp;#96;&amp;#96;&lt;br /&gt;Comments: Fixed in mainline, thanks&amp;#33;</description><author>cdrnet</author><pubDate>Sat, 06 Apr 2013 04:27:49 GMT</pubDate><guid isPermaLink="false">Closed Issue: Percentile Failing [5727] 20130406042749A</guid></item><item><title>Closed Issue: (minor) Documentation fix [5724]</title><link>http://mathnetnumerics.codeplex.com/workitem/5724</link><description>Hi,&lt;br /&gt;&lt;br /&gt;On http&amp;#58;&amp;#47;&amp;#47;numerics.mathdotnet.com&amp;#47;api&amp;#47;MathNet.Numerics.Integration&amp;#47;Integrate.htm , the method descriptions &amp;#40;both&amp;#41; say &amp;#58;&lt;br /&gt;Approximation of the definite interval of an analytic smooth function on a closed interval. &lt;br /&gt;&lt;br /&gt;I suggest the description be changed to &amp;#58;&lt;br /&gt;Approximation of the definite integral of an analytic smooth function on a closed interval. &lt;br /&gt;&lt;br /&gt;... just a suggestion,&lt;br /&gt;Chuck&lt;br /&gt;Comments: Fixed in mainline, thanks&amp;#33;</description><author>cdrnet</author><pubDate>Sat, 06 Apr 2013 04:25:22 GMT</pubDate><guid isPermaLink="false">Closed Issue: (minor) Documentation fix [5724] 20130406042522A</guid></item><item><title>Commented Issue: Percentile Failing [5727]</title><link>http://mathnetnumerics.codeplex.com/workitem/5727</link><description>I am getting an Index was out of range error when I try and call Percentile.Compute.&lt;br /&gt;&lt;br /&gt;Here is my code &amp;#58;&lt;br /&gt;&lt;br /&gt;&amp;#96;&amp;#96;&amp;#96;&lt;br /&gt;IEnumerable&amp;#60;double&amp;#62; values &amp;#61;new&amp;#91;&amp;#93;&amp;#123;1.1, 2.2, 3.3, 4.4&amp;#125;&amp;#59;&lt;br /&gt;Percentile p &amp;#61; new Percentile&amp;#40;values&amp;#41;&amp;#59;&lt;br /&gt;p.Method&amp;#61;PercentileMethod.Interpolation&amp;#59;&lt;br /&gt;return &amp;#40;decimal&amp;#41; p.Compute&amp;#40;0.1&amp;#41;&amp;#59;&lt;br /&gt;&lt;br /&gt;&amp;#96;&amp;#96;&amp;#96;&lt;br /&gt;&lt;br /&gt;Any clues as to what the error could be&amp;#63;&lt;br /&gt;&lt;br /&gt;full error info &amp;#58;&lt;br /&gt;&lt;br /&gt;&amp;#96;&amp;#96;&amp;#96;&lt;br /&gt;Index was out of range. Must be non-negative and less than the size of the collection.&lt;br /&gt;&amp;#96;&amp;#96;&amp;#96;&lt;br /&gt;Comments: Absolutely fine.  Thanks for the prompt feedback.&amp;#10;&amp;#10;R.</description><author>RichLinnell</author><pubDate>Fri, 05 Apr 2013 08:02:18 GMT</pubDate><guid isPermaLink="false">Commented Issue: Percentile Failing [5727] 20130405080218A</guid></item><item><title>Commented Issue: Percentile Failing [5727]</title><link>http://mathnetnumerics.codeplex.com/workitem/5727</link><description>I am getting an Index was out of range error when I try and call Percentile.Compute.&lt;br /&gt;&lt;br /&gt;Here is my code &amp;#58;&lt;br /&gt;&lt;br /&gt;&amp;#96;&amp;#96;&amp;#96;&lt;br /&gt;IEnumerable&amp;#60;double&amp;#62; values &amp;#61;new&amp;#91;&amp;#93;&amp;#123;1.1, 2.2, 3.3, 4.4&amp;#125;&amp;#59;&lt;br /&gt;Percentile p &amp;#61; new Percentile&amp;#40;values&amp;#41;&amp;#59;&lt;br /&gt;p.Method&amp;#61;PercentileMethod.Interpolation&amp;#59;&lt;br /&gt;return &amp;#40;decimal&amp;#41; p.Compute&amp;#40;0.1&amp;#41;&amp;#59;&lt;br /&gt;&lt;br /&gt;&amp;#96;&amp;#96;&amp;#96;&lt;br /&gt;&lt;br /&gt;Any clues as to what the error could be&amp;#63;&lt;br /&gt;&lt;br /&gt;full error info &amp;#58;&lt;br /&gt;&lt;br /&gt;&amp;#96;&amp;#96;&amp;#96;&lt;br /&gt;Index was out of range. Must be non-negative and less than the size of the collection.&lt;br /&gt;&amp;#96;&amp;#96;&amp;#96;&lt;br /&gt;Comments: Can you wait a couple days for v2.5&amp;#63; The backend for the Percentile class has been replaced completely, plus it&amp;#39;s now much easier to use, e.g. &amp;#96;&amp;#40;new&amp;#91;&amp;#93; &amp;#123;1.1, 2.2&amp;#125;&amp;#41;.Quantile&amp;#40;0.1&amp;#41;&amp;#96;.&amp;#10;&amp;#10;Thanks,&amp;#10;Christoph</description><author>cdrnet</author><pubDate>Thu, 04 Apr 2013 17:05:37 GMT</pubDate><guid isPermaLink="false">Commented Issue: Percentile Failing [5727] 20130404050537P</guid></item><item><title>Commented Issue: Percentile Failing [5727]</title><link>http://mathnetnumerics.codeplex.com/workitem/5727</link><description>I am getting an Index was out of range error when I try and call Percentile.Compute.&lt;br /&gt;&lt;br /&gt;Here is my code &amp;#58;&lt;br /&gt;&lt;br /&gt;&amp;#96;&amp;#96;&amp;#96;&lt;br /&gt;IEnumerable&amp;#60;double&amp;#62; values &amp;#61;new&amp;#91;&amp;#93;&amp;#123;1.1, 2.2, 3.3, 4.4&amp;#125;&amp;#59;&lt;br /&gt;Percentile p &amp;#61; new Percentile&amp;#40;values&amp;#41;&amp;#59;&lt;br /&gt;p.Method&amp;#61;PercentileMethod.Interpolation&amp;#59;&lt;br /&gt;return &amp;#40;decimal&amp;#41; p.Compute&amp;#40;0.1&amp;#41;&amp;#59;&lt;br /&gt;&lt;br /&gt;&amp;#96;&amp;#96;&amp;#96;&lt;br /&gt;&lt;br /&gt;Any clues as to what the error could be&amp;#63;&lt;br /&gt;&lt;br /&gt;full error info &amp;#58;&lt;br /&gt;&lt;br /&gt;&amp;#96;&amp;#96;&amp;#96;&lt;br /&gt;Index was out of range. Must be non-negative and less than the size of the collection.&lt;br /&gt;&amp;#96;&amp;#96;&amp;#96;&lt;br /&gt;Comments: Can you wait a couple days for v2.5&amp;#63; The backend for the Percentile class has been replaced completely, plus it&amp;#39;s now much easier to use, e.g. &amp;#96;&amp;#40;new&amp;#91;&amp;#93; &amp;#123;1.1, 2.2&amp;#125;&amp;#41;.Quantile&amp;#40;0,1&amp;#41;&amp;#96;.&amp;#10;&amp;#10;Thanks,&amp;#10;Christoph</description><author>cdrnet</author><pubDate>Thu, 04 Apr 2013 17:03:20 GMT</pubDate><guid isPermaLink="false">Commented Issue: Percentile Failing [5727] 20130404050320P</guid></item><item><title>Commented Issue: 2D FFT [5726]</title><link>http://mathnetnumerics.codeplex.com/workitem/5726</link><description>Would like fast 2D FFT and the MATLAB equivalent of FFTSHIFT and IFFTSHIFT&lt;br /&gt;&lt;br /&gt;John Fraschilla&lt;br /&gt;Comments: You may want to vote for it on &amp;#91;UserVoice&amp;#93;&amp;#40;http&amp;#58;&amp;#47;&amp;#47;feedback.mathdotnet.com&amp;#47;forums&amp;#47;2060-math-net-numerics&amp;#41;, here it will get lost.&amp;#10;&amp;#10;Thanks,&amp;#10;Christoph</description><author>cdrnet</author><pubDate>Thu, 04 Apr 2013 16:58:40 GMT</pubDate><guid isPermaLink="false">Commented Issue: 2D FFT [5726] 20130404045840P</guid></item><item><title>Created Issue: Percentile Failing [5727]</title><link>http://mathnetnumerics.codeplex.com/workitem/5727</link><description>I am getting an Index was out of range error when I try and call Percentile.Compute.&lt;br /&gt;&lt;br /&gt;Here is my code &amp;#58;&lt;br /&gt;&lt;br /&gt;&amp;#96;&amp;#96;&amp;#96;&lt;br /&gt;IEnumerable&amp;#60;double&amp;#62; values &amp;#61;new&amp;#91;&amp;#93;&amp;#123;1.1, 2.2, 3.3, 4.4&amp;#125;&amp;#59;&lt;br /&gt;Percentile p &amp;#61; new Percentile&amp;#40;values&amp;#41;&amp;#59;&lt;br /&gt;p.Method&amp;#61;PercentileMethod.Interpolation&amp;#59;&lt;br /&gt;return &amp;#40;decimal&amp;#41; p.Compute&amp;#40;0.1&amp;#41;&amp;#59;&lt;br /&gt;&lt;br /&gt;&amp;#96;&amp;#96;&amp;#96;&lt;br /&gt;&lt;br /&gt;Any clues as to what the error could be&amp;#63;&lt;br /&gt;&lt;br /&gt;full error info &amp;#58;&lt;br /&gt;&lt;br /&gt;&amp;#96;&amp;#96;&amp;#96;&lt;br /&gt;Index was out of range. Must be non-negative and less than the size of the collection.&lt;br /&gt;&amp;#96;&amp;#96;&amp;#96;&lt;br /&gt;</description><author>RichLinnell</author><pubDate>Thu, 04 Apr 2013 16:38:17 GMT</pubDate><guid isPermaLink="false">Created Issue: Percentile Failing [5727] 20130404043817P</guid></item><item><title>Created Issue: 2D FFT [5726]</title><link>http://mathnetnumerics.codeplex.com/workitem/5726</link><description>Would like fast 2D FFT and the MATLAB equivalent of FFTSHIFT and IFFTSHIFT&lt;br /&gt;&lt;br /&gt;John Fraschilla&lt;br /&gt;</description><author>jfraschilla</author><pubDate>Thu, 04 Apr 2013 14:40:03 GMT</pubDate><guid isPermaLink="false">Created Issue: 2D FFT [5726] 20130404024003P</guid></item><item><title>Commented Issue: Algorithms.LinearAlgebra.Acml disappeared [5720]</title><link>http://mathnetnumerics.codeplex.com/workitem/5720</link><description>Algorithms.LinearAlgebra.Acml namesapace as well as several others - apart from MKL have disappeared in the latest version.&lt;br /&gt;This means that native wrapper tests no longer build.&lt;br /&gt;In general I must say that it is horrendously complicated to enable any non-managed BLAS engine. &lt;br /&gt;It would be really nice if default download included at least one non-managed BLAS implementation - e.g. the reference one. As it stands, one has to spend huge amount of time obtaining pieces of software from various sources.&lt;br /&gt;It also means that default &amp;#40;managed&amp;#41; implementation is several factors of magnitude slower than Matlab, R or the like when it comes to manipulating sizeable matrices.&lt;br /&gt;Comments: Can you restore the ACML for 64-bit only&amp;#63;</description><author>mobssoft</author><pubDate>Mon, 25 Mar 2013 18:00:25 GMT</pubDate><guid isPermaLink="false">Commented Issue: Algorithms.LinearAlgebra.Acml disappeared [5720] 20130325060025P</guid></item><item><title>Commented Issue: Interpolation data limits? [5725]</title><link>http://mathnetnumerics.codeplex.com/workitem/5725</link><description>I&amp;#39;m using the following method&amp;#58;&lt;br /&gt;&lt;br /&gt;IInterpolation ii &amp;#61; MathNet.Numerics.Interpolation.Interpolate.RationalWithoutPoles&amp;#40;points, values&amp;#41;&amp;#59;&lt;br /&gt;&lt;br /&gt;It seems to work when I&amp;#39;m passing in lists that are less than about 700 items, but fails when I&amp;#39;m using lists that are greater than about 800 items.  I&amp;#39;m trying to interpolate an elevation when given a volume.  &lt;br /&gt;&lt;br /&gt;The attached text file has the raw data &amp;#40;861 items&amp;#41;  Ignore the first two columns.  The third is the elevation and forth is the volume.  When using this data I&amp;#39;m getting either negative values or values that exceed the maximum elevation in the set.  If I reduce the same set, by not including the first 200 items, it provides what appears to be a reasonable answer.&lt;br /&gt;&lt;br /&gt;Thanks&lt;br /&gt;Comments: Btw, unrelated to the reported issue itself, a cubic spline interpolation might work quite well here&amp;#58;&amp;#10;&amp;#10;&amp;#96;&amp;#96;&amp;#96;&amp;#10;var ii &amp;#61; new CubicSplineInterpolation&amp;#40;x,y&amp;#41;&amp;#59;&amp;#10;&amp;#96;&amp;#96;&amp;#96;</description><author>cdrnet</author><pubDate>Tue, 05 Mar 2013 00:06:50 GMT</pubDate><guid isPermaLink="false">Commented Issue: Interpolation data limits? [5725] 20130305120650A</guid></item><item><title>Commented Issue: Interpolation data limits? [5725]</title><link>http://mathnetnumerics.codeplex.com/workitem/5725</link><description>I&amp;#39;m using the following method&amp;#58;&lt;br /&gt;&lt;br /&gt;IInterpolation ii &amp;#61; MathNet.Numerics.Interpolation.Interpolate.RationalWithoutPoles&amp;#40;points, values&amp;#41;&amp;#59;&lt;br /&gt;&lt;br /&gt;It seems to work when I&amp;#39;m passing in lists that are less than about 700 items, but fails when I&amp;#39;m using lists that are greater than about 800 items.  I&amp;#39;m trying to interpolate an elevation when given a volume.  &lt;br /&gt;&lt;br /&gt;The attached text file has the raw data &amp;#40;861 items&amp;#41;  Ignore the first two columns.  The third is the elevation and forth is the volume.  When using this data I&amp;#39;m getting either negative values or values that exceed the maximum elevation in the set.  If I reduce the same set, by not including the first 200 items, it provides what appears to be a reasonable answer.&lt;br /&gt;&lt;br /&gt;Thanks&lt;br /&gt;Comments: Some more notes, related more to your problem than the reported issue itself&amp;#58;&amp;#10;&amp;#10;Note that an interpolation to a rational function of order &amp;#62;800 is somewhat brutal &amp;#40;school-book approaches like a neville polynomial would utterly fail here, even more as the samples are equidistant&amp;#41;&amp;#59; you may want to consider a spline interpolation instead&amp;#58;&amp;#10;&amp;#10;&amp;#96;&amp;#96;&amp;#96;&amp;#10;var ii &amp;#61; new CubicSplineInterpolation&amp;#40;x,y&amp;#41;&amp;#59;&amp;#10;&amp;#96;&amp;#96;&amp;#96;&amp;#10;&amp;#10;Looking at the actual curve it seems a rational curve of order 3-4 should represent the data quite well. Do you really need an interpolation, or would a regression &amp;#40;see http&amp;#58;&amp;#47;&amp;#47;christoph.ruegg.name&amp;#47;blog&amp;#47;2012&amp;#47;9&amp;#47;9&amp;#47;linear-regression-mathnet-numerics.html&amp;#41; e.g. to a polynomial function of order 3-6 do the job as well&amp;#63;&amp;#10;&amp;#10;Alternatively, interpolating over a small subset of e.g. 5 samples &amp;#40;of the provided 800&amp;#41; could work as well, e.g. like this&amp;#58;&amp;#10;&amp;#10;&amp;#96;&amp;#96;&amp;#96;&amp;#10;var n &amp;#61; 5&amp;#59;&amp;#10;var chebyshevNodes &amp;#61; Enumerable.Range&amp;#40;1,n&amp;#41;&amp;#10;    .Select&amp;#40;i &amp;#61;&amp;#62; Math.Cos&amp;#40;&amp;#40;2&amp;#42;i-1&amp;#41;&amp;#42;Math.PI&amp;#47;&amp;#40;2&amp;#42;n&amp;#41;&amp;#41;&amp;#41;&amp;#10;    .Select&amp;#40;z &amp;#61;&amp;#62; &amp;#40;int&amp;#41;Math.Round&amp;#40;&amp;#40;z&amp;#43;1&amp;#41;&amp;#42;&amp;#40;x.Length-1&amp;#41;&amp;#47;2&amp;#41;&amp;#41;&amp;#10;    .Concat&amp;#40;new&amp;#91;&amp;#93; &amp;#123;0,x.Length-1&amp;#125;&amp;#41;&amp;#10;    .OrderBy&amp;#40;k &amp;#61;&amp;#62; k&amp;#41;&amp;#59;&amp;#10;var ii &amp;#61; Interpolate.RationalWithoutPoles&amp;#40;&amp;#10;    chebyshevNodes.Select&amp;#40;k &amp;#61;&amp;#62; x&amp;#91;k&amp;#93;&amp;#41;.ToArray&amp;#40;&amp;#41;,&amp;#10;    chebyshevNodes.Select&amp;#40;k &amp;#61;&amp;#62; y&amp;#91;k&amp;#93;&amp;#41;.ToArray&amp;#40;&amp;#41;&amp;#41;&amp;#59;&amp;#10;&amp;#96;&amp;#96;&amp;#96;</description><author>cdrnet</author><pubDate>Mon, 04 Mar 2013 23:58:26 GMT</pubDate><guid isPermaLink="false">Commented Issue: Interpolation data limits? [5725] 20130304115826P</guid></item><item><title>Commented Issue: Interpolation data limits? [5725]</title><link>http://mathnetnumerics.codeplex.com/workitem/5725</link><description>I&amp;#39;m using the following method&amp;#58;&lt;br /&gt;&lt;br /&gt;IInterpolation ii &amp;#61; MathNet.Numerics.Interpolation.Interpolate.RationalWithoutPoles&amp;#40;points, values&amp;#41;&amp;#59;&lt;br /&gt;&lt;br /&gt;It seems to work when I&amp;#39;m passing in lists that are less than about 700 items, but fails when I&amp;#39;m using lists that are greater than about 800 items.  I&amp;#39;m trying to interpolate an elevation when given a volume.  &lt;br /&gt;&lt;br /&gt;The attached text file has the raw data &amp;#40;861 items&amp;#41;  Ignore the first two columns.  The third is the elevation and forth is the volume.  When using this data I&amp;#39;m getting either negative values or values that exceed the maximum elevation in the set.  If I reduce the same set, by not including the first 200 items, it provides what appears to be a reasonable answer.&lt;br /&gt;&lt;br /&gt;Thanks&lt;br /&gt;Comments: Thanks. I just had a go at the data provided, but it seems to work fine for me. I used the following snippet, in LinqPad &amp;#40;hence the .Dump calls&amp;#41;&amp;#58;&amp;#10;&amp;#10;&amp;#96;&amp;#96;&amp;#96;&amp;#10;var samples &amp;#61; File.ReadAllLines&amp;#40;&amp;#64;&amp;#34;E&amp;#58;&amp;#92;Downloads&amp;#92;elev2vol.txt&amp;#34;&amp;#41;&amp;#10;    .Select&amp;#40;l &amp;#61;&amp;#62; l.Split&amp;#40;&amp;#39;,&amp;#39;&amp;#41;.Skip&amp;#40;2&amp;#41;.Select&amp;#40;s &amp;#61;&amp;#62; Double.Parse&amp;#40;s.Trim&amp;#40;&amp;#41;&amp;#41;&amp;#41;.ToArray&amp;#40;&amp;#41;&amp;#41;&amp;#10;    .ToArray&amp;#40;&amp;#41;&amp;#59;&amp;#10;    &amp;#10;var x &amp;#61; samples.Select&amp;#40;z &amp;#61;&amp;#62; z&amp;#91;0&amp;#93;&amp;#41;.ToArray&amp;#40;&amp;#41;&amp;#59;&amp;#10;var y &amp;#61; samples.Select&amp;#40;z &amp;#61;&amp;#62; z&amp;#91;1&amp;#93;&amp;#41;.ToArray&amp;#40;&amp;#41;&amp;#59;&amp;#10;x.Length.Dump&amp;#40;&amp;#41;&amp;#59;&amp;#10;&amp;#10;var ii &amp;#61; Interpolate.RationalWithoutPoles&amp;#40;x,y&amp;#41;&amp;#59;&amp;#10;    &amp;#10;double e1 &amp;#61; 0, e2 &amp;#61; 0, e3 &amp;#61; 0&amp;#59;&amp;#10;int count &amp;#61; 0&amp;#59;&amp;#10;for&amp;#40;int i&amp;#61;0&amp;#59;i&amp;#60;x.Length-1&amp;#59;i&amp;#43;&amp;#43;&amp;#41;&amp;#10;&amp;#123;&amp;#10;    count&amp;#43;&amp;#43;&amp;#59;&amp;#10;    e1 &amp;#43;&amp;#61; Math.Abs&amp;#40;ii.Interpolate&amp;#40;x&amp;#91;i&amp;#93;&amp;#41; - y&amp;#91;i&amp;#93;&amp;#41;&amp;#59;&amp;#10;    e2 &amp;#43;&amp;#61; Math.Abs&amp;#40;ii.Interpolate&amp;#40;&amp;#40;x&amp;#91;i&amp;#93;&amp;#43;x&amp;#91;i&amp;#43;1&amp;#93;&amp;#41;&amp;#47;2&amp;#41; - &amp;#40;y&amp;#91;i&amp;#93;&amp;#43;y&amp;#91;i&amp;#43;1&amp;#93;&amp;#41;&amp;#47;2&amp;#41;&amp;#59;&amp;#10;    e3 &amp;#43;&amp;#61; Math.Abs&amp;#40;ii.Interpolate&amp;#40;&amp;#40;4.0&amp;#42;x&amp;#91;i&amp;#93;&amp;#43;x&amp;#91;i&amp;#43;1&amp;#93;&amp;#41;&amp;#47;5&amp;#41; - &amp;#40;4.0&amp;#42;y&amp;#91;i&amp;#93;&amp;#43;y&amp;#91;i&amp;#43;1&amp;#93;&amp;#41;&amp;#47;5&amp;#41;&amp;#59;&amp;#10;&amp;#125;&amp;#10;&amp;#10;&amp;#40;e1 &amp;#47; count&amp;#41;.Dump&amp;#40;&amp;#41;&amp;#59;&amp;#10;&amp;#40;e2 &amp;#47; count&amp;#41;.Dump&amp;#40;&amp;#41;&amp;#59;&amp;#10;&amp;#40;e3 &amp;#47; count&amp;#41;.Dump&amp;#40;&amp;#41;&amp;#59;&amp;#10;&amp;#96;&amp;#96;&amp;#96;&amp;#10;&amp;#10;returning&amp;#58;&amp;#10;&amp;#10;861 &amp;#40;&amp;#35; samples&amp;#41;&amp;#10;0 &amp;#40;mean abs error at sample points, zero expected since this is an interpolation&amp;#41;&amp;#10;0.253021407617856 &amp;#40;mean abs error at center between samples, if it were linear between points&amp;#41;&amp;#10;0.156471265231335 &amp;#40;mean abs error at 1&amp;#47;5 between samples, if it were linear between points&amp;#41;&amp;#10;&amp;#10;Could you provide some concrete example values where the interpolation fails&amp;#63;</description><author>cdrnet</author><pubDate>Mon, 04 Mar 2013 23:55:17 GMT</pubDate><guid isPermaLink="false">Commented Issue: Interpolation data limits? [5725] 20130304115517P</guid></item><item><title>Created Issue: Interpolation data limits? [5725]</title><link>http://mathnetnumerics.codeplex.com/workitem/5725</link><description>I&amp;#39;m using the following method&amp;#58;&lt;br /&gt;&lt;br /&gt;IInterpolation ii &amp;#61; MathNet.Numerics.Interpolation.Interpolate.RationalWithoutPoles&amp;#40;points, values&amp;#41;&amp;#59;&lt;br /&gt;&lt;br /&gt;It seems to work when I&amp;#39;m passing in lists that are less than about 700 items, but fails when I&amp;#39;m using lists that are greater than about 800 items.  I&amp;#39;m trying to interpolate an elevation when given a volume.  &lt;br /&gt;&lt;br /&gt;The attached text file has the raw data &amp;#40;861 items&amp;#41;  Ignore the first two columns.  The third is the elevation and forth is the volume.  When using this data I&amp;#39;m getting either negative values or values that exceed the maximum elevation in the set.  If I reduce the same set, by not including the first 200 items, it provides what appears to be a reasonable answer.&lt;br /&gt;&lt;br /&gt;Thanks&lt;br /&gt;</description><author>dvanwest</author><pubDate>Mon, 04 Mar 2013 21:18:53 GMT</pubDate><guid isPermaLink="false">Created Issue: Interpolation data limits? [5725] 20130304091853P</guid></item><item><title>Created Issue: (minor) Documentation fix [5724]</title><link>http://mathnetnumerics.codeplex.com/workitem/5724</link><description>Hi,&lt;br /&gt;&lt;br /&gt;On http&amp;#58;&amp;#47;&amp;#47;numerics.mathdotnet.com&amp;#47;api&amp;#47;MathNet.Numerics.Integration&amp;#47;Integrate.htm , the method descriptions &amp;#40;both&amp;#41; say &amp;#58;&lt;br /&gt;Approximation of the definite interval of an analytic smooth function on a closed interval. &lt;br /&gt;&lt;br /&gt;I suggest the description be changed to &amp;#58;&lt;br /&gt;Approximation of the definite integral of an analytic smooth function on a closed interval. &lt;br /&gt;&lt;br /&gt;... just a suggestion,&lt;br /&gt;Chuck&lt;br /&gt;</description><author>chuckmoore55</author><pubDate>Tue, 26 Feb 2013 18:10:36 GMT</pubDate><guid isPermaLink="false">Created Issue: (minor) Documentation fix [5724] 20130226061036P</guid></item><item><title>Closed Issue: Control.ParallelizeOperation BUG [5723]</title><link>http://mathnetnumerics.codeplex.com/workitem/5723</link><description>There is a potential bug in the method&amp;#58;&lt;br /&gt;&lt;br /&gt;&amp;#96;MathNet.Numerics.Control.ParallelizeOperation&amp;#40;int elements&amp;#41;&amp;#96;&lt;br /&gt;&lt;br /&gt;This method should return true if the operation should be parallelized&amp;#59; and false otherwise. &lt;br /&gt;Instead, this method returns the exact opposite of this &amp;#40;see the source code&amp;#41;.&lt;br /&gt;&lt;br /&gt;I would prefer, if the property &amp;#96;DisableParallelization&amp;#96; was set to false &amp;#40;by default&amp;#41; in the future revisions.&lt;br /&gt;Comments: Fixed, thanks for reporting.</description><author>cdrnet</author><pubDate>Fri, 22 Feb 2013 17:44:04 GMT</pubDate><guid isPermaLink="false">Closed Issue: Control.ParallelizeOperation BUG [5723] 20130222054404P</guid></item></channel></rss>