You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by er...@apache.org on 2019/09/27 14:35:12 UTC

[commons-geometry] 02/06: Javadoc.

This is an automated email from the ASF dual-hosted git repository.

erans pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-geometry.git

commit 8f863c4fff877e1c7aa9f7a8f19962488589b0fd
Author: Gilles Sadowski <gi...@harfang.homelinux.org>
AuthorDate: Fri Sep 27 13:27:25 2019 +0200

    Javadoc.
---
 .../java/org/apache/commons/geometry/euclidean/oned/Vector1D.java  | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/commons-geometry-euclidean/src/main/java/org/apache/commons/geometry/euclidean/oned/Vector1D.java b/commons-geometry-euclidean/src/main/java/org/apache/commons/geometry/euclidean/oned/Vector1D.java
index a750879..7ff4a9d 100644
--- a/commons-geometry-euclidean/src/main/java/org/apache/commons/geometry/euclidean/oned/Vector1D.java
+++ b/commons-geometry-euclidean/src/main/java/org/apache/commons/geometry/euclidean/oned/Vector1D.java
@@ -374,8 +374,9 @@ public class Vector1D extends EuclideanVector<Vector1D> {
                 LinearCombination.value(a1, v1.x, a2, v2.x, a3, v3.x, a4, v4.x));
     }
 
-    /** Private class used to represent unit vectors. This allows optimizations to be performed for certain
-     * operations.
+    /**
+     * Represent unit vectors.
+     * This allows optimizations to be performed for certain operations.
      */
     public static final class Unit extends Vector1D {
         /** Unit vector (coordinates: 1). */
@@ -397,7 +398,7 @@ public class Vector1D extends EuclideanVector<Vector1D> {
         /**
          * Creates a normalized vector.
          *
-         * @param v Vector.
+         * @param v Vector coordinate.
          * @return a vector whose norm is 1.
          * @throws IllegalNormException if the norm of the given value is zero, NaN, or infinite
          */