1 #ifndef __JTOOLS__JTRANSFORMABLEMULTIFUNCTION__
2 #define __JTOOLS__JTRANSFORMABLEMULTIFUNCTION__
36 template<
class JFunction_t,
41 public JTransformable<JMapLength<JMaplist_t>::value, typename JFunction_t::argument_type>
124 template<
class __JFunction_t,
class __JMaplist_t,
class __JDistance_t>
138 template<
class JHistogram_t,
class __JMaplist_t,
class __JDistance_t>
154 template<
class JMultiFunction_t>
155 void add(
const JMultiFunction_t& input)
157 for (
super_iterator i = this->super_begin(); i != this->super_end(); ++i) {
169 for (
typename function_type::iterator
j =
f1.begin();
j !=
f1.end(); ++
j) {
189 template<
class ...Args>
210 const result_type
y = multifunction_type::evaluate(this->
buffer.
data());
224 for (
super_iterator i = this->super_begin(); i != this->super_end(); ++i) {
232 function.transform(get);
233 function.transform(put);
252 return object.transformer->read(in);
265 out << static_cast<const multifunction_type&>(
object);
267 return object.transformer->write(out);
282 class JHistogramMaplist_t,
283 class JHistogramDistance_t,
285 class JFunctionMaplist_t,
286 class JFunctionDistance_t>
Interface for binary input.
Interface for binary output.
The template JSharedPointer class can be used to share a pointer to an object.
const JPolynome f1(1.0, 2.0, 3.0)
Function.
JAbstractHistogram< double > JHistogram_t
Type definition for scan along axis.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
double getValue(const double x) const
Function value.