CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
funct::Number Struct Reference

#include <Number.h>

Public Member Functions

 Number (double value)
 
double operator() (double x) const
 

Private Attributes

double value_
 

Detailed Description

Definition at line 6 of file Number.h.

Constructor & Destructor Documentation

◆ Number()

funct::Number::Number ( double  value)
inline

Definition at line 7 of file Number.h.

7 : value_(value) { }

Member Function Documentation

◆ operator()()

double funct::Number::operator() ( double  x) const
inline

Definition at line 8 of file Number.h.

8 { return value_; }

References value_.

Member Data Documentation

◆ value_

double funct::Number::value_
private

Definition at line 10 of file Number.h.

Referenced by operator()().

value
Definition: value.py:1
funct::Number::value_
double value_
Definition: Number.h:10