Package org.apache.commons.math

Examples of org.apache.commons.math.MaxIterationsExceededException


                    return result;
                }
            }
            olds = s;
        }
        throw new MaxIterationsExceededException(maximalIterationCount);
    }
View Full Code Here


                    return result;
                }
            }
            oldt = t;
        }
        throw new MaxIterationsExceededException(maximalIterationCount);
    }
View Full Code Here

                    }
                }
                if (m != j) {
                    if (its == maxIter)
                        throw new InvalidMatrixException(
                                new MaxIterationsExceededException(maxIter));
                    its++;
                    double q = (realEigenvalues[j + 1] - realEigenvalues[j]) / (2 * e[j]);
                    double t = FastMath.sqrt(1 + q * q);
                    if (q < 0.0) {
                        q = realEigenvalues[m] - realEigenvalues[j] + e[j] / (q - t);
View Full Code Here

            n = FastMath.max((int) (ratio * n), n + 1);
            oldt = t;

        }

        throw new MaxIterationsExceededException(maximalIterationCount);

    }
View Full Code Here

                }
            }
            olds = s;
            oldt = t;
        }
        throw new MaxIterationsExceededException(maximalIterationCount);
    }
View Full Code Here

            q0 = q1;
            q1 = q2;
        }

        if (n >= maxIterations) {
            throw new MaxIterationsExceededException(maxIterations,
                LocalizedFormats.NON_CONVERGENT_CONTINUED_FRACTION,
                x);
        }

        return c;
View Full Code Here

                x0 = x1;
                ++i;
            }

            throw new MaxIterationsExceededException(maximalIterationCount);
        } catch (ClassCastException cce) {
            throw MathRuntimeException.createIllegalArgumentException(LocalizedFormats.FUNCTION_NOT_DIFFERENTIABLE);
        }
    }
View Full Code Here

                delta = x1 - x0;
                oldDelta = delta;
            }
            i++;
        }
        throw new MaxIterationsExceededException(maximalIterationCount);
    }
View Full Code Here

                y2 = y0;
            }
            oldDelta = x2 - x1;
            i++;
        }
        throw new MaxIterationsExceededException(maximalIterationCount);
    }
View Full Code Here

                return m;
            }
            ++i;
        }

        throw new MaxIterationsExceededException(maximalIterationCount);
    }
View Full Code Here

TOP

Related Classes of org.apache.commons.math.MaxIterationsExceededException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.