LibreOffice Module sc (master) 1
Public Types | Public Member Functions | Protected Types | Protected Member Functions | Static Protected Member Functions | List of all members
sc::opencl::SlidingFunctionBase Class Referenceabstract

#include <opbase.hxx>

Inheritance diagram for sc::opencl::SlidingFunctionBase:
[legend]
Collaboration diagram for sc::opencl::SlidingFunctionBase:
[legend]

Public Types

typedef std::vector< DynamicKernelArgumentRefSubArguments
 

Public Member Functions

virtual void GenSlidingWindowFunction (outputstream &, const std::string &, SubArguments &)=0
 
- Public Member Functions inherited from sc::opencl::OpBase
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 ()
 

Protected Types

enum  EmptyArgType {
  EmptyIsZero ,
  EmptyIsNan ,
  SkipEmpty
}
 
enum  GenerateArgTypeType {
  DoNotGenerateArgType ,
  GenerateArgType
}
 

Protected Member Functions

void GenerateFunctionDeclaration (const std::string &sSymName, SubArguments &vSubArguments, outputstream &ss)
 
void GenerateArg (const char *name, int arg, SubArguments &vSubArguments, outputstream &ss, EmptyArgType empty=EmptyIsZero, GenerateArgTypeType generateType=DoNotGenerateArgType)
 
void GenerateArg (int arg, SubArguments &vSubArguments, outputstream &ss, EmptyArgType empty=EmptyIsZero, GenerateArgTypeType generateType=DoNotGenerateArgType)
 
void GenerateArgWithDefault (const char *name, int arg, double def, SubArguments &vSubArguments, outputstream &ss, EmptyArgType empty=EmptyIsZero)
 
void GenerateRangeArg (int arg1, int arg2, SubArguments &vSubArguments, outputstream &ss, EmptyArgType empty, const char *code, const char *firstElementDiff=nullptr)
 

Static Protected Member Functions

static void GenerateRangeArgs (int firstArg, int lastArg, SubArguments &vSubArguments, outputstream &ss, EmptyArgType empty, const char *code)
 
static void GenerateRangeArgs (SubArguments &vSubArguments, outputstream &ss, EmptyArgType empty, const char *code)
 
static void GenerateRangeArg (int arg, SubArguments &vSubArguments, outputstream &ss, EmptyArgType empty, const char *code)
 
static void GenerateRangeArgPair (int arg1, int arg2, SubArguments &vSubArguments, outputstream &ss, EmptyArgType empty, const char *code, const char *firstElementDiff=nullptr)
 
static void GenerateRangeArgElement (const char *name, int arg, const char *element, SubArguments &vSubArguments, outputstream &ss, EmptyArgType empty)
 
static void GenerateDoubleVectorLoopHeader (outputstream &ss, const formula::DoubleVectorRefToken *pDVR, const char *firstElementDiff)
 

Additional Inherited Members

- Static Public Member Functions inherited from sc::opencl::OpBase
static std::string Gen (std::vector< std::string > &)
 

Detailed Description

Definition at line 344 of file opbase.hxx.

Member Typedef Documentation

◆ SubArguments

Definition at line 347 of file opbase.hxx.

Member Enumeration Documentation

◆ EmptyArgType

Enumerator
EmptyIsZero 
EmptyIsNan 
SkipEmpty 

Definition at line 352 of file opbase.hxx.

◆ GenerateArgTypeType

Enumerator
DoNotGenerateArgType 
GenerateArgType 

Definition at line 360 of file opbase.hxx.

Member Function Documentation

◆ GenerateArg() [1/2]

void sc::opencl::SlidingFunctionBase::GenerateArg ( const char *  name,
int  arg,
SubArguments vSubArguments,
outputstream ss,
EmptyArgType  empty = EmptyIsZero,
GenerateArgTypeType  generateType = DoNotGenerateArgType 
)
protected

Definition at line 226 of file opbase.cxx.

References EmptyIsNan, EmptyIsZero, sc::opencl::OpBase::forceStringsToZero(), GenerateArgType, get(), formula::SingleVectorRefToken::GetArrayLength(), formula::FormulaToken::GetDouble(), formula::FormulaToken::GetOpCode(), formula::FormulaToken::GetType(), name, ocPush, SkipEmpty, formula::svDouble, formula::svSingleVectorRef, formula::svString, and sc::opencl::OpBase::takeString().

