antioch-0.4.0
Classes | Namespaces | Functions
valarray_utils.h File Reference
#include "antioch/metaprogramming.h"
#include <cmath>
#include <iostream>
#include <valarray>

Go to the source code of this file.

Classes

struct  Antioch::return_auto< T, typename Antioch::enable_if_c< is_valarray< T >::value, void >::type >
 
struct  Antioch::has_size< std::valarray< T > >
 
struct  Antioch::size_type< std::valarray< T > >
 
struct  Antioch::value_type< std::valarray< T > >
 
struct  Antioch::raw_value_type< std::valarray< T > >
 

Namespaces

 std
 
 Antioch
 The parameters are reduced parameters.
 

Functions

template<typename T >
Antioch::enable_if_c
< Antioch::is_valarray< T >
::value, std::ostream & >
::type 
std::operator<< (std::ostream &output, const T &a)
 
template<typename T , typename T2 >
Antioch::enable_if_c
< Antioch::is_valarray< T >
::value, typename
Antioch::state_type< T >::type >
::type 
std::pow (const T &in, const T2 &n)
 
template<typename T >
std::valarray< T > std::max (const std::valarray< T > &a, const std::valarray< T > &b)
 
template<typename T >
std::valarray< T > std::min (const std::valarray< T > &a, const std::valarray< T > &b)
 
template<typename T >
Antioch::max (const std::valarray< T > &in)
 
template<typename T >
Antioch::min (const std::valarray< T > &in)
 
template<typename T >
std::valarray< T > Antioch::zero_clone (const std::valarray< T > &example)
 
template<typename T1 , typename T2 >
void Antioch::zero_clone (std::valarray< T1 > &output, const std::valarray< T2 > &example)
 
template<typename T , typename Scalar >
std::valarray< T > Antioch::constant_clone (const std::valarray< T > &example, const Scalar &value)
 
template<typename T >
void Antioch::init_clone (std::valarray< T > &output, const std::valarray< T > &example)
 
template<typename T >
std::valarray< T > Antioch::if_else (const std::valarray< bool > &condition, const std::valarray< T > &if_true, const std::valarray< T > &if_false)
 
template<typename VectorT >
Antioch::enable_if_c
< Antioch::is_valarray
< typename value_type< VectorT >
::type >::value, typename
value_type< VectorT >::type >
::type 
Antioch::eval_index (const VectorT &vec, const std::valarray< unsigned int > &index)
 

Generated on Thu Jul 7 2016 11:09:47 for antioch-0.4.0 by  doxygen 1.8.8