NumCpp
2.14.0
A Templatized Header Only C++ Implementation of the Python NumPy Library
Toggle main menu visibility
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
z
Functions
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
z
Variables
a
c
d
e
g
h
i
j
m
n
o
p
s
t
v
Typedefs
Enumerations
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
Data Fields
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
a
c
d
e
i
l
m
n
p
r
s
t
v
x
y
z
Typedefs
a
c
d
i
p
r
s
t
v
Enumerations
Related Symbols
Files
File List
Globals
All
Macros
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
Loading...
Searching...
No Matches
cnr.hpp
Go to the documentation of this file.
1
28
#pragma once
29
30
#include <string>
31
32
#include "
NumCpp/Core/Internal/Error.hpp
"
33
#include "
NumCpp/Core/Types.hpp
"
34
#include "
NumCpp/NdArray.hpp
"
35
#include "
NumCpp/Special/factorial.hpp
"
36
#include "
NumCpp/Special/pnr.hpp
"
37
38
namespace
nc::special
39
{
40
//============================================================================
41
// Method Description:
48
inline
double
cnr
(
uint32
n
,
uint32
r
)
49
{
50
return
pnr
(
n
,
r
) /
factorial
(
r
);
51
}
48
inline
double
cnr
(
uint32
n
,
uint32
r
) {
…
}
52
}
// namespace nc::special
Error.hpp
NdArray.hpp
Types.hpp
factorial.hpp
nc::special
Definition
airy_ai.hpp:39
nc::special::factorial
double factorial(uint32 inValue)
Definition
factorial.hpp:49
nc::special::cnr
double cnr(uint32 n, uint32 r)
Definition
cnr.hpp:48
nc::special::pnr
double pnr(uint32 n, uint32 r)
Definition
pnr.hpp:48
nc::arange
NdArray< dtype > arange(dtype inStart, dtype inStop, dtype inStep=1)
Definition
arange.hpp:59
nc::uint32
std::uint32_t uint32
Definition
Types.hpp:40
pnr.hpp
include
NumCpp
Special
cnr.hpp
Generated by
1.9.8