Modeling ferroelectric capacitor switching with asymmetric nonperiodic input signals and arbitrary initial conditions | Synapse