rename this to eq, to have the same name as tensor.