- qspec. check_dimension ( dim , axis , *args )[source]
-
Check whether all arguments have
dimcomponents along the specifiedaxis.- Parameters:
-
- dimint
The number of components the axis
axismust have.- axisint
The axis which must have
dimcomponents.- argsarray_like
The arguments which must have
dimcomponents along axisaxis.
- Raises:
-
- ValueError
If any argument does not have
dimcomponents along axisaxis.