# Is homomorphic division implemented?

**URL:** <https://openfhe.discourse.group/t/is-homomorphic-division-implemented/265>\
**Category:** FHE Questions\
**Tags:** questions\
**Created:** [December 5, 2022, 9:43am UTC](https://openfhe.discourse.group/t/is-homomorphic-division-implemented/265 "2022-12-05T09:43:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![hamm](https://avatars.discourse-cdn.com/v4/letter/h/48db29/32.png) [@hamm](https://openfhe.discourse.group/u/hamm)\
**Post date:** [December 5, 2022, 9:43am UTC](https://openfhe.discourse.group/t/is-homomorphic-division-implemented/265/1 "2022-12-05T09:43:00Z")

</div>

Does openFHE encapsulate the implementation of homomorphic division?

---

<div class="post-metadata">

**Author:** ![ypolyakov](https://yyz1.discourse-cdn.com/flex031/user_avatar/openfhe.discourse.group/ypolyakov/32/47_2.png) [@ypolyakov](https://openfhe.discourse.group/u/ypolyakov)\
**Post date:** [December 5, 2022, 3:21pm UTC](https://openfhe.discourse.group/t/is-homomorphic-division-implemented/265/2 "2022-12-05T15:21:59Z")

</div>

Hi @hamm ,

Not sure what you mean by `encapsulation`. There is currently an implementation of division using Chebyshev interpolation (written as 1/x, where x is between 1 and large `bound`; x cannot be zero) for the supplied range and polynomial degree. The implementation will be similar to evaluation of other functions using Chebyshev interpolation; see [openfhe-development/function-evaluation.cpp at main · openfheorg/openfhe-development · GitHub](https://github.com/openfheorg/openfhe-development/blob/main/src/pke/examples/function-evaluation.cpp) for more details.
