flint3-sys 3.6.0

Rust bindings to the FLINT C library
Documentation
/*
    Copyright (C) 2026 Lars Göttgens

    This file is part of FLINT.

    FLINT is free software: you can redistribute it and/or modify it under
    the terms of the GNU Lesser General Public License (LGPL) as published
    by the Free Software Foundation; either version 3 of the License, or
    (at your option) any later version.  See <https://www.gnu.org/licenses/>.
*/

#include "fmpq_mat.h"
#include "gr.h"
#include "gr_mat.h"

void
fmpq_mat_scalar_mul_si(fmpq_mat_t res, const fmpq_mat_t mat, const slong x)
{
    gr_ctx_t gr_ctx;
    gr_ctx_init_fmpq(gr_ctx);
    GR_MUST_SUCCEED(gr_mat_mul_si((gr_mat_struct *) res, (const gr_mat_struct *) mat, x, gr_ctx));
}