:orphan: .. _examples: ======== Examples ======== These are examples of how APyTypes can be used. .. raw:: html
.. thumbnail-parent-div-open .. raw:: html
.. only:: html .. image:: /examples/images/thumb/sphx_glr_apyfloat_thumb.png :alt: :doc:`/examples/apyfloat` .. raw:: html
APyFloat
.. raw:: html
.. only:: html .. image:: /examples/images/thumb/sphx_glr_apyfixed_thumb.png :alt: :doc:`/examples/apyfixed` .. raw:: html
APyFixed
.. raw:: html
.. only:: html .. image:: /examples/images/thumb/sphx_glr_numpy_integration_thumb.png :alt: :doc:`/examples/numpy_integration` .. raw:: html
NumPy integration
.. raw:: html
.. only:: html .. image:: /examples/images/thumb/sphx_glr_approximate_multiplication_thumb.png :alt: :doc:`/examples/approximate_multiplication` .. raw:: html
Approximate floating-point multiplication
.. raw:: html
.. only:: html .. image:: /examples/images/thumb/sphx_glr_ode_solver_thumb.png :alt: :doc:`/examples/ode_solver` .. raw:: html
Floating-point ODE solver
.. raw:: html
.. only:: html .. image:: /examples/images/thumb/sphx_glr_vectorrotation_thumb.png :alt: :doc:`/examples/vectorrotation` .. raw:: html
Fixed-point vector rotation
.. raw:: html
.. only:: html .. image:: /examples/images/thumb/sphx_glr_reciprocal_lookup_thumb.png :alt: :doc:`/examples/reciprocal_lookup` .. raw:: html
Reciprocal lookup table
.. raw:: html
.. only:: html .. image:: /examples/images/thumb/sphx_glr_test_fp8_mul_thumb.png :alt: :doc:`/examples/test_fp8_mul` .. raw:: html
cocotb integration
.. thumbnail-parent-div-close .. raw:: html
.. toctree:: :hidden: /examples/apyfloat /examples/apyfixed /examples/numpy_integration /examples/approximate_multiplication /examples/ode_solver /examples/vectorrotation /examples/reciprocal_lookup /examples/test_fp8_mul .. only:: html .. container:: sphx-glr-footer sphx-glr-footer-gallery .. container:: sphx-glr-download sphx-glr-download-python :download:`Download all examples in Python source code: examples_python.zip ` .. container:: sphx-glr-download sphx-glr-download-jupyter :download:`Download all examples in Jupyter notebooks: examples_jupyter.zip ` .. only:: html .. rst-class:: sphx-glr-signature `Gallery generated by Sphinx-Gallery `_