LOGFIT ports goffice's trial-and-error logarithmic fitting: sign determination from probe offsets, power-of-ten c accuracy derived from the x range, and the bisection search for a local residual minimum, with the same point-cloud validity checks. DATE2HDATE converts via the Hebrew calendar arithmetic from gnumeric's hdate (molad-based new year with the special Molad Zaken and ADU rules) and formats with the Merriam-Webster month spellings. INTERPOLATION provides all six methods — linear, linear averaging, staircase, staircase averaging, and natural cubic splines with per-value and interval-average evaluation — the spline being an exact port of go-cspline's tridiagonal natural-spline solve, dichotomy interval search, and integral accumulation. PERIODOGRAM combines the interpolation machinery with gnumeric's Bartlett/Hann/Welch windows and the recursive FFT, halving the output like gnumeric's amplitude spectrum. All deterministic manifest functions are now dispatched. New interp_functions fixture with 17 rows; 26 fixtures now 1:1 with ssconvert including round-trips.
24 lines
2.0 KiB
XML
24 lines
2.0 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<gnm:Workbook xmlns:gnm="http://www.gnumeric.org/v10.dtd">
|
|
<gnm:SheetNameIndex><gnm:SheetName gnm:Cols="8" gnm:Rows="20">Sheet1</gnm:SheetName></gnm:SheetNameIndex>
|
|
<gnm:Sheets><gnm:Sheet><gnm:Name>Sheet1</gnm:Name><gnm:MaxCol>7</gnm:MaxCol><gnm:MaxRow>19</gnm:MaxRow><gnm:Cells>
|
|
<gnm:Cell Row="0" Col="0" ValueType="30">1</gnm:Cell><gnm:Cell Row="1" Col="0" ValueType="30">2</gnm:Cell><gnm:Cell Row="2" Col="0" ValueType="30">3</gnm:Cell><gnm:Cell Row="3" Col="0" ValueType="30">4</gnm:Cell><gnm:Cell Row="4" Col="0" ValueType="30">5</gnm:Cell>
|
|
<gnm:Cell Row="0" Col="1" ValueType="30">10</gnm:Cell><gnm:Cell Row="1" Col="1" ValueType="30">20</gnm:Cell><gnm:Cell Row="2" Col="1" ValueType="30">20</gnm:Cell><gnm:Cell Row="3" Col="1" ValueType="30">15</gnm:Cell><gnm:Cell Row="4" Col="1" ValueType="30">25</gnm:Cell>
|
|
<gnm:Cell Row="0" Col="3" ValueType="30">1.5</gnm:Cell><gnm:Cell Row="1" Col="3" ValueType="30">2.5</gnm:Cell><gnm:Cell Row="2" Col="3" ValueType="30">4.5</gnm:Cell>
|
|
<gnm:Cell Row="4" Col="5">=INTERPOLATION(A1:A5,B1:B5,1.5)</gnm:Cell>
|
|
<gnm:Cell Row="5" Col="5">=INTERPOLATION(A1:A5,B1:B5,1.5,0)</gnm:Cell>
|
|
<gnm:Cell Row="6" Col="5">=INTERPOLATION(A1:A5,B1:B5,1.5,2)</gnm:Cell>
|
|
<gnm:Cell Row="7" Col="5">=INTERPOLATION(A1:A5,B1:B5,1.5,4)</gnm:Cell>
|
|
<gnm:Cell Row="8" Col="5">=INTERPOLATION(A1:A5,B1:B5,C1:C3,1)</gnm:Cell>
|
|
<gnm:Cell Row="9" Col="5">=INTERPOLATION(A1:A5,B1:B5,C1:C3,3)</gnm:Cell>
|
|
<gnm:Cell Row="10" Col="5">=INTERPOLATION(A1:A5,B1:B5,C1:C3,5)</gnm:Cell>
|
|
<gnm:Cell Row="11" Col="5">=INTERPOLATION(A1:A5,B1:B5,C1:C3)</gnm:Cell>
|
|
<gnm:Cell Row="12" Col="5">=PERIODOGRAM(B1:B5)</gnm:Cell>
|
|
<gnm:Cell Row="13" Col="5">=PERIODOGRAM(B1:B5,1)</gnm:Cell>
|
|
<gnm:Cell Row="14" Col="5">=PERIODOGRAM(B1:B5,2)</gnm:Cell>
|
|
<gnm:Cell Row="15" Col="5">=PERIODOGRAM(B1:B5,3)</gnm:Cell>
|
|
<gnm:Cell Row="16" Col="5">=PERIODOGRAM(B1:B5,0,A1:A5,0,8)</gnm:Cell>
|
|
<gnm:Cell Row="17" Col="5">=PERIODOGRAM(B1:B5,0,A1:A5,4,8)</gnm:Cell>
|
|
</gnm:Cells></gnm:Sheet></gnm:Sheets>
|
|
</gnm:Workbook>
|