public interface ArrayProcessor
Abstract array processor: an algorithm processing AlgART arrays or matrices.
It is very abstract interface: it almost does not declare any functionality.
The only exception is the
We suppose that any array processing algorithm should work in some context,
and this interface declares a method for getting the current execution context
Usually, the context of execution is passed to constructor or instantiation method.
Some array processors may have no current context. In this situation,
method returns null.
However, we recommend to provide correct context always,
because the context allows to show execution progress to the user, interrupt execution
and increase performance on multiprocessor systems by multithread execution.
Also the context is necessary to specify the memory model used for allocation of AlgART array:
by default, most of array processors will use
There is an extended version of this interface,
that also allows to change the current context.