Parametrize by array type instead of eltype