Fast geometric learning with symbolic matrices