Referenced by GenerateArg(), GenerateArgWithDefault(), sc::opencl::OpBesselj::GenSlidingWindowFunction(), sc::opencl::OpGestep::GenSlidingWindowFunction(), sc::opencl::OpRRI::GenSlidingWindowFunction(), sc::opencl::OpNominal::GenSlidingWindowFunction(), sc::opencl::OpDollarde::GenSlidingWindowFunction(), sc::opencl::OpDollarfr::GenSlidingWindowFunction(), sc::opencl::OpDISC::GenSlidingWindowFunction(), sc::opencl::OpINTRATE::GenSlidingWindowFunction(), sc::opencl::OpFV::GenSlidingWindowFunction(), sc::opencl::OpIPMT::GenSlidingWindowFunction(), sc::opencl::OpISPMT::GenSlidingWindowFunction(), sc::opencl::OpPDuration::GenSlidingWindowFunction(), sc::opencl::OpDuration_ADD::GenSlidingWindowFunction(), sc::opencl::OpMDuration::GenSlidingWindowFunction(), sc::opencl::Fvschedule::GenSlidingWindowFunction(), sc::opencl::Cumipmt::GenSlidingWindowFunction(), sc::opencl::OpMIRR::GenSlidingWindowFunction(), sc::opencl::XNPV::GenSlidingWindowFunction(), sc::opencl::PriceMat::GenSlidingWindowFunction(), sc::opencl::OpSYD::GenSlidingWindowFunction(), sc::opencl::OpEffective::GenSlidingWindowFunction(), sc::opencl::OpTbilleq::GenSlidingWindowFunction(), sc::opencl::OpCumprinc::GenSlidingWindowFunction(), sc::opencl::OpAccrintm::GenSlidingWindowFunction(), sc::opencl::OpAccrint::GenSlidingWindowFunction(), sc::opencl::OpYield::GenSlidingWindowFunction(), sc::opencl::OpSLN::GenSlidingWindowFunction(), sc::opencl::OpYieldmat::GenSlidingWindowFunction(), sc::opencl::OpPMT::GenSlidingWindowFunction(), sc::opencl::OpNPV::GenSlidingWindowFunction(), sc::opencl::OpPrice::GenSlidingWindowFunction(), sc::opencl::OpNper::GenSlidingWindowFunction(), sc::opencl::OpOddlprice::GenSlidingWindowFunction(), sc::opencl::OpOddlyield::GenSlidingWindowFunction(), sc::opencl::OpPriceDisc::GenSlidingWindowFunction(), sc::opencl::OpPPMT::GenSlidingWindowFunction(), sc::opencl::OpCoupdaybs::GenSlidingWindowFunction(), sc::opencl::OpCoupdays::GenSlidingWindowFunction(), sc::opencl::OpCoupdaysnc::GenSlidingWindowFunction(), sc::opencl::OpCouppcd::GenSlidingWindowFunction(), sc::opencl::OpCoupncd::GenSlidingWindowFunction(), sc::opencl::OpCoupnum::GenSlidingWindowFunction(), sc::opencl::OpDDB::GenSlidingWindowFunction(), sc::opencl::OpVDB::GenSlidingWindowFunction(), sc::opencl::OpDB::GenSlidingWindowFunction(), sc::opencl::OpAmordegrc::GenSlidingWindowFunction(), sc::opencl::OpAmorlinc::GenSlidingWindowFunction(), sc::opencl::OpReceived::GenSlidingWindowFunction(), sc::opencl::OpYielddisc::GenSlidingWindowFunction(), sc::opencl::OpRate::GenSlidingWindowFunction(), sc::opencl::OpTbillyield::GenSlidingWindowFunction(), sc::opencl::OpPV::GenSlidingWindowFunction(), sc::opencl::OpLogicalBinaryOperator::GenSlidingWindowFunction(), sc::opencl::OpAnd::GenSlidingWindowFunction(), sc::opencl::OpNot::GenSlidingWindowFunction(), sc::opencl::OpIf::GenSlidingWindowFunction(), sc::opencl::OpMathOneArgument::GenSlidingWindowFunction(), sc::opencl::OpMathTwoArguments::GenSlidingWindowFunction(), sc::opencl::OpRound::GenSlidingWindowFunction(), sc::opencl::OpRoundUp::GenSlidingWindowFunction(), sc::opencl::OpRoundDown::GenSlidingWindowFunction(), sc::opencl::OpFloor::GenSlidingWindowFunction(), sc::opencl::OpCeil::GenSlidingWindowFunction(), sc::opencl::OpLog::GenSlidingWindowFunction(), sc::opencl::OpSeriesSum::GenSlidingWindowFunction(), sc::opencl::OpEqual::GenSlidingWindowFunction(), sc::opencl::OpNotEqual::GenSlidingWindowFunction(), sc::opencl::OpStandard::GenSlidingWindowFunction(), sc::opencl::OpExponDist::GenSlidingWindowFunction(), sc::opencl::OpZTest::GenSlidingWindowFunction(), sc::opencl::OpWeibull::GenSlidingWindowFunction(), sc::opencl::OpFdist::GenSlidingWindowFunction(), sc::opencl::OpTDist::GenSlidingWindowFunction(), sc::opencl::OpTInv::GenSlidingWindowFunction(), sc::opencl::OpTTest::GenSlidingWindowFunction(), sc::opencl::OpFisher::GenSlidingWindowFunction(), sc::opencl::OpFisherInv::GenSlidingWindowFunction(), sc::opencl::OpGamma::GenSlidingWindowFunction(), sc::opencl::OpNegbinomdist::GenSlidingWindowFunction(), sc::opencl::OpGammaLn::GenSlidingWindowFunction(), sc::opencl::OpGauss::GenSlidingWindowFunction(), sc::opencl::OpNormdist::GenSlidingWindowFunction(), sc::opencl::OpNormsdist::GenSlidingWindowFunction(), sc::opencl::OpNorminv::GenSlidingWindowFunction(), sc::opencl::OpNormsinv::GenSlidingWindowFunction(), sc::opencl::OpPhi::GenSlidingWindowFunction(), sc::opencl::OpPermut::GenSlidingWindowFunction(), sc::opencl::OpPermutationA::GenSlidingWindowFunction(), sc::opencl::OpConfidence::GenSlidingWindowFunction(), sc::opencl::OpLogInv::GenSlidingWindowFunction(), sc::opencl::OpCritBinom::GenSlidingWindowFunction(), sc::opencl::OpLogNormDist::GenSlidingWindowFunction(), sc::opencl::OpGammaDist::GenSlidingWindowFunction(), sc::opencl::OpHypGeomDist::GenSlidingWindowFunction(), sc::opencl::OpChiDist::GenSlidingWindowFunction(), sc::opencl::OpBinomdist::GenSlidingWindowFunction(), sc::opencl::OpChiSqDist::GenSlidingWindowFunction(), sc::opencl::OpChiSqInv::GenSlidingWindowFunction(), sc::opencl::OpChiInv::GenSlidingWindowFunction(), sc::opencl::OpPoisson::GenSlidingWindowFunction(), sc::opencl::OpGammaInv::GenSlidingWindowFunction(), sc::opencl::OpFInv::GenSlidingWindowFunction(), sc::opencl::OpB::GenSlidingWindowFunction(), sc::opencl::OpBetaDist::GenSlidingWindowFunction(), sc::opencl::OpBetainv::GenSlidingWindowFunction(), and sc::opencl::OpForecast::GenSlidingWindowFunction().

