org.apache.ignite.ml.math.isolve

## Class IterativeSolverResult

- java.lang.Object
- - org.apache.ignite.ml.math.isolve.IterativeSolverResult

- All Implemented Interfaces:
    Serializable
  Direct Known Subclasses:
    LSQRResult

      public class IterativeSolverResult
      extends Object
      implements Serializable

  Base class for iterative solver results.
  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `IterativeSolverResult(double[] x, int iterations)` Constructs a new instance of iterative solver result.

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `int` | `getIterations()`
    `double[]` | `getX()`
    `String` | `toString()`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### IterativeSolverResult

          public IterativeSolverResult(double[] x,
                                       int iterations)

      Constructs a new instance of iterative solver result.
      Parameters:
        `x` - The final solution.
        `iterations` - Iteration number upon termination.

  - ### Method Detail

    - #### getX

          public double[] getX()

    - #### getIterations

          public int getIterations()

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`

${current.year} Copyright © Apache Software Foundation
| Follow @ApacheIgnite
Ignite Database and Caching Platform | : ver. 2.15.0
Release Date | : April 25 2023