Anonymous user
Talk:Thiele's interpolation formula: Difference between revisions
Talk:Thiele's interpolation formula (view source)
Revision as of 23:07, 2 October 2010
, 13 years ago6 × arc sin ½, 3 × arc cos ½ and 4 × arc tan 1;
(Just provide the table?) |
(6 × arc sin ½, 3 × arc cos ½ and 4 × arc tan 1;) |
||
Line 4:
I picked 32 rows to the table. Basically "'''from''' 0 '''to''' 1.55 '''by''' 0.05 ..." as 0.05 seems to give the full single precision answer (on an i686 CPU at least). Ideally this size would be calculated from the desired precision, but I don't have a formula for this precision calculation. [[User:NevilleDNZ|NevilleDNZ]] 21:31, 2 October 2010 (UTC)
: The task description modification is nice, but would it be terribly problematic to just provide the table? The task seems to have more stages than it really needs. A TSV table would be pretty useful for the purpose, IMHO. --[[User:Short Circuit|Michael Mol]] 22:35, 2 October 2010 (UTC)
The table of (''x, sin x, cos x, tan x'') records is generated prior to any interpolation being done... Then the interpolation is used to create — user defined — ''inv sin, inv cos and inv tan'' functions. Hence I figured that the three simple π calculations — 6 × sin<sup>-1</sup> ½, 3 × cos<sup>-1</sup> ½ and 4 × tan<sup>-1</sup> 1 — simply present/test/prove the interpolation is implemented correctly. Hence a subsequent table of (''inv sin, inv cos, inv tan'') records — while a bonus — is not strictly required.
=== re:base indices in different dimensions ===
|