◆ GenerateArg() [2/2]

void sc::opencl::SlidingFunctionBase::GenerateArg ( int  arg,
SubArguments vSubArguments,
outputstream ss,
EmptyArgType  empty = EmptyIsZero,
GenerateArgTypeType  generateType = DoNotGenerateArgType 
)
protected

Definition at line 297 of file opbase.cxx.

References GenerateArg().

◆ GenerateArgWithDefault()

void sc::opencl::SlidingFunctionBase::GenerateArgWithDefault ( const char *  name,
int  arg,
double  def,
SubArguments vSubArguments,
outputstream ss,
EmptyArgType  empty = EmptyIsZero 
)
protected

Definition at line 304 of file opbase.cxx.

References GenerateArg(), and name.

Referenced by sc::opencl::OpIPMT::GenSlidingWindowFunction(), sc::opencl::OpIRR::GenSlidingWindowFunction(), sc::opencl::OpXirr::GenSlidingWindowFunction(), sc::opencl::PriceMat::GenSlidingWindowFunction(), sc::opencl::OpPMT::GenSlidingWindowFunction(), sc::opencl::OpPrice::GenSlidingWindowFunction(), sc::opencl::OpNper::GenSlidingWindowFunction(), sc::opencl::OpOddlprice::GenSlidingWindowFunction(), sc::opencl::OpOddlyield::GenSlidingWindowFunction(), sc::opencl::OpPriceDisc::GenSlidingWindowFunction(), sc::opencl::OpPPMT::GenSlidingWindowFunction(), sc::opencl::OpCoupdaybs::GenSlidingWindowFunction(), sc::opencl::OpCoupdays::GenSlidingWindowFunction(), sc::opencl::OpCoupdaysnc::GenSlidingWindowFunction(), sc::opencl::OpCouppcd::GenSlidingWindowFunction(), sc::opencl::OpCoupncd::GenSlidingWindowFunction(), sc::opencl::OpCoupnum::GenSlidingWindowFunction(), sc::opencl::OpDDB::GenSlidingWindowFunction(), sc::opencl::OpVDB::GenSlidingWindowFunction(), sc::opencl::OpDB::GenSlidingWindowFunction(), sc::opencl::OpAmordegrc::GenSlidingWindowFunction(), sc::opencl::OpAmorlinc::GenSlidingWindowFunction(), sc::opencl::OpReceived::GenSlidingWindowFunction(), sc::opencl::OpRate::GenSlidingWindowFunction(), sc::opencl::OpPV::GenSlidingWindowFunction(), sc::opencl::OpRoundUp::GenSlidingWindowFunction(), sc::opencl::OpRoundDown::GenSlidingWindowFunction(), sc::opencl::OpFloor::GenSlidingWindowFunction(), sc::opencl::OpCeil::GenSlidingWindowFunction(), sc::opencl::OpLog::GenSlidingWindowFunction(), sc::opencl::OpLogInv::GenSlidingWindowFunction(), sc::opencl::OpLogNormDist::GenSlidingWindowFunction(), sc::opencl::OpGammaDist::GenSlidingWindowFunction(), sc::opencl::OpHypGeomDist::GenSlidingWindowFunction(), sc::opencl::OpChiSqDist::GenSlidingWindowFunction(), sc::opencl::OpPoisson::GenSlidingWindowFunction(), sc::opencl::OpBetaDist::GenSlidingWindowFunction(), and sc::opencl::OpBetainv::GenSlidingWindowFunction().

