Uploaded image for project: 'HPCC'
  1. HPCC
  2. HPCC-986

Standard HPCC Math library

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Resolved
    • Resolution: Timed Out
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:

      Description

      Obviously ML will be handling a lot of the 'heavy' math side of HPCC - for now I have put these two into our Utils sub-module - but they strike me as rather more 'standard' library than 'machine learning' :

      EXPORT Pi := 3.1415926535897932384626433;

      EXPORT REAL8 Fac(UNSIGNED2 i) := BEGINC++
      double accum = 1.0;
      for ( int j = 2; j <= i; j++ )
      accum *= (double)j;
      return accum;
      ENDC++;

        Attachments

          Activity

            People

            • Assignee:
              UpchurchButler Matthew Upchurch Butler
              Reporter:
              dabayliss David Bayliss
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: