SIFEL/PARGEF/fixnodesel.cpp File Reference

#include "fixnodesel.h"

Go to the source code of this file.

Functions

long compute_number_of_combination (long n, long k)
bool isPrime (int number)
double round_it (double number)

Function Documentation

long compute_number_of_combination ( long  n,
long  k 
)

Function compute number of combination

Parameters:
n 
k ( n ) ( k ) Output is format - number of combination

JB

Definition at line 64 of file fixnodesel.cpp.

References combination().

bool isPrime ( int  number  ) 

Function check if the input integer is prime number or not

Parameters:
number - input number for prime number detection Function return logical value - true/false true - input number is prime number false - input number is not prime number

JB

Definition at line 34 of file fixnodesel.cpp.

References long().

Referenced by fixnodesel::select_optimum_2d().

double round_it ( double  number  ) 

Function round off the number in agreement with mathematical conventions Function return double

Parameters:
number - input number for round off

JB

Definition at line 11 of file fixnodesel.cpp.

Referenced by fixnodesel::select_optimum_2d().


Generated by  doxygen 1.6.2