vspline 1.1.0
Generic C++11 Code for Uniform B-Splines
Functions | Variables
use_map.cc File Reference

test program for code in map.h More...

#include <iostream>
#include <iomanip>
#include <assert.h>
#include <vspline/map.h>

Go to the source code of this file.

Functions

template<class gate_type >
void test (gate_type gx, double x, const char *mode)
 
int main (int argc, char *argv[])
 

Variables

const int VSIZE = vspline::vector_traits < double > :: size
 

Detailed Description

test program for code in map.h

The program creates one gate type each of the types provided in map.h over the interval [0,1]. Then it queries a value and uses the gates on this value in turn, printing out the result.

Definition in file use_map.cc.

Function Documentation

◆ main()

int main ( int  argc,
char *  argv[] 
)

Definition at line 87 of file use_map.cc.

◆ test()

template<class gate_type >
void test ( gate_type  gx,
double  x,
const char *  mode 
)

Definition at line 57 of file use_map.cc.

Variable Documentation

◆ VSIZE

const int VSIZE = vspline::vector_traits < double > :: size

Definition at line 54 of file use_map.cc.