`vector_sum_of_squares` has the following issues: 1. It does rescaling for all types, not just floating-point types (and complex-of-floating-point types). 2. It attempts to construct `Scalar(1.0)` and `Scalar(0.0)` for all types. See discussion [here](https://github.com/kokkos/stdBLAS/issues/141#issuecomment-1016822422).
vector_sum_of_squareshas the following issues:Scalar(1.0)andScalar(0.0)for all types.See discussion here.