VecNrmP

February 12, 2026 ยท View on GitHub

recursive computation of the vector p-norm

This software is a supplementary material for the paper:

For building libpvn and this repository please invoke make help from the src subdirectory and see the examples in var/build_*.sh scripts. They probably have to be tailored to each particular system. If the GNU compilers come with a suffix, e.g., -15, then set the GNU variable to it.

There are several testers available:

  • src/laf_relerr.exe computes relative error bounds for the Algorithm L,
  • src/crd_relerr.exe computes relative error bounds for the Algorithm C,
  • src/reh_relerr.exe, combined with the script var/rh_relerr.sh, computes relative error bounds for the Algorithm A,
  • src/rhh_relerr.exe, combined with the script var/rh_relerr.sh, computes relative error bounds for the Algorithm H,
  • src/nrm2.exe, combined with the scripts var/seq.sh and var/qes.sh, runs the sequential 2-norm tests,
  • src/nrm2.exe, combined with the script var/cilk.sh, runs the OpenCilk-parallel 2-norm tests, and
  • src/nrmp.exe, combined with the scripts var/parp.sh and var/ppar.sh, runs the OpenCilk-parallel p-norm tests.

This work has been supported in part by Croatian Science Foundation under the project IP-2014-09-3670 (MFBDA).