BOOTSTRAP (klibm) functions


LIBRARY ROUTINE

kgen_linear - generate a piecewise linear data set.

LIBRARY CALL

int kgen_linear(
   int    num,
   double sample,
   double minimum,
   double maximum,
   double period,
   double rise,
   double fall,
   double width,
   double *vect)

INPUT

OUTPUT

RETURN VALUE

TRUE (1) on success, FALSE (0) otherwise

DESCRIPTION

Generates a one dimensional "piecewise linear" data set. A piecewise linear data set is a data set composed of connected end-to-end lines. By properly setting arguments to this routine, you can generate impulse data (spikes), triangular waves, sawtooth waves, reverse sawtooth waves, and square waves.

ADDITIONAL INFORMATION

none

EXAMPLES

none

SIDE EFFECTS

none

RESTRICTIONS

none

MODIFICATION

none

FILES

$BOOTSTRAP/objects/library/klibm/src/signal.c

SEE ALSO

klibm(3)

COPYRIGHT

Copyright (C) 1993 - 1997, Khoral Research, Inc. ("KRI") All rights reserved.