I am copying these functions into `linalg.jl` for use in `norm`, so may be best to remove them from here.