STIR  6.2.0
Classes | Namespaces | Functions
test_linear_regression.cxx File Reference

A simple programme to test the stir::linear_regression function. More...

#include "stir/linear_regression.h"
#include "stir/RunTests.h"
#include "stir/ArrayFunction.h"
#include <fstream>
#include <iostream>

Classes

class  stir::linear_regressionTests
 A simple class to test the linear_regression function. More...
 

Namespaces

 stir
 Namespace for the STIR library (and some/most of its applications)
 

Functions

int main (int argc, char **argv)
 

Detailed Description

A simple programme to test the stir::linear_regression function.

Author
Kris Thielemans
PARAPET project

To run the test, you should use a command line argument with the name of a file. This should contain a number of test cases for the fit. See linear_regressionTests for file contents.