Macaulay2 » Documentation
Packages » RInterface » RObject » new RObject from CC
next | previous | forward | backward | up | index | toc

new RObject from CC -- create an R complex vector from a complex number

Description

Converts a Macaulay2 CC (complex number) to an R complex vector of length 1.

i1 : RObject ii

o1 = [1] 0+1i

o1 : RObject of type complex
i2 : RObject(3 + 2*ii)

o2 = [1] 3+2i

o2 : RObject of type complex

See also

Ways to use this method:


The source of this document is in /build/reproducible-path/macaulay2-1.26.05+ds/M2/Macaulay2/packages/RInterface/doc/objects.m2:255:0.