Kaydet (Commit) ebd3c6c9 authored tarafından shiming zhang's avatar shiming zhang Kaydeden (comit) I-Jui (Ray) Sung

GPU Calc: implemented TTEST

AMLOEXT-189 FIX

Change-Id: I15a640a9953fa4aef2176fd31242e21ad335abb4
Signed-off-by: 's avatarhaochen <haochen@multicorewareinc.com>
Signed-off-by: 's avatarI-Jui (Ray) Sung <ray@multicorewareinc.com>
üst 811c671c
......@@ -1766,6 +1766,10 @@ DynamicKernelSoPArguments::DynamicKernelSoPArguments(
mvSubArguments.push_back(SoPHelper(ts,
ft->Children[i],new OpBetainv));
break;
case ocTTest:
mvSubArguments.push_back(SoPHelper(ts,
ft->Children[i], new OpTTest));
break;
case ocExternal:
if ( !(pChild->GetExternal().compareTo(OUString(
"com.sun.star.sheet.addin.Analysis.getEffect"))))
......
......@@ -92,6 +92,14 @@ public:
virtual void BinInlineFun(std::set<std::string>& ,std::set<std::string>&);
virtual std::string BinFuncName(void) const { return "Fdist"; }
};
class OpTTest: public Normal
{
public:
virtual void GenSlidingWindowFunction(std::stringstream &ss,
const std::string sSymName, SubArguments &vSubArguments);
virtual std::string BinFuncName(void) const { return "TTest"; }
virtual void BinInlineFun(std::set<std::string>& ,std::set<std::string>&);
};
class OpSkew: public Normal
{
public:
......
......@@ -15,9 +15,15 @@ std::string fBigInvDecl ="#define fBigInv 2.22045e-016\n";
std::string fMachEpsDecl ="#define fMachEps 2.22045e-016\n";
std::string fLogDblMaxDecl ="#define fLogDblMax log(1.79769e+308)\n";
std::string fHalfMachEpsDecl ="#define fHalfMachEps 0.5*2.22045e-016\n";
std::string fMaxGammaArgumentDecl =
"#define fMaxGammaArgument 171.624376956302\n";
std::string fMaxGammaArgumentDecl=
"#define fMaxGammaArgument 171.624376956302\n";
std::string GetValueDecl=
"double GetValue( double x,double fp,double fDF );";
std::string GetValue=
"double GetValue( double x,double fp,double fDF )\n"
"{\n"
" return fp - 2 * GetTDist(x, fDF);\n"
"}\n";
std::string GetGammaSeriesDecl=
"double GetGammaSeries( double fA, double fX );\n";
std::string GetGammaSeries =
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment