solvelib::isFinite

Test whether a set is finite

MuPAD® notebooks will be removed in a future release. Use MATLAB® live scripts instead.

MATLAB live scripts support most MuPAD functionality, though there are some differences. For more information, see Convert MuPAD Notebooks to MATLAB Live Scripts.

Syntax

solvelib::isFinite(S)

Description

solvelib::isFinite(S) returns TRUE, FALSE, or UNKNOWN depending on whether S is finite, infinite, or the question could not be settled.

S may be a set of any type; see solve for an enumeration of the various types of sets.

Examples

Example 1

A DOM_SET is always finite:

solvelib::isFinite({2,5})

Example 2

The set of integers is infinite.

solvelib::isFinite(Z_)

Parameters

S

Any set

Return Values

Boolean value

Overloaded By

S

See Also

MuPAD Functions