A
digital data processing unit comprises: inputs for receiving input data; outputs for providing output data; one or more
processing elements, and one or more switches. Each
processing element have one or more inputs for receiving input data and one or more outputs for providing output data. Each
processing element is configured to apply, during a time slot, a mathematical operation to its input data so as to generate output data. Each switch has outputs and at least one input for receiving a respective input value, wherein each switch is operated during a time slot based on
control data to provide each received input value to one of its outputs selected based on the
control data; wherein the one or more processing elements and the one or more switches are interconnected to form data paths between the inputs of the processing unit and the outputs of the processing unit, wherein at least one of the data paths is configured to provide, at a corresponding output of the processing unit, a final mathematical result from intermediate mathematical results generated by the one or more processing elements in the considered
data path.