LibreOffice Module sc (master) 1
|
Abstract class for code generation. More...
#include <opbase.hxx>
Public Member Functions | |
virtual std::string | GetBottom () |
virtual std::string | Gen2 (const std::string &, const std::string &) const |
virtual std::string | BinFuncName () const |
virtual void | BinInlineFun (std::set< std::string > &, std::set< std::string > &) |
virtual bool | takeString () const =0 |
virtual bool | takeNumeric () const =0 |
virtual bool | canHandleMultiVector () const |
virtual bool | ZeroReturnZero () |
virtual bool | forceStringsToZero () const |
virtual | ~OpBase () |
Static Public Member Functions | |
static std::string | Gen (std::vector< std::string > &) |
Abstract class for code generation.
Definition at line 319 of file opbase.hxx.
|
inlinevirtual |
Definition at line 341 of file opbase.hxx.
|
inlinevirtual |
Reimplemented in sc::opencl::OpBesselj, sc::opencl::OpGestep, sc::opencl::OpSumX2MY2, sc::opencl::OpSumX2PY2, sc::opencl::OpSumXMY2, sc::opencl::OpRRI, sc::opencl::OpNominal, sc::opencl::OpDollarde, sc::opencl::OpDollarfr, sc::opencl::OpDISC, sc::opencl::OpINTRATE, sc::opencl::OpFV, sc::opencl::OpIPMT, sc::opencl::OpISPMT, sc::opencl::OpPDuration, sc::opencl::OpDuration_ADD, sc::opencl::OpMDuration, sc::opencl::Fvschedule, sc::opencl::OpIRR, sc::opencl::OpMIRR, sc::opencl::OpXirr, sc::opencl::OpSYD, sc::opencl::OpEffective, sc::opencl::OpCumipmt, sc::opencl::OpXNPV, sc::opencl::OpTbilleq, sc::opencl::OpCumprinc, sc::opencl::OpAccrintm, sc::opencl::OpAccrint, sc::opencl::OpYield, sc::opencl::OpSLN, sc::opencl::OpFvschedule, sc::opencl::OpYieldmat, sc::opencl::OpPMT, sc::opencl::OpNPV, sc::opencl::OpPrice, sc::opencl::OpNper, sc::opencl::OpOddlprice, sc::opencl::OpOddlyield, sc::opencl::OpPriceDisc, sc::opencl::OpPPMT, sc::opencl::OpCoupdaybs, sc::opencl::OpCoupdays, sc::opencl::OpCoupdaysnc, sc::opencl::OpCouppcd, sc::opencl::OpCoupncd, sc::opencl::OpCoupnum, sc::opencl::OpDDB, sc::opencl::OpVDB, sc::opencl::OpDB, sc::opencl::OpAmordegrc, sc::opencl::OpAmorlinc, sc::opencl::OpReceived, sc::opencl::OpYielddisc, sc::opencl::OpTbillprice, sc::opencl::OpPriceMat, sc::opencl::OpRate, sc::opencl::OpTbillyield, sc::opencl::OpPV, sc::opencl::OpAnd, sc::opencl::OpOr, sc::opencl::OpNot, sc::opencl::OpXor, sc::opencl::OpIf, sc::opencl::OpCos, sc::opencl::OpSec, sc::opencl::OpSecH, sc::opencl::OpMROUND, sc::opencl::OpCsc, sc::opencl::OpSumIfs, sc::opencl::OpCosh, sc::opencl::OpSinh, sc::opencl::OpSin, sc::opencl::OpAbs, sc::opencl::OpArcCos, sc::opencl::OpArcCosHyp, sc::opencl::OpTan, sc::opencl::OpTanH, sc::opencl::OpSqrt, sc::opencl::OpArcCot, sc::opencl::OpArcCotHyp, sc::opencl::OpArcSin, sc::opencl::OpArcSinHyp, sc::opencl::OpArcTan2, sc::opencl::OpArcTan, sc::opencl::OpArcTanH, sc::opencl::OpBitAnd, sc::opencl::OpBitOr, sc::opencl::OpBitXor, sc::opencl::OpBitLshift, sc::opencl::OpBitRshift, sc::opencl::OpLn, sc::opencl::OpRound, sc::opencl::OpRoundUp, sc::opencl::OpRoundDown, sc::opencl::OpTrunc, sc::opencl::OpInt, sc::opencl::OpRadians, sc::opencl::OpIsEven, sc::opencl::OpIsOdd, sc::opencl::OpCot, sc::opencl::OpSumSQ, sc::opencl::OpCoth, sc::opencl::OpPower, sc::opencl::OpOdd, sc::opencl::OpFloor, sc::opencl::OpCscH, sc::opencl::OpCeil, sc::opencl::OpExp, sc::opencl::OpLog10, sc::opencl::OpEven, sc::opencl::OpAverageIfs, sc::opencl::OpCountIfs, sc::opencl::OpMod, sc::opencl::OpProduct, sc::opencl::OpSqrtPi, sc::opencl::OpCombinA, sc::opencl::OpLog, sc::opencl::OpCombin, sc::opencl::OpAverageIf, sc::opencl::OpDeg, sc::opencl::OpCountIf, sc::opencl::OpFact, sc::opencl::OpSeriesSum, sc::opencl::OpSumIf, sc::opencl::OpQuotient, sc::opencl::OpNegSub, sc::opencl::OpEqual, sc::opencl::OpNotEqual, sc::opencl::OpLessEqual, sc::opencl::OpLess, sc::opencl::OpGreaterEqual, sc::opencl::OpGreater, sc::opencl::OpSumProduct, sc::opencl::OpNop, sc::opencl::OpSum, sc::opencl::OpSub, sc::opencl::OpMul, sc::opencl::OpDiv, sc::opencl::OpVLookup, sc::opencl::OpStandard, sc::opencl::OpExponDist, sc::opencl::OpZTest, sc::opencl::OpWeibull, sc::opencl::OpFdist, sc::opencl::OpTDist, sc::opencl::OpTInv, sc::opencl::OpTTest, sc::opencl::OpFisher, sc::opencl::OpFisherInv, sc::opencl::OpGamma, sc::opencl::OpNegbinomdist, sc::opencl::OpGammaLn, sc::opencl::OpGauss, sc::opencl::OpGeoMean, sc::opencl::OpHarMean, sc::opencl::OpNormdist, sc::opencl::OpNormsdist, sc::opencl::OpNorminv, sc::opencl::OpNormsinv, sc::opencl::OpPhi, sc::opencl::OpPermut, sc::opencl::OpPermutationA, sc::opencl::OpConfidence, sc::opencl::OpLogInv, sc::opencl::OpCritBinom, sc::opencl::OpLogNormDist, sc::opencl::OpGammaDist, sc::opencl::OpHypGeomDist, sc::opencl::OpChiDist, sc::opencl::OpBinomdist, sc::opencl::OpChiSqDist, sc::opencl::OpChiSqInv, sc::opencl::OpChiInv, sc::opencl::OpPoisson, sc::opencl::OpGammaInv, sc::opencl::OpFInv, sc::opencl::OpFTest, sc::opencl::OpDevSq, sc::opencl::OpB, sc::opencl::OpBetaDist, sc::opencl::OpBetainv, sc::opencl::OpAveDev, sc::opencl::OpCovar, sc::opencl::OpForecast, sc::opencl::OpIntercept, sc::opencl::OpSlope, sc::opencl::OpPearson, sc::opencl::OpCorrel, sc::opencl::OpSTEYX, sc::opencl::OpRsq, sc::opencl::OpVar, sc::opencl::OpVarP, sc::opencl::OpStDev, sc::opencl::OpStDevP, sc::opencl::OpSkew, sc::opencl::OpSkewp, sc::opencl::OpKurt, sc::opencl::OpMin, sc::opencl::OpMax, sc::opencl::OpAverage, sc::opencl::OpCount, sc::opencl::OpCountA, sc::opencl::OpMaxA, sc::opencl::OpMinA, sc::opencl::OpVarA, sc::opencl::OpVarPA, sc::opencl::OpStDevPA, sc::opencl::OpAverageA, and sc::opencl::OpStDevA.
Definition at line 329 of file opbase.hxx.
Referenced by sc::opencl::SlidingFunctionBase::GenerateFunctionDeclaration().
|
inlinevirtual |
Reimplemented in sc::opencl::OpDISC, sc::opencl::OpINTRATE, sc::opencl::OpFV, sc::opencl::OpIPMT, sc::opencl::OpDuration_ADD, sc::opencl::OpMDuration, sc::opencl::Cumipmt, sc::opencl::PriceMat, sc::opencl::OpTbilleq, sc::opencl::OpCumprinc, sc::opencl::OpAccrintm, sc::opencl::OpAccrint, sc::opencl::OpYield, sc::opencl::OpYieldmat, sc::opencl::OpPMT, sc::opencl::OpPrice, sc::opencl::OpOddlprice, sc::opencl::OpOddlyield, sc::opencl::OpPriceDisc, sc::opencl::OpPPMT, sc::opencl::OpCoupdaybs, sc::opencl::OpCoupdays, sc::opencl::OpCoupdaysnc, sc::opencl::OpCouppcd, sc::opencl::OpCoupncd, sc::opencl::OpCoupnum, sc::opencl::OpDDB, sc::opencl::OpVDB, sc::opencl::OpAmordegrc, sc::opencl::OpAmorlinc, sc::opencl::OpReceived, sc::opencl::OpYielddisc, sc::opencl::OpTbillprice, sc::opencl::OpRate, sc::opencl::OpTbillyield, sc::opencl::OpCosh, sc::opencl::OpArcCos, sc::opencl::OpArcSin, sc::opencl::OpArcTan2, sc::opencl::OpRound, sc::opencl::OpInt, sc::opencl::OpCoth, sc::opencl::OpOdd, sc::opencl::OpMod, sc::opencl::OpCombinA, sc::opencl::OpEqual, sc::opencl::OpNotEqual, sc::opencl::OpLessEqual, sc::opencl::OpGreaterEqual, sc::opencl::OpZTest, sc::opencl::OpFdist, sc::opencl::OpTDist, sc::opencl::OpTInv, sc::opencl::OpTTest, sc::opencl::OpGauss, sc::opencl::OpNorminv, sc::opencl::OpNormsinv, sc::opencl::OpConfidence, sc::opencl::OpLogInv, sc::opencl::OpCritBinom, sc::opencl::OpChiDist, sc::opencl::OpBinomdist, sc::opencl::OpChiSqDist, sc::opencl::OpChiSqInv, sc::opencl::OpChiInv, sc::opencl::OpPoisson, sc::opencl::OpBetainv, sc::opencl::OpSum, sc::opencl::OpSub, sc::opencl::OpGammaDist, sc::opencl::OpGammaInv, sc::opencl::OpFInv, sc::opencl::OpFTest, sc::opencl::OpB, sc::opencl::OpBetaDist, sc::opencl::OpVarStDevBase, sc::opencl::OpMin, sc::opencl::OpMax, and sc::opencl::OpAverage.
Definition at line 330 of file opbase.hxx.
|
inlinevirtual |
Reimplemented in sc::opencl::Fvschedule, sc::opencl::OpMIRR, sc::opencl::OpLogicalBinaryOperator, sc::opencl::OpSumSQ, sc::opencl::OpProduct, sc::opencl::OpSeriesSum, sc::opencl::OpSum, sc::opencl::OpVLookup, sc::opencl::OpGeoMean, sc::opencl::OpHarMean, sc::opencl::OpDevSq, sc::opencl::OpAveDev, sc::opencl::OpVarStDevBase, sc::opencl::OpMin, sc::opencl::OpMax, sc::opencl::OpAverage, and sc::opencl::OpCount.
Definition at line 335 of file opbase.hxx.
|
inlinevirtual |
Reimplemented in sc::opencl::OpCountA, sc::opencl::OpMaxA, sc::opencl::OpMinA, sc::opencl::OpVarA, sc::opencl::OpVarPA, sc::opencl::OpStDevPA, sc::opencl::OpAverageA, and sc::opencl::OpStDevA.
Definition at line 340 of file opbase.hxx.
Referenced by sc::opencl::SlidingFunctionBase::GenerateArg().
|
inlinestatic |
Definition at line 328 of file opbase.hxx.
Referenced by sc::opencl::Normal::GenSlidingWindowFunction().
|
inlinevirtual |
Reimplemented in sc::opencl::OpNop, sc::opencl::OpSumProduct, sc::opencl::OpSum, sc::opencl::OpSub, sc::opencl::OpMul, sc::opencl::OpDiv, sc::opencl::OpMin, sc::opencl::OpMax, sc::opencl::OpAverage, and sc::opencl::OpCount.
Definition at line 326 of file opbase.hxx.
Referenced by sc::opencl::Reduction::GenSlidingWindowFunction().
|
inlinevirtual |
Reimplemented in sc::opencl::OpDollarde, sc::opencl::OpDollarfr, sc::opencl::OpDISC, sc::opencl::OpINTRATE, sc::opencl::OpFV, sc::opencl::OpIPMT, sc::opencl::OpISPMT, sc::opencl::OpPDuration, sc::opencl::OpDuration_ADD, sc::opencl::OpMDuration, sc::opencl::OpEffective, sc::opencl::OpCumipmt, sc::opencl::OpXNPV, sc::opencl::OpCumprinc, sc::opencl::OpAccrintm, sc::opencl::OpFvschedule, sc::opencl::OpCoupdaybs, sc::opencl::OpCoupdays, sc::opencl::OpCoupdaysnc, sc::opencl::OpCoupnum, sc::opencl::OpAmordegrc, sc::opencl::OpAmorlinc, sc::opencl::OpReceived, sc::opencl::OpPriceMat, sc::opencl::OpRate, sc::opencl::OpArcCosHyp, sc::opencl::OpCeil, sc::opencl::OpNop, sc::opencl::OpSum, sc::opencl::OpSub, sc::opencl::OpMul, sc::opencl::OpDiv, sc::opencl::OpConfidence, sc::opencl::OpCritBinom, sc::opencl::OpMin, sc::opencl::OpMax, sc::opencl::OpAverage, and sc::opencl::OpCount.
Definition at line 325 of file opbase.hxx.
Referenced by sc::opencl::Normal::GenSlidingWindowFunction(), and sc::opencl::Reduction::GenSlidingWindowFunction().
|
pure virtual |
Implemented in sc::opencl::SumOfProduct, sc::opencl::Normal, and sc::opencl::Reduction.
|
pure virtual |
Implemented in sc::opencl::OpEqual, sc::opencl::OpNotEqual, sc::opencl::SumOfProduct, sc::opencl::Normal, and sc::opencl::Reduction.
Referenced by sc::opencl::SlidingFunctionBase::GenerateArg().
|
inlinevirtual |
Reimplemented in sc::opencl::OpMul.
Definition at line 338 of file opbase.hxx.
Referenced by sc::opencl::Reduction::GenSlidingWindowFunction().