libffpack.so.1 is used by sagemath, and libffpack.so.1 is installed via pip install sagemath-standard.
After installing fflas-ffpack from souce code, it seems that fflas-ffpack is a header-only library, and the function is located in fflas-ffpack/fflas/fflas-ffcal.inl
template<class Field>
inline void
fscalin (const Field& F, const size_t m , const size_t n,
const typename Field::Element a,
typename Field::Element_ptr A, const size_t lda)
{
if (F.isOne(a)) {
return ;
}
else if (F.isZero(a)) {
fzero(F,m,n,A,lda);
}
else if (F.isMOne(a)) {
fnegin(F,m,n,A,lda);
}
else {
if (lda == n) {
fscalin(F,n*m,a,A,1);
}
else {
for (size_t i = 0 ; i < m ; ++i)
{
fscalin(F,n,a,A+i*lda,1);
}
}
return;
}
}
but how to build libffpack.so?
On my machine, I find that
OS: ubuntu
libffpack.so.1 is used by sagemath, and libffpack.so.1 is installed via
pip install sagemath-standard
.After installing fflas-ffpack from souce code, it seems that fflas-ffpack is a header-only library, and the function is located in fflas-ffpack/fflas/fflas-ffcal.inl
but how to build libffpack.so? On my machine, I find that