In this paper we derive expressions for matrix elements (ϕi, Hϕj) for the Hamiltonian H = −Δ + ∑qa(q)rq in d ⩾ 2 dimensions. The basis functions in each angular momentum subspace are of the form . The matrix elements are given in terms of the Gamma function for all d. The significance of the parameters t and p and scale s are discussed. Applications to a variety of potentials are presented, including potentials with singular repulsive terms of the form β/rα, α, β > 0, perturbed Coulomb potentials −D/r + Br + Ar2, and potentials with weak repulsive terms, such as −γr2 + r4, γ > 0.