Skip to content

Commit f25426e

Browse files
author
Yann Richet
committed
fix html formating for javadoc
1 parent 26d2f58 commit f25426e

File tree

5 files changed

+49
-55
lines changed

5 files changed

+49
-55
lines changed

src/main/java/org/math/plot/Plot3DPanel.java

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,6 @@ public Plot3DPanel(String legendOrientation) {
6060
* @see #addLinePlot(String,Color,double[]...)
6161
* @see #addBarPlot(String, Color, double[]...)
6262
* @see #addBoxPlot(String, Color, double[][], double[][])
63-
* @see #addHistogramPlot(String, Color, double[][], double[])
64-
* @see #addStaircasePlot(String, Color, double[]...)
6563
*/
6664
public int addScatterPlot(String name, Color color, double[][] XY) {
6765
return ((Plot3DCanvas) plotCanvas).addScatterPlot(name, color, XY);
@@ -99,8 +97,6 @@ public int addScatterPlot(String name, double[] X, double[] Y, double[] Z) {
9997
* @see #addScatterPlot(String,Color,double[]...)
10098
* @see #addBarPlot(String, Color, double[]...)
10199
* @see #addBoxPlot(String, Color, double[]... )
102-
* @see #addHistogramPlot(String, Color, double[]...)
103-
* @see #addStaircasePlot(String, Color, double[]...)
104100
*/
105101
public int addLinePlot(String name, Color color, double[][] XY) {
106102
return ((Plot3DCanvas) plotCanvas).addLinePlot(name, color, XY);
@@ -138,8 +134,6 @@ public int addLinePlot(String name, double[] X, double[] Y, double[] Z) {
138134
* @see #addScatterPlot(String,Color,double[]...)
139135
* @see #addLinePlot(String, Color, double[]...)
140136
* @see #addBoxPlot(String, Color, double[]... )
141-
* @see #addHistogramPlot(String, Color, double[]...)
142-
* @see #addStaircasePlot(String, Color, double[]...)
143137
*/
144138
public int addBarPlot(String name, Color color, double[][] XY) {
145139
return ((Plot3DCanvas) plotCanvas).addBarPlot(name, color, XY);

src/main/java/org/math/plot/plots/GaussianDensityLayerPlot.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public GaussianDensityLayerPlot(Plot p, int ax, double sigma) {
4545

4646
/** Build a gauss quantile plot based on given plot. The quantile is drawn as a gaussian gradient from the base plot dots.
4747
* @param p base plot
48-
* @param a axis number of quantile : 0=X quantile, 1=Y quantile, 2=Z quantile
48+
* @param ax axis number of quantile : 0=X quantile, 1=Y quantile, 2=Z quantile
4949
* @param sigma array of standard deviation values
5050
*/
5151
public GaussianDensityLayerPlot(Plot p, int ax, double[] sigma) {

src/main/java/org/math/plot/render/AbstractDrawer.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -160,17 +160,17 @@ public int[] getScreenOffset() {
160160
*
161161
* @param pC
162162
* plot ccordinates to project in screen
163-
* @return scrren coordinates
163+
* @return screen coordinates
164164
*/
165165
public abstract int[] project(double... pC);
166166

167167
/**
168168
* Returns the screen coordinates coresponding to plot coordinates Used to
169169
* test if mouse is pointing on a plot.
170170
*
171-
* @param pC
171+
* @param rC
172172
* plot ccordinates to project in screen
173-
* @return scrren coordinates
173+
* @return screen coordinates
174174
*/
175175
public abstract int[] projectBase(double... rC);
176176

src/main/java/org/math/plot/utils/FastMath.java

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -504,8 +504,8 @@ public static double cos(double angle) {
504504
}
505505

506506
/**
507-
* Quick cosine, with accuracy of about 1.6e-3 (PI/<look-up tabs size>)
508-
* for |angle| < 6588397.0 (Integer.MAX_VALUE * (2*PI/<look-up tabs size>)),
507+
* Quick cosine, with accuracy of about 1.6e-3 (PI/'look-up tabs size')
508+
* for |angle| &lt; 6588397.0 (Integer.MAX_VALUE * (2*PI/'look-up tabs size')),
509509
* and no accuracy at all for larger values.
510510
*
511511
* @param angle Angle in radians.
@@ -550,8 +550,8 @@ public static double sin(double angle) {
550550
}
551551

552552
/**
553-
* Quick sine, with accuracy of about 1.6e-3 (PI/<look-up tabs size>)
554-
* for |angle| < 6588397.0 (Integer.MAX_VALUE * (2*PI/<look-up tabs size>)),
553+
* Quick sine, with accuracy of about 1.6e-3 (PI/'look-up tabs size')
554+
* for |angle| &lt; 6588397.0 (Integer.MAX_VALUE * (2*PI/'look-up tabs size')),
555555
* and no accuracy at all for larger values.
556556
*
557557
* @param angle Angle in radians.
@@ -1057,7 +1057,7 @@ public static double exp(double value) {
10571057
}
10581058

10591059
/**
1060-
* Quick exp, with a max relative error of about 3e-2 for |value| < 700.0 or so,
1060+
* Quick exp, with a max relative error of about 3e-2 for |value| &lt; 700.0 or so,
10611061
* and no accuracy at all outside this range.
10621062
* Derived from a note by Nicol N. Schraudolph, IDSIA, 1998.
10631063
*
@@ -1311,7 +1311,7 @@ public static double log1p(double value) {
13111311
* @param value An integer value in [1,Integer.MAX_VALUE].
13121312
* @return The integer part of the logarithm, in base 2, of the specified value,
13131313
* i.e. a result in [0,30]
1314-
* @throws IllegalArgumentException if the specified value is <= 0.
1314+
* @throws IllegalArgumentException if the specified value is &lt;= 0.
13151315
*/
13161316
public static int log2(int value) {
13171317
return NumbersUtils.log2(value);
@@ -1321,7 +1321,7 @@ public static int log2(int value) {
13211321
* @param value An integer value in [1,Long.MAX_VALUE].
13221322
* @return The integer part of the logarithm, in base 2, of the specified value,
13231323
* i.e. a result in [0,62]
1324-
* @throws IllegalArgumentException if the specified value is <= 0.
1324+
* @throws IllegalArgumentException if the specified value is &lt;= 0.
13251325
*/
13261326
public static int log2(long value) {
13271327
return NumbersUtils.log2(value);
@@ -1397,7 +1397,7 @@ public static double pow(double value, double power) {
13971397

13981398
/**
13991399
* Quick pow, with a max relative error of about 3.5e-2
1400-
* for |a^b| < 1e10, of about 0.17 for |a^b| < 1e50,
1400+
* for |a^b| &lt; 1e10, of about 0.17 for |a^b| &lt; 1e50,
14011401
* and worse accuracy above.
14021402
*
14031403
* @param value A double value, in ]0,+infinity[ (strictly positive and finite).
@@ -1413,7 +1413,7 @@ public static double powQuick(double value, double power) {
14131413

14141414
/**
14151415
* This treatment is somehow accurate for low values of |power|,
1416-
* and for |power*getExponent(value)| < 1023 or so (to stay away
1416+
* and for |power*getExponent(value)| &lt; 1023 or so (to stay away
14171417
* from double extreme magnitudes (large and small)).
14181418
*
14191419
* @param value A double value.
@@ -2302,7 +2302,7 @@ public static long multiplyBounded(long a, long b) {
23022302
* @param minValue An int value.
23032303
* @param maxValue An int value.
23042304
* @param value An int value.
2305-
* @return minValue if value < minValue, maxValue if value > maxValue, value otherwise.
2305+
* @return minValue if value &lt; minValue, maxValue if value &gt; maxValue, value otherwise.
23062306
*/
23072307
public static int toRange(int minValue, int maxValue, int value) {
23082308
return NumbersUtils.toRange(minValue, maxValue, value);
@@ -2312,7 +2312,7 @@ public static int toRange(int minValue, int maxValue, int value) {
23122312
* @param minValue A long value.
23132313
* @param maxValue A long value.
23142314
* @param value A long value.
2315-
* @return minValue if value < minValue, maxValue if value > maxValue, value otherwise.
2315+
* @return minValue if value &lt; minValue, maxValue if value &gt; maxValue, value otherwise.
23162316
*/
23172317
public static long toRange(long minValue, long maxValue, long value) {
23182318
return NumbersUtils.toRange(minValue, maxValue, value);
@@ -2322,7 +2322,7 @@ public static long toRange(long minValue, long maxValue, long value) {
23222322
* @param minValue A float value.
23232323
* @param maxValue A float value.
23242324
* @param value A float value.
2325-
* @return minValue if value < minValue, maxValue if value > maxValue, value otherwise.
2325+
* @return minValue if value &lt; minValue, maxValue if value &gt; maxValue, value otherwise.
23262326
*/
23272327
public static float toRange(float minValue, float maxValue, float value) {
23282328
return NumbersUtils.toRange(minValue, maxValue, value);
@@ -2332,19 +2332,19 @@ public static float toRange(float minValue, float maxValue, float value) {
23322332
* @param minValue A double value.
23332333
* @param maxValue A double value.
23342334
* @param value A double value.
2335-
* @return minValue if value < minValue, maxValue if value > maxValue, value otherwise.
2335+
* @return minValue if value &lt; minValue, maxValue if value &gt; maxValue, value otherwise.
23362336
*/
23372337
public static double toRange(double minValue, double maxValue, double value) {
23382338
return NumbersUtils.toRange(minValue, maxValue, value);
23392339
}
23402340

23412341
/**
2342-
* NB: Since 2*Math.PI < 2*PI, a span of 2*Math.PI does not mean full angular range.
2342+
* NB: Since 2*Math.PI &lt; 2*PI, a span of 2*Math.PI does not mean full angular range.
23432343
* ex.: isInClockwiseDomain(0.0, 2*Math.PI, -1e-20) returns false.
2344-
* ---> For full angular range, use a span > 2*Math.PI, like 2*PI_SUP constant of this class.
2344+
* For full angular range, use a span &gt; 2*Math.PI, like 2*PI_SUP constant of this class.
23452345
*
23462346
* @param startAngRad An angle, in radians.
2347-
* @param angSpanRad An angular span, >= 0.0, in radians.
2347+
* @param angSpanRad An angular span, &gt;= 0.0, in radians.
23482348
* @param angRad An angle, in radians.
23492349
* @return True if angRad is in the clockwise angular domain going from startAngRad, over angSpanRad,
23502350
* extremities included, false otherwise.
@@ -2366,7 +2366,7 @@ public static boolean isInClockwiseDomain(double startAngRad, double angSpanRad,
23662366
}
23672367
} else if (angSpanRad != angSpanRad) { // angSpanRad is NaN
23682368
return false;
2369-
} else { // angSpanRad > 2*Math.PI
2369+
} else { // angSpanRad &gt; 2*Math.PI
23702370
// we know angRad is not NaN, due to a previous test
23712371
return true;
23722372
}

0 commit comments

Comments
 (0)