CADETProcess.dataStructure.parameter.SizedNdArray.check_size#
- SizedNdArray.check_size(instance, value)#
Validate that the provided value’s size matches the expected size.
- Parameters:
- instanceobject
The instance associated with the parameter.
- valueAny
The value whose size needs to be validated.
- Raises:
- ValueError
If the value’s size does not match the expected size.