http://git-wip-us.apache.org/repos/asf/commons-complex/blob/b3576eeb/site-content/.svn/pristine/04/04ce002c9f9a9b91d61899fcbec15d440f8712ef.svn-base ---------------------------------------------------------------------- diff --git a/site-content/.svn/pristine/04/04ce002c9f9a9b91d61899fcbec15d440f8712ef.svn-base b/site-content/.svn/pristine/04/04ce002c9f9a9b91d61899fcbec15d440f8712ef.svn-base deleted file mode 100644 index 087b76f..0000000 --- a/site-content/.svn/pristine/04/04ce002c9f9a9b91d61899fcbec15d440f8712ef.svn-base +++ /dev/null @@ -1,115 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml" lang="en"><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/><link rel="stylesheet" href="../.resources/report.css" type="text/css"/><link rel="shortcut icon" href="../.resources/report.gif" type="image/gif"/><title>BSPTreeVisitor.java</title><link rel="stylesheet" href="../.resources/prettify.css" type="text/css"/><script type="text/javascript" src="../.resources/prettify.js"></script></head><body onload="window['PR_TAB_WIDTH']=4;prettyPrint()"><div class="breadcrumb" id="breadcrumb"><span class="info"><a href="../.sessions.html" class="el_session">Sessions</a></span><a href="../index.html" class="el_report">Apache Commons Math</a> > <a href="index.source.html" class="el_package">org.apache.commons.math3.geometry.partitioning</a> > <span class="el_source">BSPTreeVisit or.java</span></div><h1>BSPTreeVisitor.java</h1><pre class="source lang-java linenums">/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package org.apache.commons.math3.geometry.partitioning; - -import org.apache.commons.math3.geometry.Space; - -/** This interface is used to visit {@link BSPTree BSP tree} nodes. - - * <p>Navigation through {@link BSPTree BSP trees} can be done using - * two different point of views:</p> - * <ul> - * <li> - * the first one is in a node-oriented way using the {@link - * BSPTree#getPlus}, {@link BSPTree#getMinus} and {@link - * BSPTree#getParent} methods. Terminal nodes without associated - * {@link SubHyperplane sub-hyperplanes} can be visited this way, - * there is no constraint in the visit order, and it is possible - * to visit either all nodes or only a subset of the nodes - * </li> - * <li> - * the second one is in a sub-hyperplane-oriented way using - * classes implementing this interface which obeys the visitor - * design pattern. The visit order is provided by the visitor as - * each node is first encountered. Each node is visited exactly - * once. - * </li> - * </ul> - - * @param <S> Type of the space. - - * @see BSPTree - * @see SubHyperplane - - * @since 3.0 - */ -public interface BSPTreeVisitor<S extends Space> { - - /** Enumerate for visit order with respect to plus sub-tree, minus sub-tree and cut sub-hyperplane. */ -<span class="pc" id="L53"> enum Order {</span> - /** Indicator for visit order plus sub-tree, then minus sub-tree, - * and last cut sub-hyperplane. - */ -<span class="fc" id="L57"> PLUS_MINUS_SUB,</span> - - /** Indicator for visit order plus sub-tree, then cut sub-hyperplane, - * and last minus sub-tree. - */ -<span class="fc" id="L62"> PLUS_SUB_MINUS,</span> - - /** Indicator for visit order minus sub-tree, then plus sub-tree, - * and last cut sub-hyperplane. - */ -<span class="fc" id="L67"> MINUS_PLUS_SUB,</span> - - /** Indicator for visit order minus sub-tree, then cut sub-hyperplane, - * and last plus sub-tree. - */ -<span class="fc" id="L72"> MINUS_SUB_PLUS,</span> - - /** Indicator for visit order cut sub-hyperplane, then plus sub-tree, - * and last minus sub-tree. - */ -<span class="fc" id="L77"> SUB_PLUS_MINUS,</span> - - /** Indicator for visit order cut sub-hyperplane, then minus sub-tree, - * and last plus sub-tree. - */ -<span class="fc" id="L82"> SUB_MINUS_PLUS;</span> - } - - /** Determine the visit order for this node. - * <p>Before attempting to visit an internal node, this method is - * called to determine the desired ordering of the visit. It is - * guaranteed that this method will be called before {@link - * #visitInternalNode visitInternalNode} for a given node, it will be - * called exactly once for each internal node.</p> - * @param node BSP node guaranteed to have a non null cut sub-hyperplane - * @return desired visit order, must be one of - * {@link Order#PLUS_MINUS_SUB}, {@link Order#PLUS_SUB_MINUS}, - * {@link Order#MINUS_PLUS_SUB}, {@link Order#MINUS_SUB_PLUS}, - * {@link Order#SUB_PLUS_MINUS}, {@link Order#SUB_MINUS_PLUS} - */ - Order visitOrder(BSPTree<S> node); - - /** Visit a BSP tree node node having a non-null sub-hyperplane. - * <p>It is guaranteed that this method will be called after {@link - * #visitOrder visitOrder} has been called for a given node, - * it wil be called exactly once for each internal node.</p> - * @param node BSP node guaranteed to have a non null cut sub-hyperplane - * @see #visitLeafNode - */ - void visitInternalNode(BSPTree<S> node); - - /** Visit a leaf BSP tree node node having a null sub-hyperplane. - * @param node leaf BSP node having a null sub-hyperplane - * @see #visitInternalNode - */ - void visitLeafNode(BSPTree<S> node); - -} -</pre><div class="footer"><span class="right">Created with <a href="http://www.eclemma.org/jacoco">JaCoCo</a> 0.7.5.201505241946</span></div></body></html> \ No newline at end of file
http://git-wip-us.apache.org/repos/asf/commons-complex/blob/b3576eeb/site-content/.svn/pristine/04/04d34fff33c5e7696d6af00b33b4ed5ed95ac910.svn-base ---------------------------------------------------------------------- diff --git a/site-content/.svn/pristine/04/04d34fff33c5e7696d6af00b33b4ed5ed95ac910.svn-base b/site-content/.svn/pristine/04/04d34fff33c5e7696d6af00b33b4ed5ed95ac910.svn-base deleted file mode 100644 index 89d2533..0000000 --- a/site-content/.svn/pristine/04/04d34fff33c5e7696d6af00b33b4ed5ed95ac910.svn-base +++ /dev/null @@ -1,38 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml" lang="en"><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/><link rel="stylesheet" href="../.resources/report.css" type="text/css"/><link rel="shortcut icon" href="../.resources/report.gif" type="image/gif"/><title>NoFeasibleSolutionException.java</title><link rel="stylesheet" href="../.resources/prettify.css" type="text/css"/><script type="text/javascript" src="../.resources/prettify.js"></script></head><body onload="window['PR_TAB_WIDTH']=4;prettyPrint()"><div class="breadcrumb" id="breadcrumb"><span class="info"><a href="../.sessions.html" class="el_session">Sessions</a></span><a href="../index.html" class="el_report">Apache Commons Math</a> > <a href="index.source.html" class="el_package">org.apache.commons.math3.optim.linear</a> > <span class="el_source">NoFeasib leSolutionException.java</span></div><h1>NoFeasibleSolutionException.java</h1><pre class="source lang-java linenums">/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package org.apache.commons.math3.optim.linear; - -import org.apache.commons.math3.exception.MathIllegalStateException; -import org.apache.commons.math3.exception.util.LocalizedFormats; - -/** - * This class represents exceptions thrown by optimizers when no solution fulfills the constraints. - * - * @since 2.0 - */ -public class NoFeasibleSolutionException extends MathIllegalStateException { - /** Serializable version identifier. */ - private static final long serialVersionUID = -3044253632189082760L; - - /** - * Simple constructor using a default message. - */ - public NoFeasibleSolutionException() { -<span class="fc" id="L35"> super(LocalizedFormats.NO_FEASIBLE_SOLUTION);</span> -<span class="fc" id="L36"> }</span> -} -</pre><div class="footer"><span class="right">Created with <a href="http://www.eclemma.org/jacoco">JaCoCo</a> 0.7.5.201505241946</span></div></body></html> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/commons-complex/blob/b3576eeb/site-content/.svn/pristine/04/04ec73dc578873efd884ddcbf9ff4cbe9c14895f.svn-base ---------------------------------------------------------------------- diff --git a/site-content/.svn/pristine/04/04ec73dc578873efd884ddcbf9ff4cbe9c14895f.svn-base b/site-content/.svn/pristine/04/04ec73dc578873efd884ddcbf9ff4cbe9c14895f.svn-base deleted file mode 100644 index 85a0ced..0000000 --- a/site-content/.svn/pristine/04/04ec73dc578873efd884ddcbf9ff4cbe9c14895f.svn-base +++ /dev/null @@ -1,117 +0,0 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> -<!-- NewPage --> -<html lang="en"> -<head> -<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> -<title>Uses of Class org.apache.commons.math3.optim.nonlinear.scalar.noderiv.BOBYQAOptimizer (Apache Commons Math 3.6.1 API)</title> -<link rel="stylesheet" type="text/css" href="../../../../../../../../../stylesheet.css" title="Style"> -</head> -<body> -<script type="text/javascript"><!-- - if (location.href.indexOf('is-external=true') == -1) { - parent.document.title="Uses of Class org.apache.commons.math3.optim.nonlinear.scalar.noderiv.BOBYQAOptimizer (Apache Commons Math 3.6.1 API)"; - } -//--> -</script> -<noscript> -<div>JavaScript is disabled on your browser.</div> -</noscript> -<!-- ========= START OF TOP NAVBAR ======= --> -<div class="topNav"><a name="navbar_top"> -<!-- --> -</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow"> -<!-- --> -</a> -<ul class="navList" title="Navigation"> -<li><a href="../../../../../../../../../overview-summary.html">Overview</a></li> -<li><a href="../package-summary.html">Package</a></li> -<li><a href="../../../../../../../../../org/apache/commons/math3/optim/nonlinear/scalar/noderiv/BOBYQAOptimizer.html" title="class in org.apache.commons.math3.optim.nonlinear.scalar.noderiv">Class</a></li> -<li class="navBarCell1Rev">Use</li> -<li><a href="../package-tree.html">Tree</a></li> -<li><a href="../../../../../../../../../deprecated-list.html">Deprecated</a></li> -<li><a href="../../../../../../../../../index-all.html">Index</a></li> -<li><a href="../../../../../../../../../help-doc.html">Help</a></li> -</ul> -<div class="aboutLanguage"><em><script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script></em></div> -</div> -<div class="subNav"> -<ul class="navList"> -<li>Prev</li> -<li>Next</li> -</ul> -<ul class="navList"> -<li><a href="../../../../../../../../../index.html?org/apache/commons/math3/optim/nonlinear/scalar/noderiv/class-use/BOBYQAOptimizer.html" target="_top">Frames</a></li> -<li><a href="BOBYQAOptimizer.html" target="_top">No Frames</a></li> -</ul> -<ul class="navList" id="allclasses_navbar_top"> -<li><a href="../../../../../../../../../allclasses-noframe.html">All Classes</a></li> -</ul> -<div> -<script type="text/javascript"><!-- - allClassesLink = document.getElementById("allclasses_navbar_top"); - if(window==top) { - allClassesLink.style.display = "block"; - } - else { - allClassesLink.style.display = "none"; - } - //--> -</script> -</div> -<a name="skip-navbar_top"> -<!-- --> -</a></div> -<!-- ========= END OF TOP NAVBAR ========= --> -<div class="header"> -<h2 title="Uses of Class org.apache.commons.math3.optim.nonlinear.scalar.noderiv.BOBYQAOptimizer" class="title">Uses of Class<br>org.apache.commons.math3.optim.nonlinear.scalar.noderiv.BOBYQAOptimizer</h2> -</div> -<div class="classUseContainer">No usage of org.apache.commons.math3.optim.nonlinear.scalar.noderiv.BOBYQAOptimizer</div> -<!-- ======= START OF BOTTOM NAVBAR ====== --> -<div class="bottomNav"><a name="navbar_bottom"> -<!-- --> -</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow"> -<!-- --> -</a> -<ul class="navList" title="Navigation"> -<li><a href="../../../../../../../../../overview-summary.html">Overview</a></li> -<li><a href="../package-summary.html">Package</a></li> -<li><a href="../../../../../../../../../org/apache/commons/math3/optim/nonlinear/scalar/noderiv/BOBYQAOptimizer.html" title="class in org.apache.commons.math3.optim.nonlinear.scalar.noderiv">Class</a></li> -<li class="navBarCell1Rev">Use</li> -<li><a href="../package-tree.html">Tree</a></li> -<li><a href="../../../../../../../../../deprecated-list.html">Deprecated</a></li> -<li><a href="../../../../../../../../../index-all.html">Index</a></li> -<li><a href="../../../../../../../../../help-doc.html">Help</a></li> -</ul> -<div class="aboutLanguage"><em><script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script></em></div> -</div> -<div class="subNav"> -<ul class="navList"> -<li>Prev</li> -<li>Next</li> -</ul> -<ul class="navList"> -<li><a href="../../../../../../../../../index.html?org/apache/commons/math3/optim/nonlinear/scalar/noderiv/class-use/BOBYQAOptimizer.html" target="_top">Frames</a></li> -<li><a href="BOBYQAOptimizer.html" target="_top">No Frames</a></li> -</ul> -<ul class="navList" id="allclasses_navbar_bottom"> -<li><a href="../../../../../../../../../allclasses-noframe.html">All Classes</a></li> -</ul> -<div> -<script type="text/javascript"><!-- - allClassesLink = document.getElementById("allclasses_navbar_bottom"); - if(window==top) { - allClassesLink.style.display = "block"; - } - else { - allClassesLink.style.display = "none"; - } - //--> -</script> -</div> -<a name="skip-navbar_bottom"> -<!-- --> -</a></div> -<!-- ======== END OF BOTTOM NAVBAR ======= --> -<p class="legalCopy"><small>Copyright © 2003–2016 <a href="http://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p> -</body> -</html> http://git-wip-us.apache.org/repos/asf/commons-complex/blob/b3576eeb/site-content/.svn/pristine/04/04f17904df890f466c9e3f08dbb21beabb586931.svn-base ---------------------------------------------------------------------- diff --git a/site-content/.svn/pristine/04/04f17904df890f466c9e3f08dbb21beabb586931.svn-base b/site-content/.svn/pristine/04/04f17904df890f466c9e3f08dbb21beabb586931.svn-base deleted file mode 100644 index f03abd3..0000000 --- a/site-content/.svn/pristine/04/04f17904df890f466c9e3f08dbb21beabb586931.svn-base +++ /dev/null @@ -1,194 +0,0 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> -<html lang="en"> -<head> -<title>Source code</title> -<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style"> -</head> -<body> -<div class="sourceContainer"> -<pre><span class="sourceLineNo">001</span>/*<a name="line.1"></a> -<span class="sourceLineNo">002</span> * Licensed to the Apache Software Foundation (ASF) under one or more<a name="line.2"></a> -<span class="sourceLineNo">003</span> * contributor license agreements. See the NOTICE file distributed with<a name="line.3"></a> -<span class="sourceLineNo">004</span> * this work for additional information regarding copyright ownership.<a name="line.4"></a> -<span class="sourceLineNo">005</span> * The ASF licenses this file to You under the Apache License, Version 2.0<a name="line.5"></a> -<span class="sourceLineNo">006</span> * (the "License"); you may not use this file except in compliance with<a name="line.6"></a> -<span class="sourceLineNo">007</span> * the License. You may obtain a copy of the License at<a name="line.7"></a> -<span class="sourceLineNo">008</span> *<a name="line.8"></a> -<span class="sourceLineNo">009</span> * http://www.apache.org/licenses/LICENSE-2.0<a name="line.9"></a> -<span class="sourceLineNo">010</span> *<a name="line.10"></a> -<span class="sourceLineNo">011</span> * Unless required by applicable law or agreed to in writing, software<a name="line.11"></a> -<span class="sourceLineNo">012</span> * distributed under the License is distributed on an "AS IS" BASIS,<a name="line.12"></a> -<span class="sourceLineNo">013</span> * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.<a name="line.13"></a> -<span class="sourceLineNo">014</span> * See the License for the specific language governing permissions and<a name="line.14"></a> -<span class="sourceLineNo">015</span> * limitations under the License.<a name="line.15"></a> -<span class="sourceLineNo">016</span> */<a name="line.16"></a> -<span class="sourceLineNo">017</span><a name="line.17"></a> -<span class="sourceLineNo">018</span>package org.apache.commons.math3.distribution;<a name="line.18"></a> -<span class="sourceLineNo">019</span><a name="line.19"></a> -<span class="sourceLineNo">020</span>import org.apache.commons.math3.exception.NotStrictlyPositiveException;<a name="line.20"></a> -<span class="sourceLineNo">021</span><a name="line.21"></a> -<span class="sourceLineNo">022</span>import org.apache.commons.math3.util.FastMath;<a name="line.22"></a> -<span class="sourceLineNo">023</span>import org.junit.Assert;<a name="line.23"></a> -<span class="sourceLineNo">024</span>import org.junit.Test;<a name="line.24"></a> -<span class="sourceLineNo">025</span><a name="line.25"></a> -<span class="sourceLineNo">026</span>/**<a name="line.26"></a> -<span class="sourceLineNo">027</span> * Test cases for {@link ZipfDistribution}.<a name="line.27"></a> -<span class="sourceLineNo">028</span> * Extends IntegerDistributionAbstractTest. See class javadoc for<a name="line.28"></a> -<span class="sourceLineNo">029</span> * IntegerDistributionAbstractTest for details.<a name="line.29"></a> -<span class="sourceLineNo">030</span> *<a name="line.30"></a> -<span class="sourceLineNo">031</span> */<a name="line.31"></a> -<span class="sourceLineNo">032</span>public class ZipfDistributionTest extends IntegerDistributionAbstractTest {<a name="line.32"></a> -<span class="sourceLineNo">033</span><a name="line.33"></a> -<span class="sourceLineNo">034</span> /**<a name="line.34"></a> -<span class="sourceLineNo">035</span> * Constructor to override default tolerance.<a name="line.35"></a> -<span class="sourceLineNo">036</span> */<a name="line.36"></a> -<span class="sourceLineNo">037</span> public ZipfDistributionTest() {<a name="line.37"></a> -<span class="sourceLineNo">038</span> setTolerance(1e-12);<a name="line.38"></a> -<span class="sourceLineNo">039</span> }<a name="line.39"></a> -<span class="sourceLineNo">040</span> <a name="line.40"></a> -<span class="sourceLineNo">041</span> @Test(expected=NotStrictlyPositiveException.class)<a name="line.41"></a> -<span class="sourceLineNo">042</span> public void testPreconditions1() {<a name="line.42"></a> -<span class="sourceLineNo">043</span> new ZipfDistribution(0, 1);<a name="line.43"></a> -<span class="sourceLineNo">044</span> }<a name="line.44"></a> -<span class="sourceLineNo">045</span><a name="line.45"></a> -<span class="sourceLineNo">046</span> @Test(expected=NotStrictlyPositiveException.class)<a name="line.46"></a> -<span class="sourceLineNo">047</span> public void testPreconditions2() {<a name="line.47"></a> -<span class="sourceLineNo">048</span> new ZipfDistribution(1, 0);<a name="line.48"></a> -<span class="sourceLineNo">049</span> }<a name="line.49"></a> -<span class="sourceLineNo">050</span><a name="line.50"></a> -<span class="sourceLineNo">051</span> //-------------- Implementations for abstract methods -----------------------<a name="line.51"></a> -<span class="sourceLineNo">052</span><a name="line.52"></a> -<span class="sourceLineNo">053</span> /** Creates the default discrete distribution instance to use in tests. */<a name="line.53"></a> -<span class="sourceLineNo">054</span> @Override<a name="line.54"></a> -<span class="sourceLineNo">055</span> public IntegerDistribution makeDistribution() {<a name="line.55"></a> -<span class="sourceLineNo">056</span> return new ZipfDistribution(10, 1);<a name="line.56"></a> -<span class="sourceLineNo">057</span> }<a name="line.57"></a> -<span class="sourceLineNo">058</span><a name="line.58"></a> -<span class="sourceLineNo">059</span> /** Creates the default probability density test input values */<a name="line.59"></a> -<span class="sourceLineNo">060</span> @Override<a name="line.60"></a> -<span class="sourceLineNo">061</span> public int[] makeDensityTestPoints() {<a name="line.61"></a> -<span class="sourceLineNo">062</span> return new int[] {-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11};<a name="line.62"></a> -<span class="sourceLineNo">063</span> }<a name="line.63"></a> -<span class="sourceLineNo">064</span><a name="line.64"></a> -<span class="sourceLineNo">065</span> /** <a name="line.65"></a> -<span class="sourceLineNo">066</span> * Creates the default probability density test expected values.<a name="line.66"></a> -<span class="sourceLineNo">067</span> * Reference values are from R, version 2.15.3 (VGAM package 0.9-0).<a name="line.67"></a> -<span class="sourceLineNo">068</span> */<a name="line.68"></a> -<span class="sourceLineNo">069</span> @Override<a name="line.69"></a> -<span class="sourceLineNo">070</span> public double[] makeDensityTestValues() {<a name="line.70"></a> -<span class="sourceLineNo">071</span> return new double[] {0d, 0d, 0.341417152147, 0.170708576074, 0.113805717382, 0.0853542880369, 0.0682834304295,<a name="line.71"></a> -<span class="sourceLineNo">072</span> 0.0569028586912, 0.0487738788782, 0.0426771440184, 0.0379352391275, 0.0341417152147, 0};<a name="line.72"></a> -<span class="sourceLineNo">073</span> }<a name="line.73"></a> -<span class="sourceLineNo">074</span><a name="line.74"></a> -<span class="sourceLineNo">075</span> /** <a name="line.75"></a> -<span class="sourceLineNo">076</span> * Creates the default logarithmic probability density test expected values.<a name="line.76"></a> -<span class="sourceLineNo">077</span> * Reference values are from R, version 2.14.1.<a name="line.77"></a> -<span class="sourceLineNo">078</span> */<a name="line.78"></a> -<span class="sourceLineNo">079</span> @Override<a name="line.79"></a> -<span class="sourceLineNo">080</span> public double[] makeLogDensityTestValues() {<a name="line.80"></a> -<span class="sourceLineNo">081</span> return new double[] {Double.NEGATIVE_INFINITY, Double.NEGATIVE_INFINITY,<a name="line.81"></a> -<span class="sourceLineNo">082</span> -1.07465022926458, -1.76779740982453, -2.17326251793269, -2.46094459038447,<a name="line.82"></a> -<span class="sourceLineNo">083</span> -2.68408814169868, -2.86640969849264, -3.0205603783199, -3.15409177094442,<a name="line.83"></a> -<span class="sourceLineNo">084</span> -3.2718748066008, -3.37723532225863, Double.NEGATIVE_INFINITY};<a name="line.84"></a> -<span class="sourceLineNo">085</span> }<a name="line.85"></a> -<span class="sourceLineNo">086</span><a name="line.86"></a> -<span class="sourceLineNo">087</span> /** Creates the default cumulative probability density test input values */<a name="line.87"></a> -<span class="sourceLineNo">088</span> @Override<a name="line.88"></a> -<span class="sourceLineNo">089</span> public int[] makeCumulativeTestPoints() {<a name="line.89"></a> -<span class="sourceLineNo">090</span> return makeDensityTestPoints();<a name="line.90"></a> -<span class="sourceLineNo">091</span> }<a name="line.91"></a> -<span class="sourceLineNo">092</span><a name="line.92"></a> -<span class="sourceLineNo">093</span> /** Creates the default cumulative probability density test expected values */<a name="line.93"></a> -<span class="sourceLineNo">094</span> @Override<a name="line.94"></a> -<span class="sourceLineNo">095</span> public double[] makeCumulativeTestValues() {<a name="line.95"></a> -<span class="sourceLineNo">096</span> return new double[] {0, 0, 0.341417152147, 0.512125728221, 0.625931445604, 0.71128573364,<a name="line.96"></a> -<span class="sourceLineNo">097</span> 0.77956916407, 0.836472022761, 0.885245901639, 0.927923045658, 0.965858284785, 1d, 1d};<a name="line.97"></a> -<span class="sourceLineNo">098</span> }<a name="line.98"></a> -<span class="sourceLineNo">099</span><a name="line.99"></a> -<span class="sourceLineNo">100</span> /** Creates the default inverse cumulative probability test input values */<a name="line.100"></a> -<span class="sourceLineNo">101</span> @Override<a name="line.101"></a> -<span class="sourceLineNo">102</span> public double[] makeInverseCumulativeTestPoints() {<a name="line.102"></a> -<span class="sourceLineNo">103</span> return new double[] {0d, 0.001d, 0.010d, 0.025d, 0.050d, 0.3413d, 0.3415d, 0.999d,<a name="line.103"></a> -<span class="sourceLineNo">104</span> 0.990d, 0.975d, 0.950d, 0.900d, 1d};<a name="line.104"></a> -<span class="sourceLineNo">105</span> }<a name="line.105"></a> -<span class="sourceLineNo">106</span><a name="line.106"></a> -<span class="sourceLineNo">107</span> /** Creates the default inverse cumulative probability density test expected values */<a name="line.107"></a> -<span class="sourceLineNo">108</span> @Override<a name="line.108"></a> -<span class="sourceLineNo">109</span> public int[] makeInverseCumulativeTestValues() {<a name="line.109"></a> -<span class="sourceLineNo">110</span> return new int[] {1, 1, 1, 1, 1, 1, 2, 10, 10, 10, 9, 8, 10};<a name="line.110"></a> -<span class="sourceLineNo">111</span> }<a name="line.111"></a> -<span class="sourceLineNo">112</span><a name="line.112"></a> -<span class="sourceLineNo">113</span> @Test<a name="line.113"></a> -<span class="sourceLineNo">114</span> public void testMoments() {<a name="line.114"></a> -<span class="sourceLineNo">115</span> final double tol = 1e-9;<a name="line.115"></a> -<span class="sourceLineNo">116</span> ZipfDistribution dist;<a name="line.116"></a> -<span class="sourceLineNo">117</span><a name="line.117"></a> -<span class="sourceLineNo">118</span> dist = new ZipfDistribution(2, 0.5);<a name="line.118"></a> -<span class="sourceLineNo">119</span> Assert.assertEquals(dist.getNumericalMean(), FastMath.sqrt(2), tol);<a name="line.119"></a> -<span class="sourceLineNo">120</span> Assert.assertEquals(dist.getNumericalVariance(), 0.24264068711928521, tol);<a name="line.120"></a> -<span class="sourceLineNo">121</span> }<a name="line.121"></a> -<span class="sourceLineNo">122</span>}<a name="line.122"></a> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -</pre> -</div> -</body> -</html> http://git-wip-us.apache.org/repos/asf/commons-complex/blob/b3576eeb/site-content/.svn/pristine/04/04f2dc57301b15a8c2ca2d2e7b71f21201073d0f.svn-base ---------------------------------------------------------------------- diff --git a/site-content/.svn/pristine/04/04f2dc57301b15a8c2ca2d2e7b71f21201073d0f.svn-base b/site-content/.svn/pristine/04/04f2dc57301b15a8c2ca2d2e7b71f21201073d0f.svn-base deleted file mode 100644 index c998d02..0000000 --- a/site-content/.svn/pristine/04/04f2dc57301b15a8c2ca2d2e7b71f21201073d0f.svn-base +++ /dev/null @@ -1,298 +0,0 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> -<!-- NewPage --> -<html lang="en"> -<head> -<meta http-equiv="Content-Type" content="text/html" charset="UTF-8"> -<title>UnivariateMultiStartOptimizerTest (Apache Commons Math 3.5 Test API)</title> -<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style"> -</head> -<body> -<script type="text/javascript"><!-- - if (location.href.indexOf('is-external=true') == -1) { - parent.document.title="UnivariateMultiStartOptimizerTest (Apache Commons Math 3.5 Test API)"; - } -//--> -</script> -<noscript> -<div>JavaScript is disabled on your browser.</div> -</noscript> -<!-- ========= START OF TOP NAVBAR ======= --> -<div class="topNav"><a name="navbar_top"> -<!-- --> -</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow"> -<!-- --> -</a> -<ul class="navList" title="Navigation"> -<li><a href="../../../../../../overview-summary.html">Overview</a></li> -<li><a href="package-summary.html">Package</a></li> -<li class="navBarCell1Rev">Class</li> -<li><a href="class-use/UnivariateMultiStartOptimizerTest.html">Use</a></li> -<li><a href="package-tree.html">Tree</a></li> -<li><a href="../../../../../../deprecated-list.html">Deprecated</a></li> -<li><a href="../../../../../../index-all.html">Index</a></li> -<li><a href="../../../../../../help-doc.html">Help</a></li> -</ul> -<div class="aboutLanguage"><em><script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script></em></div> -</div> -<div class="subNav"> -<ul class="navList"> -<li><a href="../../../../../../org/apache/commons/math3/optimization/univariate/SimpleUnivariateValueCheckerTest.html" title="class in org.apache.commons.math3.optimization.univariate"><span class="strong">PREV CLASS</span></a></li> -<li>NEXT CLASS</li> -</ul> -<ul class="navList"> -<li><a href="../../../../../../index.html?org/apache/commons/math3/optimization/univariate/UnivariateMultiStartOptimizerTest.html" target="_top">FRAMES</a></li> -<li><a href="UnivariateMultiStartOptimizerTest.html" target="_top">NO FRAMES</a></li> -</ul> -<ul class="navList" id="allclasses_navbar_top"> -<li><a href="../../../../../../allclasses-noframe.html">All Classes</a></li> -</ul> -<div> -<script type="text/javascript"><!-- - allClassesLink = document.getElementById("allclasses_navbar_top"); - if(window==top) { - allClassesLink.style.display = "block"; - } - else { - allClassesLink.style.display = "none"; - } - //--> -</script> -</div> -<div> -<ul class="subNavList"> -<li>SUMMARY: </li> -<li>NESTED | </li> -<li>FIELD | </li> -<li><a href="#constructor_summary">CONSTR</a> | </li> -<li><a href="#method_summary">METHOD</a></li> -</ul> -<ul class="subNavList"> -<li>DETAIL: </li> -<li>FIELD | </li> -<li><a href="#constructor_detail">CONSTR</a> | </li> -<li><a href="#method_detail">METHOD</a></li> -</ul> -</div> -<a name="skip-navbar_top"> -<!-- --> -</a></div> -<!-- ========= END OF TOP NAVBAR ========= --> -<!-- ======== START OF CLASS DATA ======== --> -<div class="header"> -<p class="subTitle">org.apache.commons.math3.optimization.univariate</p> -<h2 title="Class UnivariateMultiStartOptimizerTest" class="title">Class UnivariateMultiStartOptimizerTest</h2> -</div> -<div class="contentContainer"> -<ul class="inheritance"> -<li><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li> -<li> -<ul class="inheritance"> -<li>org.apache.commons.math3.optimization.univariate.UnivariateMultiStartOptimizerTest</li> -</ul> -</li> -</ul> -<div class="description"> -<ul class="blockList"> -<li class="blockList"> -<hr> -<div class="block"><strong>Deprecated.</strong></div> -<br> -<pre><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a> -public class <a href="../../../../../../src-html/org/apache/commons/math3/optimization/univariate/UnivariateMultiStartOptimizerTest.html#line.30">UnivariateMultiStartOptimizerTest</a> -extends <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></pre> -</li> -</ul> -</div> -<div class="summary"> -<ul class="blockList"> -<li class="blockList"> -<!-- ======== CONSTRUCTOR SUMMARY ======== --> -<ul class="blockList"> -<li class="blockList"><a name="constructor_summary"> -<!-- --> -</a> -<h3>Constructor Summary</h3> -<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> -<caption><span>Constructors</span><span class="tabEnd"> </span></caption> -<tr> -<th class="colOne" scope="col">Constructor and Description</th> -</tr> -<tr class="altColor"> -<td class="colOne"><code><strong><a href="../../../../../../org/apache/commons/math3/optimization/univariate/UnivariateMultiStartOptimizerTest.html#UnivariateMultiStartOptimizerTest()">UnivariateMultiStartOptimizerTest</a></strong>()</code> -<div class="block"><strong>Deprecated.</strong> </div> - </td> -</tr> -</table> -</li> -</ul> -<!-- ========== METHOD SUMMARY =========== --> -<ul class="blockList"> -<li class="blockList"><a name="method_summary"> -<!-- --> -</a> -<h3>Method Summary</h3> -<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> -<caption><span>Methods</span><span class="tabEnd"> </span></caption> -<tr> -<th class="colFirst" scope="col">Modifier and Type</th> -<th class="colLast" scope="col">Method and Description</th> -</tr> -<tr class="altColor"> -<td class="colFirst"><code>void</code></td> -<td class="colLast"><code><strong><a href="../../../../../../org/apache/commons/math3/optimization/univariate/UnivariateMultiStartOptimizerTest.html#testBadFunction()">testBadFunction</a></strong>()</code> -<div class="block"><strong>Deprecated.</strong> </div> - </td> -</tr> -<tr class="rowColor"> -<td class="colFirst"><code>void</code></td> -<td class="colLast"><code><strong><a href="../../../../../../org/apache/commons/math3/optimization/univariate/UnivariateMultiStartOptimizerTest.html#testQuinticMin()">testQuinticMin</a></strong>()</code> -<div class="block"><strong>Deprecated.</strong> </div> - </td> -</tr> -<tr class="altColor"> -<td class="colFirst"><code>void</code></td> -<td class="colLast"><code><strong><a href="../../../../../../org/apache/commons/math3/optimization/univariate/UnivariateMultiStartOptimizerTest.html#testSinMin()">testSinMin</a></strong>()</code> -<div class="block"><strong>Deprecated.</strong> </div> - </td> -</tr> -</table> -<ul class="blockList"> -<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object"> -<!-- --> -</a> -<h3>Methods inherited from class java.lang.<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3> -<code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang /Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</a></code></li> -</ul> -</li> -</ul> -</li> -</ul> -</div> -<div class="details"> -<ul class="blockList"> -<li class="blockList"> -<!-- ========= CONSTRUCTOR DETAIL ======== --> -<ul class="blockList"> -<li class="blockList"><a name="constructor_detail"> -<!-- --> -</a> -<h3>Constructor Detail</h3> -<a name="UnivariateMultiStartOptimizerTest()"> -<!-- --> -</a> -<ul class="blockListLast"> -<li class="blockList"> -<h4>UnivariateMultiStartOptimizerTest</h4> -<pre>public <a href="../../../../../../src-html/org/apache/commons/math3/optimization/univariate/UnivariateMultiStartOptimizerTest.html#line.30">UnivariateMultiStartOptimizerTest</a>()</pre> -<div class="block"><span class="strong">Deprecated.</span> </div> -</li> -</ul> -</li> -</ul> -<!-- ============ METHOD DETAIL ========== --> -<ul class="blockList"> -<li class="blockList"><a name="method_detail"> -<!-- --> -</a> -<h3>Method Detail</h3> -<a name="testSinMin()"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>testSinMin</h4> -<pre>public void <a href="../../../../../../src-html/org/apache/commons/math3/optimization/univariate/UnivariateMultiStartOptimizerTest.html#line.33">testSinMin</a>()</pre> -<div class="block"><span class="strong">Deprecated.</span> </div> -</li> -</ul> -<a name="testQuinticMin()"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>testQuinticMin</h4> -<pre>public void <a href="../../../../../../src-html/org/apache/commons/math3/optimization/univariate/UnivariateMultiStartOptimizerTest.html#line.53">testQuinticMin</a>()</pre> -<div class="block"><span class="strong">Deprecated.</span> </div> -</li> -</ul> -<a name="testBadFunction()"> -<!-- --> -</a> -<ul class="blockListLast"> -<li class="blockList"> -<h4>testBadFunction</h4> -<pre>public void <a href="../../../../../../src-html/org/apache/commons/math3/optimization/univariate/UnivariateMultiStartOptimizerTest.html#line.77">testBadFunction</a>()</pre> -<div class="block"><span class="strong">Deprecated.</span> </div> -</li> -</ul> -</li> -</ul> -</li> -</ul> -</div> -</div> -<!-- ========= END OF CLASS DATA ========= --> -<!-- ======= START OF BOTTOM NAVBAR ====== --> -<div class="bottomNav"><a name="navbar_bottom"> -<!-- --> -</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow"> -<!-- --> -</a> -<ul class="navList" title="Navigation"> -<li><a href="../../../../../../overview-summary.html">Overview</a></li> -<li><a href="package-summary.html">Package</a></li> -<li class="navBarCell1Rev">Class</li> -<li><a href="class-use/UnivariateMultiStartOptimizerTest.html">Use</a></li> -<li><a href="package-tree.html">Tree</a></li> -<li><a href="../../../../../../deprecated-list.html">Deprecated</a></li> -<li><a href="../../../../../../index-all.html">Index</a></li> -<li><a href="../../../../../../help-doc.html">Help</a></li> -</ul> -<div class="aboutLanguage"><em><script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script></em></div> -</div> -<div class="subNav"> -<ul class="navList"> -<li><a href="../../../../../../org/apache/commons/math3/optimization/univariate/SimpleUnivariateValueCheckerTest.html" title="class in org.apache.commons.math3.optimization.univariate"><span class="strong">PREV CLASS</span></a></li> -<li>NEXT CLASS</li> -</ul> -<ul class="navList"> -<li><a href="../../../../../../index.html?org/apache/commons/math3/optimization/univariate/UnivariateMultiStartOptimizerTest.html" target="_top">FRAMES</a></li> -<li><a href="UnivariateMultiStartOptimizerTest.html" target="_top">NO FRAMES</a></li> -</ul> -<ul class="navList" id="allclasses_navbar_bottom"> -<li><a href="../../../../../../allclasses-noframe.html">All Classes</a></li> -</ul> -<div> -<script type="text/javascript"><!-- - allClassesLink = document.getElementById("allclasses_navbar_bottom"); - if(window==top) { - allClassesLink.style.display = "block"; - } - else { - allClassesLink.style.display = "none"; - } - //--> -</script> -</div> -<div> -<ul class="subNavList"> -<li>SUMMARY: </li> -<li>NESTED | </li> -<li>FIELD | </li> -<li><a href="#constructor_summary">CONSTR</a> | </li> -<li><a href="#method_summary">METHOD</a></li> -</ul> -<ul class="subNavList"> -<li>DETAIL: </li> -<li>FIELD | </li> -<li><a href="#constructor_detail">CONSTR</a> | </li> -<li><a href="#method_detail">METHOD</a></li> -</ul> -</div> -<a name="skip-navbar_bottom"> -<!-- --> -</a></div> -<!-- ======== END OF BOTTOM NAVBAR ======= --> -<p class="legalCopy"><small>Copyright © 2003–2015 <a href="http://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p> -</body> -</html> http://git-wip-us.apache.org/repos/asf/commons-complex/blob/b3576eeb/site-content/.svn/pristine/04/04f59602fb64c9424416ed366c0a40e9b8f925f1.svn-base ---------------------------------------------------------------------- diff --git a/site-content/.svn/pristine/04/04f59602fb64c9424416ed366c0a40e9b8f925f1.svn-base b/site-content/.svn/pristine/04/04f59602fb64c9424416ed366c0a40e9b8f925f1.svn-base deleted file mode 100644 index a567b6c..0000000 --- a/site-content/.svn/pristine/04/04f59602fb64c9424416ed366c0a40e9b8f925f1.svn-base +++ /dev/null @@ -1,161 +0,0 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> -<!-- NewPage --> -<html lang="en"> -<head> -<meta http-equiv="Content-Type" content="text/html" charset="UTF-8"> -<title>Uses of Class org.apache.commons.math3.stat.data.CertifiedDataAbstractTest (Apache Commons Math 3.5 Test API)</title> -<link rel="stylesheet" type="text/css" href="../../../../../../../stylesheet.css" title="Style"> -</head> -<body> -<script type="text/javascript"><!-- - if (location.href.indexOf('is-external=true') == -1) { - parent.document.title="Uses of Class org.apache.commons.math3.stat.data.CertifiedDataAbstractTest (Apache Commons Math 3.5 Test API)"; - } -//--> -</script> -<noscript> -<div>JavaScript is disabled on your browser.</div> -</noscript> -<!-- ========= START OF TOP NAVBAR ======= --> -<div class="topNav"><a name="navbar_top"> -<!-- --> -</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow"> -<!-- --> -</a> -<ul class="navList" title="Navigation"> -<li><a href="../../../../../../../overview-summary.html">Overview</a></li> -<li><a href="../package-summary.html">Package</a></li> -<li><a href="../../../../../../../org/apache/commons/math3/stat/data/CertifiedDataAbstractTest.html" title="class in org.apache.commons.math3.stat.data">Class</a></li> -<li class="navBarCell1Rev">Use</li> -<li><a href="../package-tree.html">Tree</a></li> -<li><a href="../../../../../../../deprecated-list.html">Deprecated</a></li> -<li><a href="../../../../../../../index-all.html">Index</a></li> -<li><a href="../../../../../../../help-doc.html">Help</a></li> -</ul> -<div class="aboutLanguage"><em><script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script></em></div> -</div> -<div class="subNav"> -<ul class="navList"> -<li>PREV</li> -<li>NEXT</li> -</ul> -<ul class="navList"> -<li><a href="../../../../../../../index.html?org/apache/commons/math3/stat/data//class-useCertifiedDataAbstractTest.html" target="_top">FRAMES</a></li> -<li><a href="CertifiedDataAbstractTest.html" target="_top">NO FRAMES</a></li> -</ul> -<ul class="navList" id="allclasses_navbar_top"> -<li><a href="../../../../../../../allclasses-noframe.html">All Classes</a></li> -</ul> -<div> -<script type="text/javascript"><!-- - allClassesLink = document.getElementById("allclasses_navbar_top"); - if(window==top) { - allClassesLink.style.display = "block"; - } - else { - allClassesLink.style.display = "none"; - } - //--> -</script> -</div> -<a name="skip-navbar_top"> -<!-- --> -</a></div> -<!-- ========= END OF TOP NAVBAR ========= --> -<div class="header"> -<h2 title="Uses of Class org.apache.commons.math3.stat.data.CertifiedDataAbstractTest" class="title">Uses of Class<br>org.apache.commons.math3.stat.data.CertifiedDataAbstractTest</h2> -</div> -<div class="classUseContainer"> -<ul class="blockList"> -<li class="blockList"> -<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing packages, and an explanation"> -<caption><span>Packages that use <a href="../../../../../../../org/apache/commons/math3/stat/data/CertifiedDataAbstractTest.html" title="class in org.apache.commons.math3.stat.data">CertifiedDataAbstractTest</a></span><span class="tabEnd"> </span></caption> -<tr> -<th class="colFirst" scope="col">Package</th> -<th class="colLast" scope="col">Description</th> -</tr> -<tbody> -<tr class="altColor"> -<td class="colFirst"><a href="#org.apache.commons.math3.stat.data">org.apache.commons.math3.stat.data</a></td> -<td class="colLast"> </td> -</tr> -</tbody> -</table> -</li> -<li class="blockList"> -<ul class="blockList"> -<li class="blockList"><a name="org.apache.commons.math3.stat.data"> -<!-- --> -</a> -<h3>Uses of <a href="../../../../../../../org/apache/commons/math3/stat/data/CertifiedDataAbstractTest.html" title="class in org.apache.commons.math3.stat.data">CertifiedDataAbstractTest</a> in <a href="../../../../../../../org/apache/commons/math3/stat/data/package-summary.html">org.apache.commons.math3.stat.data</a></h3> -<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing subclasses, and an explanation"> -<caption><span>Subclasses of <a href="../../../../../../../org/apache/commons/math3/stat/data/CertifiedDataAbstractTest.html" title="class in org.apache.commons.math3.stat.data">CertifiedDataAbstractTest</a> in <a href="../../../../../../../org/apache/commons/math3/stat/data/package-summary.html">org.apache.commons.math3.stat.data</a></span><span class="tabEnd"> </span></caption> -<tr> -<th class="colFirst" scope="col">Modifier and Type</th> -<th class="colLast" scope="col">Class and Description</th> -</tr> -<tbody> -<tr class="altColor"> -<td class="colFirst"><code>class </code></td> -<td class="colLast"><code><strong><a href="../../../../../../../org/apache/commons/math3/stat/data/LewTest.html" title="class in org.apache.commons.math3.stat.data">LewTest</a></strong></code> </td> -</tr> -<tr class="rowColor"> -<td class="colFirst"><code>class </code></td> -<td class="colLast"><code><strong><a href="../../../../../../../org/apache/commons/math3/stat/data/LotteryTest.html" title="class in org.apache.commons.math3.stat.data">LotteryTest</a></strong></code> </td> -</tr> -</tbody> -</table> -</li> -</ul> -</li> -</ul> -</div> -<!-- ======= START OF BOTTOM NAVBAR ====== --> -<div class="bottomNav"><a name="navbar_bottom"> -<!-- --> -</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow"> -<!-- --> -</a> -<ul class="navList" title="Navigation"> -<li><a href="../../../../../../../overview-summary.html">Overview</a></li> -<li><a href="../package-summary.html">Package</a></li> -<li><a href="../../../../../../../org/apache/commons/math3/stat/data/CertifiedDataAbstractTest.html" title="class in org.apache.commons.math3.stat.data">Class</a></li> -<li class="navBarCell1Rev">Use</li> -<li><a href="../package-tree.html">Tree</a></li> -<li><a href="../../../../../../../deprecated-list.html">Deprecated</a></li> -<li><a href="../../../../../../../index-all.html">Index</a></li> -<li><a href="../../../../../../../help-doc.html">Help</a></li> -</ul> -<div class="aboutLanguage"><em><script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script></em></div> -</div> -<div class="subNav"> -<ul class="navList"> -<li>PREV</li> -<li>NEXT</li> -</ul> -<ul class="navList"> -<li><a href="../../../../../../../index.html?org/apache/commons/math3/stat/data//class-useCertifiedDataAbstractTest.html" target="_top">FRAMES</a></li> -<li><a href="CertifiedDataAbstractTest.html" target="_top">NO FRAMES</a></li> -</ul> -<ul class="navList" id="allclasses_navbar_bottom"> -<li><a href="../../../../../../../allclasses-noframe.html">All Classes</a></li> -</ul> -<div> -<script type="text/javascript"><!-- - allClassesLink = document.getElementById("allclasses_navbar_bottom"); - if(window==top) { - allClassesLink.style.display = "block"; - } - else { - allClassesLink.style.display = "none"; - } - //--> -</script> -</div> -<a name="skip-navbar_bottom"> -<!-- --> -</a></div> -<!-- ======== END OF BOTTOM NAVBAR ======= --> -<p class="legalCopy"><small>Copyright © 2003–2015 <a href="http://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p> -</body> -</html> http://git-wip-us.apache.org/repos/asf/commons-complex/blob/b3576eeb/site-content/.svn/pristine/04/04f8023a929e8c97cb05b7cc4a609240423a6c28.svn-base ---------------------------------------------------------------------- diff --git a/site-content/.svn/pristine/04/04f8023a929e8c97cb05b7cc4a609240423a6c28.svn-base b/site-content/.svn/pristine/04/04f8023a929e8c97cb05b7cc4a609240423a6c28.svn-base deleted file mode 100644 index 17c5ece..0000000 --- a/site-content/.svn/pristine/04/04f8023a929e8c97cb05b7cc4a609240423a6c28.svn-base +++ /dev/null @@ -1 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml" lang="en"><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/><link rel="stylesheet" href="../.resources/report.css" type="text/css"/><link rel="shortcut icon" href="../.resources/report.gif" type="image/gif"/><title>org.apache.commons.math3.optimization.linear</title><script type="text/javascript" src="../.resources/sort.js"></script></head><body onload="initialSort(['breadcrumb', 'coveragetable'])"><div class="breadcrumb" id="breadcrumb"><span class="info"><a href="index.html" class="el_class">Classes</a><a href="../.sessions.html" class="el_session">Sessions</a></span><a href="../index.html" class="el_report">Apache Commons Math</a> > <span class="el_package">org.apache.commons.math3.optimization.linear</span></div><h1>org.apache.commons.math3.optimization.linear</h1><t able class="coverage" cellspacing="0" id="coveragetable"><thead><tr><td class="sortable" id="a" onclick="toggleSort(this)">Element</td><td class="down sortable bar" id="b" onclick="toggleSort(this)">Missed Instructions</td><td class="sortable ctr2" id="c" onclick="toggleSort(this)">Cov.</td><td class="sortable bar" id="d" onclick="toggleSort(this)">Missed Branches</td><td class="sortable ctr2" id="e" onclick="toggleSort(this)">Cov.</td><td class="sortable ctr1" id="f" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="g" onclick="toggleSort(this)">Cxty</td><td class="sortable ctr1" id="h" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="i" onclick="toggleSort(this)">Lines</td><td class="sortable ctr1" id="j" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="k" onclick="toggleSort(this)">Methods</td><td class="sortable ctr1" id="l" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="m" onclick="toggleSort(this)">Cl asses</td></tr></thead><tfoot><tr><td>Total</td><td class="bar">162 of 1,807</td><td class="ctr2">91%</td><td class="bar">23 of 207</td><td class="ctr2">89%</td><td class="ctr1">32</td><td class="ctr2">183</td><td class="ctr1">28</td><td class="ctr2">342</td><td class="ctr1">10</td><td class="ctr2">79</td><td class="ctr1">0</td><td class="ctr2">9</td></tr></tfoot><tbody><tr><td id="a1"><a href="LinearConstraint.java.html" class="el_source">LinearConstraint.java</a></td><td class="bar" id="b0"><img src="../.resources/redbar.gif" width="8" height="10" title="74" alt="74"/><img src="../.resources/greenbar.gif" width="8" height="10" title="73" alt="73"/></td><td class="ctr2" id="c7">50%</td><td class="bar" id="d1"><img src="../.resources/redbar.gif" width="6" height="10" title="7" alt="7"/><img src="../.resources/greenbar.gif" width="4" height="10" title="5" alt="5"/></td><td class="ctr2" id="e5">42%</td><td class="ctr1" id="f1">9</td><td class="ctr2" id="g2">17</td><td class="ctr1" id= "h0">16</td><td class="ctr2" id="i2">36</td><td class="ctr1" id="j0">3</td><td class="ctr2" id="k1">11</td><td class="ctr1" id="l0">0</td><td class="ctr2" id="m1">1</td></tr><tr><td id="a6"><a href="SimplexTableau.java.html" class="el_source">SimplexTableau.java</a></td><td class="bar" id="b1"><img src="../.resources/redbar.gif" width="5" height="10" title="49" alt="49"/><img src="../.resources/greenbar.gif" width="114" height="10" title="1,010" alt="1,010"/></td><td class="ctr2" id="c3">95%</td><td class="bar" id="d0"><img src="../.resources/redbar.gif" width="10" height="10" title="11" alt="11"/><img src="../.resources/greenbar.gif" width="109" height="10" title="117" alt="117"/></td><td class="ctr2" id="e2">91%</td><td class="ctr1" id="f0">14</td><td class="ctr2" id="g0">96</td><td class="ctr1" id="h1">6</td><td class="ctr2" id="i0">169</td><td class="ctr1" id="j1">3</td><td class="ctr2" id="k0">32</td><td class="ctr1" id="l1">0</td><td class="ctr2" id="m2">1</td></tr><tr><td id= "a2"><a href="LinearObjectiveFunction.java.html" class="el_source">LinearObjectiveFunction.java</a></td><td class="bar" id="b2"><img src="../.resources/redbar.gif" width="2" height="10" title="22" alt="22"/><img src="../.resources/greenbar.gif" width="8" height="10" title="73" alt="73"/></td><td class="ctr2" id="c6">77%</td><td class="bar" id="d2"><img src="../.resources/redbar.gif" width="3" height="10" title="4" alt="4"/><img src="../.resources/greenbar.gif" width="3" height="10" title="4" alt="4"/></td><td class="ctr2" id="e3">50%</td><td class="ctr1" id="f2">6</td><td class="ctr2" id="g3">14</td><td class="ctr1" id="h2">4</td><td class="ctr2" id="i3">23</td><td class="ctr1" id="j2">2</td><td class="ctr2" id="k2">10</td><td class="ctr1" id="l2">0</td><td class="ctr2" id="m3">1</td></tr><tr><td id="a4"><a href="Relationship.java.html" class="el_source">Relationship.java</a></td><td class="bar" id="b3"><img src="../.resources/redbar.gif" width="1" height="10" title="10" alt="10"/>< img src="../.resources/greenbar.gif" width="8" height="10" title="77" alt="77"/></td><td class="ctr2" id="c5">89%</td><td class="bar" id="d5"><img src="../.resources/greenbar.gif" width="2" height="10" title="3" alt="3"/></td><td class="ctr2" id="e0">100%</td><td class="ctr1" id="f3">2</td><td class="ctr2" id="g5">9</td><td class="ctr1" id="h3">1</td><td class="ctr2" id="i5">12</td><td class="ctr1" id="j3">2</td><td class="ctr2" id="k4">7</td><td class="ctr1" id="l3">0</td><td class="ctr2" id="m0">2</td></tr><tr><td id="a0"><a href="AbstractLinearOptimizer.java.html" class="el_source">AbstractLinearOptimizer.java</a></td><td class="bar" id="b4"><img src="../.resources/greenbar.gif" width="6" height="10" title="58" alt="58"/></td><td class="ctr2" id="c4">89%</td><td class="bar" id="d3"/><td class="ctr2" id="e4">50%</td><td class="ctr1" id="f4">1</td><td class="ctr2" id="g4">11</td><td class="ctr1" id="h4">1</td><td class="ctr2" id="i4">20</td><td class="ctr1" id="j4">0</td><td class= "ctr2" id="k3">10</td><td class="ctr1" id="l4">0</td><td class="ctr2" id="m4">1</td></tr><tr><td id="a5"><a href="SimplexSolver.java.html" class="el_source">SimplexSolver.java</a></td><td class="bar" id="b5"><img src="../.resources/greenbar.gif" width="38" height="10" title="342" alt="342"/></td><td class="ctr2" id="c0">100%</td><td class="bar" id="d4"><img src="../.resources/greenbar.gif" width="50" height="10" title="54" alt="54"/></td><td class="ctr2" id="e1">100%</td><td class="ctr1" id="f5">0</td><td class="ctr2" id="g1">34</td><td class="ctr1" id="h5">0</td><td class="ctr2" id="i1">78</td><td class="ctr1" id="j5">0</td><td class="ctr2" id="k5">7</td><td class="ctr1" id="l5">0</td><td class="ctr2" id="m5">1</td></tr><tr><td id="a7"><a href="UnboundedSolutionException.java.html" class="el_source">UnboundedSolutionException.java</a></td><td class="bar" id="b6"/><td class="ctr2" id="c1">100%</td><td class="bar" id="d6"/><td class="ctr2" id="e6">n/a</td><td class="ctr1" id="f6">0</ td><td class="ctr2" id="g6">1</td><td class="ctr1" id="h6">0</td><td class="ctr2" id="i6">2</td><td class="ctr1" id="j6">0</td><td class="ctr2" id="k6">1</td><td class="ctr1" id="l6">0</td><td class="ctr2" id="m6">1</td></tr><tr><td id="a3"><a href="NoFeasibleSolutionException.java.html" class="el_source">NoFeasibleSolutionException.java</a></td><td class="bar" id="b7"/><td class="ctr2" id="c2">100%</td><td class="bar" id="d7"/><td class="ctr2" id="e7">n/a</td><td class="ctr1" id="f7">0</td><td class="ctr2" id="g7">1</td><td class="ctr1" id="h7">0</td><td class="ctr2" id="i7">2</td><td class="ctr1" id="j7">0</td><td class="ctr2" id="k7">1</td><td class="ctr1" id="l7">0</td><td class="ctr2" id="m7">1</td></tr></tbody></table><div class="footer"><span class="right">Created with <a href="http://www.eclemma.org/jacoco">JaCoCo</a> 0.7.5.201505241946</span></div></body></html> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/commons-complex/blob/b3576eeb/site-content/.svn/pristine/04/04fa70c9ffe8e1c9457b901cdecbf43de21b818e.svn-base ---------------------------------------------------------------------- diff --git a/site-content/.svn/pristine/04/04fa70c9ffe8e1c9457b901cdecbf43de21b818e.svn-base b/site-content/.svn/pristine/04/04fa70c9ffe8e1c9457b901cdecbf43de21b818e.svn-base deleted file mode 100644 index ab66b2f..0000000 --- a/site-content/.svn/pristine/04/04fa70c9ffe8e1c9457b901cdecbf43de21b818e.svn-base +++ /dev/null @@ -1,92 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> -<head><meta http-equiv="content-type" content="text/html; charset=UTF-8" /> -<title>SimpleBounds xref</title> -<link type="text/css" rel="stylesheet" href="../../../../../stylesheet.css" /> -</head> -<body> -<div id="overview"><a href="../../../../../../apidocs/org/apache/commons/math3/optim/SimpleBounds.html">View Javadoc</a></div><pre> -<a class="jxr_linenumber" name="L1" href="#L1">1</a> <em class="jxr_comment">/*</em> -<a class="jxr_linenumber" name="L2" href="#L2">2</a> <em class="jxr_comment"> * Licensed to the Apache Software Foundation (ASF) under one or more</em> -<a class="jxr_linenumber" name="L3" href="#L3">3</a> <em class="jxr_comment"> * contributor license agreements. See the NOTICE file distributed with</em> -<a class="jxr_linenumber" name="L4" href="#L4">4</a> <em class="jxr_comment"> * this work for additional information regarding copyright ownership.</em> -<a class="jxr_linenumber" name="L5" href="#L5">5</a> <em class="jxr_comment"> * The ASF licenses this file to You under the Apache License, Version 2.0</em> -<a class="jxr_linenumber" name="L6" href="#L6">6</a> <em class="jxr_comment"> * (the "License"); you may not use this file except in compliance with</em> -<a class="jxr_linenumber" name="L7" href="#L7">7</a> <em class="jxr_comment"> * the License. You may obtain a copy of the License at</em> -<a class="jxr_linenumber" name="L8" href="#L8">8</a> <em class="jxr_comment"> *</em> -<a class="jxr_linenumber" name="L9" href="#L9">9</a> <em class="jxr_comment"> * <a href="http://www.apache.org/licenses/LICENSE-2." target="alexandria_uri">http://www.apache.org/licenses/LICENSE-2.</a>0</em> -<a class="jxr_linenumber" name="L10" href="#L10">10</a> <em class="jxr_comment"> *</em> -<a class="jxr_linenumber" name="L11" href="#L11">11</a> <em class="jxr_comment"> * Unless required by applicable law or agreed to in writing, software</em> -<a class="jxr_linenumber" name="L12" href="#L12">12</a> <em class="jxr_comment"> * distributed under the License is distributed on an "AS IS" BASIS,</em> -<a class="jxr_linenumber" name="L13" href="#L13">13</a> <em class="jxr_comment"> * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</em> -<a class="jxr_linenumber" name="L14" href="#L14">14</a> <em class="jxr_comment"> * See the License for the specific language governing permissions and</em> -<a class="jxr_linenumber" name="L15" href="#L15">15</a> <em class="jxr_comment"> * limitations under the License.</em> -<a class="jxr_linenumber" name="L16" href="#L16">16</a> <em class="jxr_comment"> */</em> -<a class="jxr_linenumber" name="L17" href="#L17">17</a> <strong class="jxr_keyword">package</strong> org.apache.commons.math3.optim; -<a class="jxr_linenumber" name="L18" href="#L18">18</a> -<a class="jxr_linenumber" name="L19" href="#L19">19</a> <strong class="jxr_keyword">import</strong> java.util.Arrays; -<a class="jxr_linenumber" name="L20" href="#L20">20</a> -<a class="jxr_linenumber" name="L21" href="#L21">21</a> <em class="jxr_javadoccomment">/**</em> -<a class="jxr_linenumber" name="L22" href="#L22">22</a> <em class="jxr_javadoccomment"> * Simple optimization constraints: lower and upper bounds.</em> -<a class="jxr_linenumber" name="L23" href="#L23">23</a> <em class="jxr_javadoccomment"> * The valid range of the parameters is an interval that can be infinite</em> -<a class="jxr_linenumber" name="L24" href="#L24">24</a> <em class="jxr_javadoccomment"> * (in one or both directions).</em> -<a class="jxr_linenumber" name="L25" href="#L25">25</a> <em class="jxr_javadoccomment"> * <br/></em> -<a class="jxr_linenumber" name="L26" href="#L26">26</a> <em class="jxr_javadoccomment"> * Immutable class.</em> -<a class="jxr_linenumber" name="L27" href="#L27">27</a> <em class="jxr_javadoccomment"> *</em> -<a class="jxr_linenumber" name="L28" href="#L28">28</a> <em class="jxr_javadoccomment"> * @since 3.1</em> -<a class="jxr_linenumber" name="L29" href="#L29">29</a> <em class="jxr_javadoccomment"> */</em> -<a class="jxr_linenumber" name="L30" href="#L30">30</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">class</strong> <a href="../../../../../org/apache/commons/math3/optim/SimpleBounds.html">SimpleBounds</a> <strong class="jxr_keyword">implements</strong> <a href="../../../../../org/apache/commons/math3/optim/OptimizationData.html">OptimizationData</a> { -<a class="jxr_linenumber" name="L31" href="#L31">31</a> <em class="jxr_javadoccomment">/** Lower bounds. */</em> -<a class="jxr_linenumber" name="L32" href="#L32">32</a> <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">double</strong>[] lower; -<a class="jxr_linenumber" name="L33" href="#L33">33</a> <em class="jxr_javadoccomment">/** Upper bounds. */</em> -<a class="jxr_linenumber" name="L34" href="#L34">34</a> <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">double</strong>[] upper; -<a class="jxr_linenumber" name="L35" href="#L35">35</a> -<a class="jxr_linenumber" name="L36" href="#L36">36</a> <em class="jxr_javadoccomment">/**</em> -<a class="jxr_linenumber" name="L37" href="#L37">37</a> <em class="jxr_javadoccomment"> * @param lB Lower bounds.</em> -<a class="jxr_linenumber" name="L38" href="#L38">38</a> <em class="jxr_javadoccomment"> * @param uB Upper bounds.</em> -<a class="jxr_linenumber" name="L39" href="#L39">39</a> <em class="jxr_javadoccomment"> */</em> -<a class="jxr_linenumber" name="L40" href="#L40">40</a> <strong class="jxr_keyword">public</strong> <a href="../../../../../org/apache/commons/math3/optim/SimpleBounds.html">SimpleBounds</a>(<strong class="jxr_keyword">double</strong>[] lB, -<a class="jxr_linenumber" name="L41" href="#L41">41</a> <strong class="jxr_keyword">double</strong>[] uB) { -<a class="jxr_linenumber" name="L42" href="#L42">42</a> lower = lB.clone(); -<a class="jxr_linenumber" name="L43" href="#L43">43</a> upper = uB.clone(); -<a class="jxr_linenumber" name="L44" href="#L44">44</a> } -<a class="jxr_linenumber" name="L45" href="#L45">45</a> -<a class="jxr_linenumber" name="L46" href="#L46">46</a> <em class="jxr_javadoccomment">/**</em> -<a class="jxr_linenumber" name="L47" href="#L47">47</a> <em class="jxr_javadoccomment"> * Gets the lower bounds.</em> -<a class="jxr_linenumber" name="L48" href="#L48">48</a> <em class="jxr_javadoccomment"> *</em> -<a class="jxr_linenumber" name="L49" href="#L49">49</a> <em class="jxr_javadoccomment"> * @return the lower bounds.</em> -<a class="jxr_linenumber" name="L50" href="#L50">50</a> <em class="jxr_javadoccomment"> */</em> -<a class="jxr_linenumber" name="L51" href="#L51">51</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">double</strong>[] getLower() { -<a class="jxr_linenumber" name="L52" href="#L52">52</a> <strong class="jxr_keyword">return</strong> lower.clone(); -<a class="jxr_linenumber" name="L53" href="#L53">53</a> } -<a class="jxr_linenumber" name="L54" href="#L54">54</a> <em class="jxr_javadoccomment">/**</em> -<a class="jxr_linenumber" name="L55" href="#L55">55</a> <em class="jxr_javadoccomment"> * Gets the upper bounds.</em> -<a class="jxr_linenumber" name="L56" href="#L56">56</a> <em class="jxr_javadoccomment"> *</em> -<a class="jxr_linenumber" name="L57" href="#L57">57</a> <em class="jxr_javadoccomment"> * @return the upper bounds.</em> -<a class="jxr_linenumber" name="L58" href="#L58">58</a> <em class="jxr_javadoccomment"> */</em> -<a class="jxr_linenumber" name="L59" href="#L59">59</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">double</strong>[] getUpper() { -<a class="jxr_linenumber" name="L60" href="#L60">60</a> <strong class="jxr_keyword">return</strong> upper.clone(); -<a class="jxr_linenumber" name="L61" href="#L61">61</a> } -<a class="jxr_linenumber" name="L62" href="#L62">62</a> -<a class="jxr_linenumber" name="L63" href="#L63">63</a> <em class="jxr_javadoccomment">/**</em> -<a class="jxr_linenumber" name="L64" href="#L64">64</a> <em class="jxr_javadoccomment"> * Factory method that creates instance of this class that represents</em> -<a class="jxr_linenumber" name="L65" href="#L65">65</a> <em class="jxr_javadoccomment"> * unbounded ranges.</em> -<a class="jxr_linenumber" name="L66" href="#L66">66</a> <em class="jxr_javadoccomment"> *</em> -<a class="jxr_linenumber" name="L67" href="#L67">67</a> <em class="jxr_javadoccomment"> * @param dim Number of parameters.</em> -<a class="jxr_linenumber" name="L68" href="#L68">68</a> <em class="jxr_javadoccomment"> * @return a new instance suitable for passing to an optimizer that</em> -<a class="jxr_linenumber" name="L69" href="#L69">69</a> <em class="jxr_javadoccomment"> * requires bounds specification.</em> -<a class="jxr_linenumber" name="L70" href="#L70">70</a> <em class="jxr_javadoccomment"> */</em> -<a class="jxr_linenumber" name="L71" href="#L71">71</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <a href="../../../../../org/apache/commons/math3/optim/SimpleBounds.html">SimpleBounds</a> unbounded(<strong class="jxr_keyword">int</strong> dim) { -<a class="jxr_linenumber" name="L72" href="#L72">72</a> <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">double</strong>[] lB = <strong class="jxr_keyword">new</strong> <strong class="jxr_keyword">double</strong>[dim]; -<a class="jxr_linenumber" name="L73" href="#L73">73</a> Arrays.fill(lB, Double.NEGATIVE_INFINITY); -<a class="jxr_linenumber" name="L74" href="#L74">74</a> <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">double</strong>[] uB = <strong class="jxr_keyword">new</strong> <strong class="jxr_keyword">double</strong>[dim]; -<a class="jxr_linenumber" name="L75" href="#L75">75</a> Arrays.fill(uB, Double.POSITIVE_INFINITY); -<a class="jxr_linenumber" name="L76" href="#L76">76</a> -<a class="jxr_linenumber" name="L77" href="#L77">77</a> <strong class="jxr_keyword">return</strong> <strong class="jxr_keyword">new</strong> <a href="../../../../../org/apache/commons/math3/optim/SimpleBounds.html">SimpleBounds</a>(lB, uB); -<a class="jxr_linenumber" name="L78" href="#L78">78</a> } -<a class="jxr_linenumber" name="L79" href="#L79">79</a> } -</pre> -<hr/> -<div id="footer">Copyright © 2003–2016 <a href="http://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</div> -</body> -</html>
