Agile BoardAttach filesAttach ScreenshotVotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.3
    • Fix Version/s: 0.3
    • Component/s: None
    • Labels:
      None

      Description

      AbstractVector operations like times

      public Vector times(double x) {
      Vector result = clone();
      Iterator<Element> iter = iterateNonZero();
      while (iter.hasNext())

      { Element element = iter.next(); int index = element.index(); result.setQuick(index, element.get() * x); }

      return result;
      }

      should be implemented as follows

      public Vector times(double x) {
      Vector result = clone();
      Iterator<Element> iter = result.iterateNonZero();
      while (iter.hasNext())

      { Element element = iter.next(); element.set(element.get() * x); }

      return result;
      }

        Attachments

        1. MAHOUT-300.patch
          3 kB
          Robin Anil
        2. MAHOUT-300.patch
          8 kB
          Robin Anil
        3. MAHOUT-300.patch
          13 kB
          Robin Anil
        4. MAHOUT-300.patch
          7 kB
          Jake Mannix
        5. MAHOUT-300.patch
          20 kB
          Jake Mannix
        6. MAHOUT-300.patch
          24 kB
          Jake Mannix
        7. MAHOUT-300.patch
          27 kB
          Robin Anil
        8. MAHOUT-300.patch
          28 kB
          Robin Anil
        9. MAHOUT-300.patch
          30 kB
          Robin Anil

          Activity

            People

            • Assignee:
              robinanil Robin Anil
              Reporter:
              robinanil Robin Anil

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment