MPSEUDOINVERSE ports goffice's quad pseudo-inverse (QR with degenerate-diagonal zeroing, the (R^T R + delta I)^-1 seeding, ten refinement steps of (2I - B R) B, and the transposed-input case) and LEVERAGE ports go_linear_regression_leverage (per-row forward/back solves of the scaled QR system with the exact quad dot product). OWENT ports all six series methods of gnumeric's owent with the full range/method dispatch table, and BETA ports qbetaf on a new QGammaF plus PochhammerSmallN/GammaErrorFactor chain. Getting BETA bit-exact exposed three latent bugs in the quad core back-ported from goffice long ago but never exercised until now: Q_Exp was a mangled stub (now e^a via the quad power with the double-double constant for e), Q_PowFrac lost the 1m-mode accumulation so fractional powers collapsed to zero, Q_Pow clobbered its base when result and input aliased, and Q_Floor was missing the off-by-one correction's third case. qfactf's fractional path now uses the exact stepping algorithm (round-split, up-stepping to 20, and PochhammerSmallN) instead of libm tgamma, which removes the last 1-ULP divergences. New analysis_functions fixture with 27 rows; 20 fixtures now 1:1 with ssconvert including round-trips.
8 lines
2.2 KiB
XML
8 lines
2.2 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="6" gnm:Rows="27">Sheet1</gnm:SheetName></gnm:SheetNameIndex>
|
|
<gnm:Sheets><gnm:Sheet><gnm:Name>Sheet1</gnm:Name><gnm:MaxCol>5</gnm:MaxCol><gnm:MaxRow>26</gnm:MaxRow><gnm:Cells>
|
|
<gnm:Cell Row="0" Col="0" ValueType="30">1</gnm:Cell><gnm:Cell Row="0" Col="1" ValueType="30">2</gnm:Cell><gnm:Cell Row="1" Col="0" ValueType="30">3</gnm:Cell><gnm:Cell Row="1" Col="1" ValueType="30">4</gnm:Cell><gnm:Cell Row="3" Col="0" ValueType="30">5</gnm:Cell><gnm:Cell Row="3" Col="1" ValueType="30">6</gnm:Cell><gnm:Cell Row="4" Col="0" ValueType="30">7</gnm:Cell><gnm:Cell Row="4" Col="1" ValueType="30">8</gnm:Cell><gnm:Cell Row="0" Col="4">=MPSEUDOINVERSE(A1:B2)</gnm:Cell><gnm:Cell Row="1" Col="4">=MPSEUDOINVERSE(A1:B1)</gnm:Cell><gnm:Cell Row="2" Col="4">=MPSEUDOINVERSE(A1:A2)</gnm:Cell><gnm:Cell Row="3" Col="4">=LEVERAGE(A1:B2)</gnm:Cell><gnm:Cell Row="4" Col="4">=LEVERAGE(A1:B1)</gnm:Cell><gnm:Cell Row="5" Col="4">=LEVERAGE(A1:A2)</gnm:Cell><gnm:Cell Row="6" Col="4">=OWENT(0.5,0.5)</gnm:Cell><gnm:Cell Row="7" Col="4">=OWENT(1,0.3)</gnm:Cell><gnm:Cell Row="8" Col="4">=OWENT(2,0.7)</gnm:Cell><gnm:Cell Row="9" Col="4">=OWENT(0.01,0.001)</gnm:Cell><gnm:Cell Row="10" Col="4">=OWENT(3.5,0.95)</gnm:Cell><gnm:Cell Row="11" Col="4">=OWENT(5,0.5)</gnm:Cell><gnm:Cell Row="12" Col="4">=OWENT(0,0.5)</gnm:Cell><gnm:Cell Row="13" Col="4">=OWENT(1,0)</gnm:Cell><gnm:Cell Row="14" Col="4">=OWENT(1,1)</gnm:Cell><gnm:Cell Row="15" Col="4">=OWENT(0.5,1.5)</gnm:Cell><gnm:Cell Row="16" Col="4">=OWENT(-1,0.5)</gnm:Cell><gnm:Cell Row="17" Col="4">=OWENT(1,-0.5)</gnm:Cell><gnm:Cell Row="18" Col="4">=OWENT(2.5,2)</gnm:Cell><gnm:Cell Row="19" Col="4">=BETA(2,3)</gnm:Cell><gnm:Cell Row="20" Col="4">=BETA(0.5,0.5)</gnm:Cell><gnm:Cell Row="21" Col="4">=BETA(2.5,1.5)</gnm:Cell><gnm:Cell Row="22" Col="4">=BETA(1,1)</gnm:Cell><gnm:Cell Row="23" Col="4">=BETA(-1,2)</gnm:Cell><gnm:Cell Row="24" Col="4">=BETA(3.5,0.5)</gnm:Cell><gnm:Cell Row="25" Col="4">=BETA(10,0.25)</gnm:Cell><gnm:Cell Row="26" Col="4">=BETA(0.25,10)</gnm:Cell>
|
|
</gnm:Cells></gnm:Sheet></gnm:Sheets>
|
|
</gnm:Workbook>
|