class as lst Helper
More...
#include <BASIC.h>
|
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...
|
|
class as lst Helper
Definition at line 255 of file BASIC.h.
◆ map()
template<typename F >
lst HepLib::lstHelper::map |
( |
const lst & |
m, |
|
|
F |
f |
|
) |
| |
|
static |
◆ map_inplace()
template<typename F >
void HepLib::lstHelper::map_inplace |
( |
lst & |
m, |
|
|
F |
f |
|
) |
| |
|
static |
◆ sum()
ex HepLib::lstHelper::sum |
( |
lst |
m | ) |
|
|
static |
sum all elements in the list
- Parameters
-
- Returns
- return the sum
Definition at line 514 of file BASIC.cpp.
The documentation for this class was generated from the following files:
- /home/runner/work/HepLib/HepLib/BASIC/BASIC.h
- /home/runner/work/HepLib/HepLib/BASIC/BASIC.cpp