package owl-base
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page
OCaml Scientific and Engineering Computing - Base
Install
dune-project
Dependency
Authors
Maintainers
Sources
owl-1.0.1.tbz
sha256=72ca9f6edd302fdfa16c7559cedac7ac2c885466a367e17ea1ea8807b2dd13ef
sha512=72a60fb5b0ee4eea6cd8012aab9a492a32483feb218c1b6b4b913e0af985fba288113164e5af1129c0b5fffdb49d7b9aded6647238626b6561dc7125fdeb4eb5
doc/owl-base/Owl_base_maths/index.html
Module Owl_base_maths
Maths: fundamental and advanced mathematical functions.
Basic functions
Error functions
Helper functions
``is_inf x`` returns ``true`` if ``x`` is ``infinity`` or ``neg_infinity``.
``is_pow2 x`` return ``true`` if ``x`` is integer power of 2, e.g. 32, 64, etc.
``same_sign x y`` returns ``true`` if ``x`` and ``y`` have the same sign, otherwise it returns ``false``. Positive and negative zeros are special cases and always returns ``true``.
``is_simplex x`` checks whether ``x`` is simplex. In other words, :math:`\sum_i^K x_i = 1` and :math:`x_i \ge 0, \forall x_i \in 1,K`.
``is_prime x`` returns ``true`` if ``x`` is a prime number. The function is deterministic for all numbers representable by an int. The function uses the Rabin–Miller primality test.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page