HepLib
Static Public Member Functions | List of all members
HepLib::lstHelper Class Reference

class as lst Helper More...

#include <BASIC.h>

Static Public Member Functions

template<typename F >
static void map_inplace (lst &m, F f)
 
template<typename F >
static lst map (const lst &m, F f)
 
static ex sum (lst m)
 sum all elements in the list More...
 

Detailed Description

class as lst Helper

Definition at line 255 of file BASIC.h.

Member Function Documentation

◆ map()

template<typename F >
lst HepLib::lstHelper::map ( const lst &  m,
f 
)
static

Definition at line 270 of file BASIC.h.

◆ map_inplace()

template<typename F >
void HepLib::lstHelper::map_inplace ( lst &  m,
f 
)
static

Definition at line 263 of file BASIC.h.

◆ sum()

ex HepLib::lstHelper::sum ( lst  m)
static

sum all elements in the list

Parameters
mthe input lst
Returns
return the sum

Definition at line 514 of file BASIC.cpp.


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