Skip to content

Latest commit

 

History

History
37 lines (25 loc) · 873 Bytes

nearint_operations.rst

File metadata and controls

37 lines (25 loc) · 873 Bytes

Nearest integer floating point operations

xtensor provides the following rounding operations for xexpressions:

Defined in xtensor/xmath.hpp

.. doxygenfunction:: ceil(E&&)
   :project: xtensor

.. doxygenfunction:: floor(E&&)
   :project: xtensor

.. doxygenfunction:: trunc(E&&)
   :project: xtensor

.. doxygenfunction:: round(E&&)
   :project: xtensor

.. doxygenfunction:: nearbyint(E&&)
   :project: xtensor

.. doxygenfunction:: rint(E&&)
   :project: xtensor