Toast++
1.0.2 (r.539)
Forward and inverse modelling in optical tomography
Main Page
Related Pages
Modules
Classes
Files
File List
libmath
util.h
1
// -*-C++-*-
2
// ============================================================================
3
// TOAST (c) Martin Schweiger 2000
4
// Library: libmath
5
// File: util
6
//
7
// General-purpose utility routines
8
// ============================================================================
9
10
#ifndef __UTIL_H
11
#define __UTIL_H
12
13
#include "vector.h"
14
15
// string and file parsing auxiliary routines
16
char
*ToupperString (
char
*str);
17
void
SplitEqString (
char
*str,
char
**cat,
char
**val);
18
19
// ============================================================================
20
// Write an image (stored in 1-D data array 'img') of dimension xdim,ydim
21
// to a PPM pixmap file. Image is scaled to range scalemin-scalemax.
22
// If scalemin and/or scalemax is NULL, then autscaling is used.
23
24
void
WritePPM (
const
RVector
&img,
int
xdim,
int
ydim,
25
double
*scalemin,
double
*scalemax,
char
*fname);
26
27
#endif // !__UTIL_H
TVector
Templated vector class.
Definition:
vector.h:39
Generated on Tue Sep 2 2014 17:14:26 for Toast++ by
1.8.6