#include <petscmath.h> type clip PetscClipInterval(type x,type a,type b)Not Collective
| x | - value to use if within interval (a,b) | |
| a | - lower end of interval | |
| b | - upper end of interval |
Notes: type can be integer or floating point value
Level:beginner
Location:include/petscmath.h
Index of all Sys routines
Table of Contents for all manual pages
Index of all manual pages