@Override
public IResultSolver execute(DataTask task)
{
System.out.println("SolverDataMatrixMultNum");
DataMatrixMultNumTask currentTask = (DataMatrixMultNumTask) task;
DataTaskSolver tasks = new DataTaskSolver();
Matrix matrix = currentTask.getMatrix();
Double num = currentTask.getNum();
for(int i = 0; i < matrix.getCountVector(); i++)
{
DataVectorMultNumTask newTask = new DataVectorMultNumTask(matrix.getMatrixVector(i), num, -1, i, Config.NODE_SOLVER);
tasks.addTask(newTask);
}
return tasks;
}