Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-92121

Add a $sigmoid helper expression

    • Type: Icon: New Feature New Feature
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Query Integration
    • Fully Compatible

      This is a common pattern and we see users type out the following formula a lot, so some shortcut syntax would be good:

      {$divide: [
          1, 
          {$add: [1, {$exp: {$multiply: [-1, <input>]}}
      ]}}
      

            Assignee:
            kyra.rameshkrishna@mongodb.com Kyra Ramesh Krishna (Inactive)
            Reporter:
            charlie.swanson@mongodb.com Charlie Swanson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: