Developer documentation

loops_vctops.hpp File Reference
#include <iostream>
#include <stdlib.h>
#include <realroot/system_epsilon.hpp>

Go to the source code of this file.

Namespaces

 mmx
 
 mmx::vctops
 

Functions

template<typename real_t >
void mmx::vctops::scsub (const real_t &sc, real_t *data, int sz, int st=1)
 
template<typename real_t >
void mmx::vctops::scsub (const real_t &sc, real_t *data, const real_t *src, int sz, int sta=1, int stb=1)
 
template<typename real_t >
void mmx::vctops::accscmul (real_t *dst, const real_t &sc, real_t const *_src_, int sz, int stdst=1, int stsrc=1)
 
template<typename real_t >
void mmx::vctops::scmul (const real_t &sc, real_t *data, int sz, int st=1)
 
template<typename real_t >
void mmx::vctops::scdiv (const real_t &sc, real_t *data, int sz, int st=1)
 
template<typename real_t >
real_t mmx::vctops::dotprod (const real_t *a, const real_t *b, int sz, int sta=1, int stb=1)
 
template<typename real_t >
void mmx::vctops::padd (real_t *a, const real_t *b, unsigned sz, int sta=1, int stb=1)
 
template<typename real_t >
void mmx::vctops::psub (real_t *a, const real_t *b, unsigned sz, int sta=1, int stb=1)
 
template<typename real_t >
void mmx::vctops::pmul (real_t *a, const real_t *b, unsigned sz, int sta=1, int stb=1)
 
template<typename real_t >
void mmx::vctops::pdiv (real_t *a, const real_t *b, unsigned sz, int sta=1, int stb=1)
 
template<typename real0 , typename real_t >
void mmx::vctops::minmaxu (real0 &min, real0 &max, real_t *src, int sz, int st=1)
 
template<typename real0 , typename real_t >
void mmx::vctops::minmax (real0 &min, real0 &max, real_t *src, int sz, int st=1)
 
template<typename real_t >
real_t mmx::vctops::min (real_t const *src, int sz, int st=1)
 
template<typename real_t >
real_t mmx::vctops::max (real_t const *src, int sz, int st=1)
 
template<typename T >
void mmx::vctops::urand (T *data, unsigned sz, const T &a, const T &b, int st=1)
 
template<typename real_t >
real_t mmx::vctops::mean (real_t const *const data, int sz, int st)
 
template<typename real_t >
std::ostream & mmx::vctops::print (real_t const *const data, unsigned sz, int st=1, std::ostream &out=std::cout)
 
template<typename real_t >
unsigned mmx::vctops::sgncnt (real_t const *b, unsigned sz, int st=1)
 
template<typename real_t >
bool mmx::vctops::sgnchg (real_t const *const b, unsigned sz, int st=1)
 
template<typename real_t >
real_t mmx::vctops::distance2 (real_t const *const a, real_t const *const b, unsigned sz, int sta, int stb)
 
template<typename real_t >
real_t mmx::vctops::delta_max (real_t *a, real_t *b, unsigned sz, int st=1)
 
template<typename real_t >
int mmx::vctops::delta_max_index (real_t *a, real_t *b, unsigned sz, int st=1)
 
template<typename real_t >
real_t mmx::vctops::sum (real_t const *const src, unsigned sz, int st=1)
 
template<typename real_t >
unsigned mmx::vctops::set_conversion (real_t *src, unsigned sz, const real_t &epsilon=(real_t) 0)
 
template<typename real_t >
void mmx::vctops::scale (real_t *src, unsigned sz, const real_t &sc=(real_t)(1.0), int st=1)
 
template<typename U , typename Y , typename Z >
void mmx::vctops::convolution (U *dst, Y const *a, Z const *b, unsigned sza, unsigned szb, int sta=1, int stb=1, int stout=1)
 
template<typename U , typename Y , typename Z >
void mmx::vctops::self_convolution (U *dst, Y const *a, unsigned sza, int sta=1, int stout=1)
 
Home