orthonormal expansion