arf_init_set_shallow, arf_init_set_mag_shallow, arf_init_neg_shallow, arf_init_neg_mag_shallow
Synopsis
#include <flint/arf.h>Initialise the output as a shallow copy of x or of -x, sharing its limbs, without allocating memory.
The copy may only be used as a constant input, must not be cleared, and is invalid once x is modified or cleared. The mag_t versions make it possible to call arf functions on radii, as in arf_cmpabs_mag.
Cite this page
The FLINT team, “arf_init_set_shallow, arf_init_set_mag_shallow, arf_init_neg_shallow, arf_init_neg_mag_shallow (arf.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/arf/arf_init_set_shallow.html (generated 2026-10-20).
@misc{flint-doc-arf-arf-init-set-shallow,
author = {{The FLINT team}},
title = {{arf\_init\_set\_shallow, arf\_init\_set\_mag\_shallow, arf\_init\_neg\_shallow, arf\_init\_neg\_mag\_shallow (arf.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/arf/arf_init_set_shallow.html},
note = {Generated 2026-10-20}
}