auto-sync

This commit is contained in:
rusEfi 2015-02-16 00:04:40 -06:00
parent 7d7e2bc52b
commit 6806e6cf0a
5 changed files with 15 additions and 15 deletions

View File

@ -54,24 +54,24 @@ public class Beta {
/** Maximum allowed numerical error. */
private static final double DEFAULT_EPSILON = 1E-14;
/** The constant value of ½log 2π. */
/** The constant value of 1/2 log 2pi. */
private static final double HALF_LOG_TWO_PI = .9189385332046727;
/**
* <p>
* The coefficients of the series expansion of the Δ function. This function
* The coefficients of the series expansion of the Delta function. This function
* is defined as follows
* </p>
* <center>Δ(x) = log Γ(x) - (x - 0.5) log a + a - 0.5 log 2π,</center>
* <center>Delta(x) = log Gamma(x) - (x - 0.5) log a + a - 0.5 log 2pi,</center>
* <p>
* see equation (23) in Didonato and Morris (1992). The series expansion,
* which applies for x 10, reads
* which applies for x >= 10, reads
* </p>
* <pre>
* 14
* ====
* 1 \ 2 n
* Δ(x) = --- > d (10 / x)
* delta(x) = --- > d (10 / x)
* x / n
* ====
* n = 0
@ -255,7 +255,7 @@ public class Beta {
/**
* Returns the value of log Γ(a + b) for 1 a, b 2. Based on the
* Returns the value of log Gamma(a + b) for 1 <= a, b <= 2. Based on the
* <em>NSWC Library of Mathematics Subroutines</em> double precision
* implementation, {@code DGSMLN}. In {@code BetaTest.testLogGammaSum()},
* this private method is accessed through reflection.
@ -287,7 +287,7 @@ public class Beta {
}
/**
* Returns the value of log[Γ(b) / Γ(a + b)] for a 0 and b 10. Based on
* Returns the value of log[Gamma(b) / Gamma(a + b)] for a >= 0 and b >= 10. Based on
* the <em>NSWC Library of Mathematics Subroutines</em> double precision
* implementation, {@code DLGDIV}. In
* {@code BetaTest.testLogGammaMinusLogGammaSum()}, this private method is
@ -329,7 +329,7 @@ public class Beta {
}
/**
* Returns the value of Δ(b) - Δ(a + b), with 0 a b and b 10. Based
* Returns the value of Delta(b) - Delta(a + b), with 0 <= a <= b and b => 10. Based
* on equations (26), (27) and (28) in Didonato and Morris (1992).
*
* @param a First argument.
@ -374,7 +374,7 @@ public class Beta {
}
/**
* Returns the value of Δ(p) + Δ(q) - Δ(p + q), with p, q 10. Based on
* Returns the value of Delta(p) + Delta(q) - Delta(p + q), with p, q >= 10. Based on
* the <em>NSWC Library of Mathematics Subroutines</em> double precision
* implementation, {@code DBCORR}. In
* {@code BetaTest.testSumDeltaMinusDeltaSum()}, this private method is
@ -407,7 +407,7 @@ public class Beta {
}
/**
* Returns the value of log B(p, q) for 0 x 1 and p, q > 0. Based on the
* Returns the value of log Beta(p, q) for 0 <= x <= 1 and p, q > 0. Based on the
* <em>NSWC Library of Mathematics Subroutines</em> implementation,
* {@code DBETLN}.
*

View File

@ -636,7 +636,7 @@ public class Gamma {
/**
* Returns the value of Γ(x). Based on the <em>NSWC Library of
* Returns the value of Gamma(x). Based on the <em>NSWC Library of
* Mathematics Subroutines</em> double precision implementation,
* {@code DGAMMA}.
*

View File

@ -1489,8 +1489,8 @@ public class MathArrays {
/**
* Shuffle the entries of the given array, using the
* <a href="http://en.wikipedia.org/wiki/FisherYates_shuffle#The_modern_algorithm">
* FisherYates</a> algorithm.
* <a href="http://en.wikipedia.org/wiki/Fisher-Yates_shuffle#The_modern_algorithm">
* Fisher-Yates</a> algorithm.
* The {@code start} and {@code pos} parameters select which portion
* of the array is randomized and which is left untouched.
*

View File

@ -53,7 +53,7 @@ public class Launcher extends FrameHelper {
tabbedPane.addTab("LE controls", new FlexibleControls().getPanel());
// tabbedPane.addTab("ADC", new AdcPanel(new BooleanInputsModel()).createAdcPanel());
if (SHOW_STIMULATOR && !LinkManager.isStimulationMode) {
if (SHOW_STIMULATOR && !LinkManager.isStimulationMode && !LinkManager.isLogViewerMode(port)) {
EcuStimulator stimulator = EcuStimulator.getInstance();
tabbedPane.add("ECU stimulation", stimulator.getPanel());
}

View File

@ -14,7 +14,7 @@ public class WarningPanel {
private final JPanel panel = new JPanel(new BorderLayout());
private final JLabel label = new JLabel();
private final JButton reset = new JButton("reset");
private final JButton reset = new JButton("clear warning");
public WarningPanel() {
label.setForeground(Color.red);