drop: Drop redundant information

dropR Documentation

Drop redundant information

Description

Coerce constant free algebra objects to numeric

Usage

drop(x)

Arguments

x

Free algebra object

Details

If its argument is a constant freealg object, coerce to numeric. Modelled on base::drop().

Note

A few functions in the package take drop as an argument which, if TRUE, means that the function returns a dropped value.

Author(s)

Robin K. S. Hankin

See Also

constant,coeffs

Examples

drop(linear(1:5))
drop(4+linear(1:5)*0)

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