.. # split from OESystemFunctions.rst:357

.. include:: ../substitutions

.. oe:namespace:: OESystem

.. meta::
   :keywords: OEBitVectorNot

.. oe:function:: OEBitVectorNot

   .. oe:language:: c++ java csharp

      .. oe:api::

         OEBitVector OEBitVectorNot(const OEBitVector& bv)

   .. oe:language:: python

      .. oe:api:: python

         OEBitVectorNot(bv: OEBitVector) -> OEBitVector

   Returns the boolean negation (or 'inversion') of an
   :ref:`OEBitVector <OESystem_OEBitVector>`.
   The result will have the same number of bits as the argument.

   .. oe:language:: c++

      This function is identical to
      the ``operator~`` operation of two
      :oe:cls:`OEBitVectors<OESystem::OEBitVector>`.


