as.cyclotomic: Coercion to a 'cyclotomic' object

as.cyclotomicR Documentation

Coercion to a 'cyclotomic' object

Description

Coercion to a 'cyclotomic' object

Usage

## S4 method for signature 'character'
as.cyclotomic(x)

## S4 method for signature 'cyclotomic'
as.cyclotomic(x)

## S4 method for signature 'numeric'
as.cyclotomic(x)

## S4 method for signature 'bigz'
as.cyclotomic(x)

## S4 method for signature 'bigq'
as.cyclotomic(x)

Arguments

x

a cyclotomic object or an object yielding a quoted integer or a quoted fraction after an application of as.character

Value

A cyclotomic object.

Examples

as.cyclotomic(2)
as.cyclotomic("1/3")

cyclotomic documentation built on Nov. 3, 2023, 1:13 a.m.