BOOTSTRAP (klibm) functions


LIBRARY ROUTINE

kintercept - interpolate the intercept

LIBRARY CALL

kintercept(x0, x1, y0, y1, y2)

INPUT

OUTPUT

none

RETURN VALUE

the intercept point

DESCRIPTION

The following macro is used to interpolate the intercept from a vector described by the two points (x0,y0) & (x1,y1) and a value along the vector, y2, the macro will return the corresponding x2 value. This is a macro, so any data type is supported.

ADDITIONAL INFORMATION

none

EXAMPLES

none

SIDE EFFECTS

none

RESTRICTIONS

none

MODIFICATION

none

FILES

$BOOTSTRAP/include/klibm/klibm.h

SEE ALSO

klibm(3)

COPYRIGHT

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