type/radix¶

radix type¶

Calling sequence:¶

$\operatorname{type}(b, {\mathit radix})$

Parameters:¶

  • $b$, a Maple expression

Description:¶

  • $\operatorname{type}(b, {\mathit radix})$ returns true iff $b$ is an integer not smaller than $2$.
  • By radix, we understand the basis of a familiar numeration system, like the binary system with $b = 2$, or the decimal system with $b = 10$.

Example:¶

In [1]:
libname := libname, FileTools:-JoinPath(["maple","lib","dcfun.mla"],base=homedir):
In [2]:
 with(dcfun):
Out[2]:

A radix is merely the base of a classical numeration system.

In [3]:
 type(10, 'radix');
Out[3]:

$$\mathit{true}$$