◆ GenerateDoubleVectorLoopHeader()

void sc::opencl::SlidingFunctionBase::GenerateDoubleVectorLoopHeader ( outputstream ss,
const formula::DoubleVectorRefToken pDVR,
const char *  firstElementDiff 
)
staticprotected

◆ GenerateFunctionDeclaration()

void sc::opencl::SlidingFunctionBase::GenerateFunctionDeclaration ( const std::string &  sSymName,
SubArguments vSubArguments,
outputstream ss 
)
protected

Definition at line 563 of file opbase.cxx.

References sc::opencl::OpBase::BinFuncName(), and i.

Referenced by sc::opencl::OpVarStDevBase::GenerateCode(), sc::opencl::OpInterceptSlopeBase::GenerateCode(), sc::opencl::OpPearsonCovarBase::GenerateCode(), sc::opencl::OpBesselj::GenSlidingWindowFunction(), sc::opencl::OpGestep::GenSlidingWindowFunction(), sc::opencl::OpSumX2MY2::GenSlidingWindowFunction(), sc::opencl::OpSumX2PY2::GenSlidingWindowFunction(), sc::opencl::OpSumXMY2::GenSlidingWindowFunction(), sc::opencl::OpRRI::GenSlidingWindowFunction(), sc::opencl::OpNominal::GenSlidingWindowFunction(), sc::opencl::OpDollarde::GenSlidingWindowFunction(), sc::opencl::OpDollarfr::GenSlidingWindowFunction(), sc::opencl::OpDISC::GenSlidingWindowFunction(), sc::opencl::OpINTRATE::GenSlidingWindowFunction(), sc::opencl::OpFV::GenSlidingWindowFunction(), sc::opencl::OpIPMT::GenSlidingWindowFunction(), sc::opencl::OpISPMT::GenSlidingWindowFunction(), sc::opencl::OpPDuration::GenSlidingWindowFunction(), sc::opencl::OpDuration_ADD::GenSlidingWindowFunction(), sc::opencl::OpMDuration::GenSlidingWindowFunction(), sc::opencl::Fvschedule::GenSlidingWindowFunction(), sc::opencl::Cumipmt::GenSlidingWindowFunction(), sc::opencl::OpIRR::GenSlidingWindowFunction(), sc::opencl::OpMIRR::GenSlidingWindowFunction(), sc::opencl::OpXirr::GenSlidingWindowFunction(), sc::opencl::XNPV::GenSlidingWindowFunction(), sc::opencl::PriceMat::GenSlidingWindowFunction(), sc::opencl::OpSYD::GenSlidingWindowFunction(), sc::opencl::OpEffective::GenSlidingWindowFunction(), sc::opencl::OpTbilleq::GenSlidingWindowFunction(), sc::opencl::OpCumprinc::GenSlidingWindowFunction(), sc::opencl::OpAccrintm::GenSlidingWindowFunction(), sc::opencl::OpAccrint::GenSlidingWindowFunction(), sc::opencl::OpYield::GenSlidingWindowFunction(), sc::opencl::OpSLN::GenSlidingWindowFunction(), sc::opencl::OpYieldmat::GenSlidingWindowFunction(), sc::opencl::OpPMT::GenSlidingWindowFunction(), sc::opencl::OpNPV::GenSlidingWindowFunction(), sc::opencl::OpPrice::GenSlidingWindowFunction(), sc::opencl::OpNper::GenSlidingWindowFunction(), sc::opencl::OpOddlprice::GenSlidingWindowFunction(), sc::opencl::OpOddlyield::GenSlidingWindowFunction(), sc::opencl::OpPriceDisc::GenSlidingWindowFunction(), sc::opencl::OpPPMT::GenSlidingWindowFunction(), sc::opencl::OpCoupdaybs::GenSlidingWindowFunction(), sc::opencl::OpCoupdays::GenSlidingWindowFunction(), sc::opencl::OpCoupdaysnc::GenSlidingWindowFunction(), sc::opencl::OpCouppcd::GenSlidingWindowFunction(), sc::opencl::OpCoupncd::GenSlidingWindowFunction(), sc::opencl::OpCoupnum::GenSlidingWindowFunction(), sc::opencl::OpDDB::GenSlidingWindowFunction(), sc::opencl::OpVDB::GenSlidingWindowFunction(), sc::opencl::OpDB::GenSlidingWindowFunction(), sc::opencl::OpAmordegrc::GenSlidingWindowFunction(), sc::opencl::OpAmorlinc::GenSlidingWindowFunction(), sc::opencl::OpReceived::GenSlidingWindowFunction(), sc::opencl::OpYielddisc::GenSlidingWindowFunction(), sc::opencl::OpTbillprice::GenSlidingWindowFunction(), sc::opencl::OpRate::GenSlidingWindowFunction(), sc::opencl::OpTbillyield::GenSlidingWindowFunction(), sc::opencl::OpPV::GenSlidingWindowFunction(), sc::opencl::OpLogicalBinaryOperator::GenSlidingWindowFunction(), sc::opencl::OpAnd::GenSlidingWindowFunction(), sc::opencl::OpNot::GenSlidingWindowFunction(), sc::opencl::OpIf::GenSlidingWindowFunction(), sc::opencl::OpMathOneArgument::GenSlidingWindowFunction(), sc::opencl::OpMathTwoArguments::GenSlidingWindowFunction(), sc::opencl::OpSumIfs::GenSlidingWindowFunction(), sc::opencl::OpRound::GenSlidingWindowFunction(), sc::opencl::OpRoundUp::GenSlidingWindowFunction(), sc::opencl::OpRoundDown::GenSlidingWindowFunction(), sc::opencl::OpSumSQ::GenSlidingWindowFunction(), sc::opencl::OpFloor::GenSlidingWindowFunction(), sc::opencl::OpCeil::GenSlidingWindowFunction(), sc::opencl::OpAverageIfs::GenSlidingWindowFunction(), sc::opencl::OpCountIfs::GenSlidingWindowFunction(), sc::opencl::OpProduct::GenSlidingWindowFunction(), sc::opencl::OpLog::GenSlidingWindowFunction(), sc::opencl::OpAverageIf::GenSlidingWindowFunction(), sc::opencl::OpCountIf::GenSlidingWindowFunction(), sc::opencl::OpSeriesSum::GenSlidingWindowFunction(), sc::opencl::OpSumIf::GenSlidingWindowFunction(), sc::opencl::OpEqual::GenSlidingWindowFunction(), sc::opencl::OpNotEqual::GenSlidingWindowFunction(), sc::opencl::SumOfProduct::GenSlidingWindowFunction(), sc::opencl::OpVLookup::GenSlidingWindowFunction(), sc::opencl::OpStandard::GenSlidingWindowFunction(), sc::opencl::OpExponDist::GenSlidingWindowFunction(), sc::opencl::OpZTest::GenSlidingWindowFunction(), sc::opencl::OpWeibull::GenSlidingWindowFunction(), sc::opencl::OpFdist::GenSlidingWindowFunction(), sc::opencl::OpTDist::GenSlidingWindowFunction(), sc::opencl::OpTInv::GenSlidingWindowFunction(), sc::opencl::OpTTest::GenSlidingWindowFunction(), sc::opencl::OpFisher::GenSlidingWindowFunction(), sc::opencl::OpFisherInv::GenSlidingWindowFunction(), sc::opencl::OpGamma::GenSlidingWindowFunction(), sc::opencl::OpNegbinomdist::GenSlidingWindowFunction(), sc::opencl::OpGammaLn::GenSlidingWindowFunction(), sc::opencl::OpGauss::GenSlidingWindowFunction(), sc::opencl::OpGeoMean::GenSlidingWindowFunction(), sc::opencl::OpHarMean::GenSlidingWindowFunction(), sc::opencl::OpNormdist::GenSlidingWindowFunction(), sc::opencl::OpNormsdist::GenSlidingWindowFunction(), sc::opencl::OpNorminv::GenSlidingWindowFunction(), sc::opencl::OpNormsinv::GenSlidingWindowFunction(), sc::opencl::OpPhi::GenSlidingWindowFunction(), sc::opencl::OpPermut::GenSlidingWindowFunction(), sc::opencl::OpPermutationA::GenSlidingWindowFunction(), sc::opencl::OpConfidence::GenSlidingWindowFunction(), sc::opencl::OpLogInv::GenSlidingWindowFunction(), sc::opencl::OpCritBinom::GenSlidingWindowFunction(), sc::opencl::OpLogNormDist::GenSlidingWindowFunction(), sc::opencl::OpGammaDist::GenSlidingWindowFunction(), sc::opencl::OpHypGeomDist::GenSlidingWindowFunction(), sc::opencl::OpChiDist::GenSlidingWindowFunction(), sc::opencl::OpBinomdist::GenSlidingWindowFunction(), sc::opencl::OpChiSqDist::GenSlidingWindowFunction(), sc::opencl::OpChiSqInv::GenSlidingWindowFunction(), sc::opencl::OpChiInv::GenSlidingWindowFunction(), sc::opencl::OpPoisson::GenSlidingWindowFunction(), sc::opencl::OpGammaInv::GenSlidingWindowFunction(), sc::opencl::OpFInv::GenSlidingWindowFunction(), sc::opencl::OpFTest::GenSlidingWindowFunction(), sc::opencl::OpDevSq::GenSlidingWindowFunction(), sc::opencl::OpB::GenSlidingWindowFunction(), sc::opencl::OpBetaDist::GenSlidingWindowFunction(), sc::opencl::OpBetainv::GenSlidingWindowFunction(), sc::opencl::OpAveDev::GenSlidingWindowFunction(), sc::opencl::OpCovar::GenSlidingWindowFunction(), sc::opencl::OpForecast::GenSlidingWindowFunction(), sc::opencl::Normal::GenSlidingWindowFunction(), and sc::opencl::Reduction::GenSlidingWindowFunction().

