1 /* 2 Copyright (C) 2010 William Hart 3 Copyright (C) 2014 Abhinav Baid 4 5 This file is part of FLINT. 6 7 FLINT is free software: you can redistribute it and/or modify it under 8 the terms of the GNU Lesser General Public License (LGPL) as published 9 by the Free Software Foundation; either version 2.1 of the License, or 10 (at your option) any later version. See <https://www.gnu.org/licenses/>. 11 */ 12 13 #include "mpf_vec.h" 14 15 void _mpf_vec_zero(mpf * vec,slong len)16_mpf_vec_zero(mpf * vec, slong len) 17 { 18 slong i; 19 for (i = 0; i < len; i++) 20 flint_mpf_set_ui(vec + i, 0); 21 } 22