Fixed dense elementwise and scalar operations.