On Sat, Jan 04, 2025 at 07:49:05AM -0500, Jeffrey Sarnoff wrote:
> Thanks, maybe. I am using your info to investigate more.
There are limits which you cannot (easily) bypass: views, in flint, are
basically the same data type: they share the entries, adjust r & c and
use a subset of the rows with an offset. Thus a flint view has to have
consecutive columns, but may have "random" seletion of rows (ie. odd
ones only)
Further: rows can be swaped without touching entries, thus resizing is
not possible - unless no row-swap has happened. We played with this
quite a bit for the fmpz_mat(s).
In some cases (julia Vector{Int}) a translation to flint is possibly -
without time penalty
https://github.com/Nemocas/Nemo.jl/blob/master/src/flint/fmpz_mat.jl#L1797
for an evil example
In others (julia Vector{ZZRingElem} = Vector{fmpz}) this will be harder
up to impossible...
all the best of luck!
Claus
> To unsubscribe from this group and stop receiving emails from it, send an email to
flint-devel...@googlegroups.com.
> To view this discussion, visit
https://groups.google.com/d/msgid/flint-devel/CAM96OoJDQnyw4%2BbZroGT9vQJNUYU8gYie_HkOEjrpN_FHbBwFQ%40mail.gmail.com.