/usr/include/linbox/fflas/fflas_fcopy.inl is in liblinbox-dev 1.1.6~rc0-4.1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | /* -*- mode: C++; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
/* fflas/fflas_fcopy.inl
* Copyright (C) 2007 Clement Pernet
*
* Written by Clement Pernet <Clement.Pernet@imag.fr>
*
* See COPYING for license information.
*/
template<class Field>
inline void
FFLAS::fcopy (const Field& F, const size_t N,
typename Field::Element * X, const size_t incX,
const typename Field::Element * Y, const size_t incY ){
typename Field::Element * Xi = X;
const typename Field::Element * Yi=Y;
for (; Xi < X+N*incX; Xi+=incX, Yi+=incY )
F.assign(*Xi,*Yi);
}
|