FLINT3.7.0-dev

_gr_vec_add_scalar_other, _gr_vec_sub_scalar_other, _gr_vec_mul_scalar_other, _gr_vec_div_scalar_other, _gr_vec_divexact_scalar_other, _gr_vec_pow_scalar_other

Synopsis#include <flint/gr_vec.h>
int _gr_vec_add_scalar_other(gr_ptr vec1, gr_srcptr vec2, slong len, gr_srcptr c, gr_ctx_t cctx, gr_ctx_t ctx)source
int _gr_vec_sub_scalar_other(gr_ptr vec1, gr_srcptr vec2, slong len, gr_srcptr c, gr_ctx_t cctx, gr_ctx_t ctx)source
int _gr_vec_mul_scalar_other(gr_ptr vec1, gr_srcptr vec2, slong len, gr_srcptr c, gr_ctx_t cctx, gr_ctx_t ctx)source
int _gr_vec_div_scalar_other(gr_ptr vec1, gr_srcptr vec2, slong len, gr_srcptr c, gr_ctx_t cctx, gr_ctx_t ctx)source
int _gr_vec_divexact_scalar_other(gr_ptr vec1, gr_srcptr vec2, slong len, gr_srcptr c, gr_ctx_t cctx, gr_ctx_t ctx)source
int _gr_vec_pow_scalar_other(gr_ptr vec1, gr_srcptr vec2, slong len, gr_srcptr c, gr_ctx_t cctx, gr_ctx_t ctx)source

Set vec1[i] to vec2[i] op c, where c is an element of cctx.

Cite this page

The FLINT team, “_gr_vec_add_scalar_other, _gr_vec_sub_scalar_other, _gr_vec_mul_scalar_other, _gr_vec_div_scalar_other, _gr_vec_divexact_scalar_other, _gr_vec_pow_scalar_other (gr_vec.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/gr_vec/_gr_vec_add_scalar_other.html (generated 2026-10-20).