A Frequency- and Space-Domain Series-Expansion Approach for Efficient Numerical Modeling of Semiconductor Devices