Control for stability and positivity: equivalent conditions and computation | Synapse