Discrete Math VIs

Owning Palette: Elementary & Special Functions and VIs

Requires: Full Development System. This topic might not match its corresponding palette in LabVIEW depending on your operating system, licensed product(s), and target.

Use this class of elementary functions to compute discrete math functions for areas such as combinatorics and number theory.

The VIs on this palette can return mathematics error codes.

Palette ObjectDescription
(Riemann) Zeta FunctionComputes the zeta function.
Binomial CoefficientCalculates the binomial coefficient for nonnegative integer values of n and k.
Check PrimeChecks whether a number is a prime number.
Continued FractionEvaluates the continued fraction of two sequences (a[0], a[1], …, a[n]) and (b[0], b[1], …, b[n]).
FactorialComputes the factorial of n.
GcdComputes the greatest common divisor of the input values.
LcmComputes the least common multiple of the input values.
PermuteComputes the number of ways to obtain an ordered subset of k elements from a set of n elements.
Prime FactorComputes the prime factorization of an integer.