/* Copyright (c) FFLAS-FFPACK * Written by Jean-Guillaume Dumas * ========LICENCE======== * This file is part of the library FFLAS-FFPACK. * * FFLAS-FFPACK is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * ========LICENCE======== */ #include #include #include #include #include #include #include using namespace FFLAS; int main(int argc, char** argv) { Givaro::Modular F(11); constexpr size_t m(2),k(3),n(1); float A[m*k]{1,2,3,4,5,6}, B[k*n]{7,8,9}, * C; C = fflas_new(F,m,n); // A is mxk with leading dimension k FFLAS::WriteMatrix (std::cout << "A:="<s,f0,{0,g0,(0,\:0,t0,+0,=s