HTML automatically generated with rman
Table of Contents

Name

tabint - integrate a sorted table

Synopsis

tabint [parameter=value]

Description

tabint integrates a function Y=F(X) that is defined by a set of (X,Y) points obtained via an ASCII table. The function can either be resampled using a spline interpolation, or directly summed.

Parameters

The following parameters are recognized in any order if the keyword is also given:
in=
Input table file. No default.
xcol=
Column with X coordinate. The X coordinates must be sorted in increasing X. Default: 1
ycol=
Column with Y coordinate of function [Default: 2]
step=
Integration step if resampling used. By default the datapoints themselves are used, but by setting an integration step here, the function is resampled using a spline and numerically integrated that way.
normalize=
Normalize integral. If set, the integral is normalized by the integration interval. Default: f

Examples


 % nemoinp 0:1:0.1 | tabmath - - ’%1*%1’ | tabint -
 0.335
 % nemoinp 0:1:0.1 | tabmath - - ’%1*%1’ | tabint - step=0.01
 0.33335
See Alsotabfilter(1NEMO), tabmath(1NEMO), table(5NEMO) Filessrc/kernel/tab
AuthorPeter Teuben Update History
13-May-05    V0.1 Created    PJT


Table of Contents