[functions.checkerboard]
[functions] added specializations
for R^1 -> R^1, R^3 -> R^1, R^d -> R^r