◆ GenerateRangeArg() [1/2]

void sc::opencl::SlidingFunctionBase::GenerateRangeArg ( int  arg,
SubArguments vSubArguments,
outputstream ss,
EmptyArgType  empty,
const char *  code 
)
staticprotected

◆ GenerateRangeArg() [2/2]

void sc::opencl::SlidingFunctionBase::GenerateRangeArg ( int  arg1,
int  arg2,
SubArguments vSubArguments,
outputstream ss,
EmptyArgType  empty,
const char *  code,
const char *  firstElementDiff = nullptr 
)
protected

◆ GenerateRangeArgElement()

void sc::opencl::SlidingFunctionBase::GenerateRangeArgElement ( const char *  name,
int  arg,
const char *  element,
SubArguments vSubArguments,
outputstream ss,
EmptyArgType  empty 
)
staticprotected

◆ GenerateRangeArgPair()

void sc::opencl::SlidingFunctionBase::GenerateRangeArgPair ( int  arg1,
int  arg2,
SubArguments vSubArguments,
outputstream ss,
EmptyArgType  empty,
const char *  code,
const char *  firstElementDiff = nullptr 
)
staticprotected

◆ GenerateRangeArgs() [1/2]

void sc::opencl::SlidingFunctionBase::GenerateRangeArgs ( int  firstArg,
int  lastArg,
SubArguments vSubArguments,
outputstream ss,
EmptyArgType  empty,
const char *  code 
)
staticprotected

