An associative capacitive network based on nanoscale complementary resistive switches for memory-intensive computing.