3#include "CLHEP/GenericFunctions/FunctionDirectProduct.hh"
13_m(arg1->dimensionality()),
14_n(arg2->dimensionality())
20_arg1(right._arg1->clone()),
21_arg2(right._arg2->clone()),
41 <<
"Warning: Direct product function/argument dimension mismatch"
46 for (
unsigned int i = 0; i<_m;i++) {
49 for (
unsigned int j = 0;j<_n;j++) {
52 return (*_arg1)(x1) * (*_arg2)(x2);
62 <<
"Warning. direct product called with scalar argument"
71 assert (index<(_m+_n));
#define FUNCTION_OBJECT_IMP(classname)
virtual Derivative partial(unsigned int) const
unsigned int dimension() const
Derivative partial(unsigned int) const override
virtual double operator()(double argument) const override
virtual ~FunctionDirectProduct()
FunctionDirectProduct(const AbsFunction *arg1, const AbsFunction *arg2)
virtual unsigned int dimensionality() const override