Support for linear algebra operations (needed for the optimized implementation of Poseidon in Nuplompiler).