Vector Ceil (CEIL)
Summary
Element-wise ceiling (round up to the nearest integer) of the input series.
Formula
outReal[i] = ceil(inReal[i])
Inputs
inReal— Input values
Outputs
outReal— Each input rounded up to nearest integer
Properties
Numerical Stability: Start-Independent
| ☐ Overlap Input |
| ✅ Independent Y-Axis i |
| ☐ Candlestick |
| ☐ Can Output NaN or ±Inf |
| ☐ Identity at Period 1 |
Implementation
TA-Lib Definition: ceil.c · ceil.yaml
| Native | File |
|---|---|
| C | ta_CEIL.c |
| Rust | ceil.rs |
| Java | Core_CEIL.java |
TA-Lib is also available for Python, R and more using a wrapper.
Aliases
Vector Ceil, Ceiling
See Also
References
- Wikipedia, Floor and ceiling functions: en.wikipedia.org/wiki/Floor_and_ceiling_functions