KJB
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Namespaces | Functions
l_algorithm.h File Reference
#include <l_cpp/l_functors.h>
#include <l_cpp/l_std_parallel.h>
#include <l_cpp/l_exception.h>
#include <map>
#include <iterator>
#include <algorithm>
#include <assert.h>
#include <cfloat>
#include <vector>
#include <utility>
#include <boost/concept_check.hpp>

Go to the source code of this file.

Namespaces

 kjb
 Classes and functions for dealing with trajectory files.
 
 kjb_parallel
 

Functions

template<class Iterator , class Real >
std::iterator_traits< Iterator >
::value_type 
kjb::lerp (Iterator begin, Iterator end, Real x)
 
template<class IIterator , class OIterator , class QueryType >
std::iterator_traits
< OIterator >::value_type 
kjb::lerp (IIterator ibegin, IIterator iend, OIterator obegin, const QueryType &query_point)
 
template<class IIterator , class OIterator , class I2Iterator , class O2Iterator >
void kjb::ordered_lerp (IIterator ibegin, IIterator iend, OIterator obegin, I2Iterator i2begin, I2Iterator i2end, O2Iterator o2begin)
 
template<class Key_type , class Value_type , class Query_type >
Value_type kjb::lerp (const std::map< Key_type, Value_type > &piecewise_function, const Query_type &query_point)
 
template<class ForwardIterator >
void kjb::linspace (double min, double max, size_t n, ForwardIterator begin, bool endpoint=true)
 
template<class ForwardIterator >
void kjb::logspace (double min, double max, size_t n, ForwardIterator begin)
 
template<class InType , class OutIterator , class UnaryOperator >
void kjb::linspace (const InType &lower, const InType &upper, size_t N, const OutIterator &out_begin, const UnaryOperator &f)
 
template<class InType , class OutIterator >
void kjb::linspace (InType min, InType max, size_t n, OutIterator begin)
 
template<class InType , class OutIterator , class UnaryOperator >
void kjb_parallel::linspace (const InType &lower, const InType &upper, size_t N, const OutIterator &out_begin, const UnaryOperator &f)