Define a range for all inputs in expression. The computation will only take place for the range defined by the start, stop and step parameters in the main dimension of inputs (or the leading one, if the object lacks the concept of main dimension, like a NumPy contain
(
self,
start: int | None = None,
stop: int | None = None,
step: int | None = None,
)
| 331 | return reqvars |
| 332 | |
| 333 | def set_inputs_range( |
| 334 | self, |
| 335 | start: int | None = None, |
| 336 | stop: int | None = None, |
| 337 | step: int | None = None, |
| 338 | ) -> None: |
| 339 | """Define a range for all inputs in expression. |
| 340 | |
| 341 | The computation will only take place for the range defined by |
| 342 | the start, stop and step parameters in the main dimension of |
| 343 | inputs (or the leading one, if the object lacks the concept of |
| 344 | main dimension, like a NumPy container). If not a common main |
| 345 | dimension exists for all inputs, the leading dimension will be |
| 346 | used instead. |
| 347 | |
| 348 | """ |
| 349 | self.start = start |
| 350 | self.stop = stop |
| 351 | self.step = step |
| 352 | |
| 353 | def set_output( |
| 354 | self, out: ContainerType, append_mode: bool = False |
no outgoing calls