MCL
A C++ library mirroring some of the most common Matlab functions.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Namespaces | Functions
basicop.h File Reference
#include "mcltypes.h"
#include "pointwiseop.h"
#include <vector>
#include <limits>

Go to the source code of this file.

Namespaces

namespace  mcl
 

Functions

template<class T >
Int mcl::MinIndex (const std::vector< T > &input) noexcept
 
template<class T >
mcl::Min (const std::vector< T > &input)
 
template<class T >
Int mcl::MaxIndex (const std::vector< T > &input) noexcept
 
template<>
Int mcl::MaxIndex< UInt > (const std::vector< UInt > &input) noexcept
 
template<class T >
mcl::Max (const std::vector< T > &input) noexcept
 
std::vector< UInt > mcl::FindPeaksIndexes (const std::vector< Real > &vector, const Real min_peak_height=std::numeric_limits< Real >::min())
 
std::vector< Real > mcl::FindPeaks (const std::vector< Real > &vector, const Real min_peak_height=std::numeric_limits< Real >::min())
 
bool mcl::BasicOpTest ()