nterms: Number of terms in a freealg object

ntermsR Documentation

Number of terms in a freealg object

Description

Number of terms in a freealg object; number of coefficients

Usage

nterms(x)

Arguments

x

Freealg object

Value

Returns a non-negative integer

Author(s)

Robin K. S. Hankin

Examples

(a <- freealg(list(1:3,4:7,1:10),1:3))
nterms(a)
nterms(a+1)
nterms(a*0)

RobinHankin/freealg documentation built on Dec. 24, 2024, 3:16 a.m.