◆ GenerateRangeArgs() [2/2]

void sc::opencl::SlidingFunctionBase::GenerateRangeArgs ( SubArguments vSubArguments,
outputstream ss,
EmptyArgType  empty,
const char *  code 
)
staticprotected

Definition at line 408 of file opbase.cxx.

References code, and GenerateRangeArgs().

◆ GenSlidingWindowFunction()

virtual void sc::opencl::SlidingFunctionBase::GenSlidingWindowFunction ( outputstream ,
const std::string &  ,
SubArguments  
)
pure virtual

Implemented 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::Cumipmt, sc::opencl::OpIRR, sc::opencl::OpMIRR, sc::opencl::OpXirr, sc::opencl::XNPV, sc::opencl::PriceMat, sc::opencl::OpSYD, sc::opencl::OpEffective, sc::opencl::OpTbilleq, sc::opencl::OpCumprinc, sc::opencl::OpAccrintm, sc::opencl::OpAccrint, sc::opencl::OpYield, sc::opencl::OpSLN, 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::OpRate, sc::opencl::OpTbillyield, sc::opencl::OpPV, sc::opencl::OpLogicalBinaryOperator, sc::opencl::OpAnd, sc::opencl::OpNot, sc::opencl::OpIf, sc::opencl::OpMathOneArgument, sc::opencl::OpMathTwoArguments, sc::opencl::OpSumIfs, sc::opencl::OpRound, sc::opencl::OpRoundUp, sc::opencl::OpRoundDown, sc::opencl::OpSumSQ, sc::opencl::OpFloor, sc::opencl::OpCeil, sc::opencl::OpAverageIfs, sc::opencl::OpCountIfs, sc::opencl::OpProduct, sc::opencl::OpLog, sc::opencl::OpAverageIf, sc::opencl::OpCountIf, sc::opencl::OpSeriesSum, sc::opencl::OpSumIf, sc::opencl::OpEqual, sc::opencl::OpNotEqual, sc::opencl::SumOfProduct, 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::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::Normal, sc::opencl::Reduction, sc::opencl::OpInterceptSlopeBase, and sc::opencl::OpPearsonCovarBase.


The documentation for this class was generated from the following files: