1009{
1010 (void) A;
1011#if 1
1012#if 0
1016 if (B == 0)
1017 {
1018 ERROR(
"expected a dense mutable matrix over the ffpack finite field");
1019 return 0;
1020 }
1022 std::vector<M2::ARingZZpFFPACK::ElementType> charpoly;
1023
1024
1025 FFPACK::CharPoly(B->
get_Mat()->ring().field(), charpoly, A->
n_rows(),
1027
1028 for (size_t i = 0; i < charpoly.size(); i++) std::cout << charpoly[i] << " ";
1029 std::cout << std::endl;
1031#else
1032 return nullptr;
1033#endif
1034#else
1035 ERROR(
"not implemented: configure M2 with --enable-ffpack-fflas");
1036 return 0;
1037#endif
1038}
FieldType::Element ElementType
virtual size_t n_rows() const =0
MutableMat< MatType > * cast_to_MutableMat()
virtual const Ring * get_ring() const =0
DMat< M2::ARingZZp > DMatZZp
engine_RawRingElementArray convertRingelemsToArray(const Ring *R, std::vector< M2::ARingZZpFFPACK::ElementType > &elems)