Chaos::Utilities::NChooseR

Number of ways to choose of `R_ elements from a set of size `N_, with no repetitions.

Windows
MacOS
Linux

References

Module

Chaos

Header

/Engine/Source/Runtime/Experimental/Chaos/Public/Chaos/Utilities.h

Include

#include "Chaos/Utilities.h"

Syntax

namespace Chaos
{
    namespace Utilities
    {
        template<class TINT>
        TINT Chaos::Utilities::NChooseR
        (
            const TINT N,
            const TINT R
        )
    }
}

Remarks

Number of ways to choose of R_ elements from a set of size N_, with no repetitions.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss