CArl
Code Arlequin / C++ implementation
common_functions.cpp File Reference
#include "common_functions.h"

Go to the source code of this file.

Functions

int kronecker_delta (unsigned int i, unsigned int j)
 
void clear_line ()
 

Function Documentation

void clear_line ( )

Definition at line 88 of file common_functions.cpp.

89 {
90  std::cout << '\r' << " " << "\r";
91 };
int kronecker_delta ( unsigned int  i,
unsigned int  j 
)

Definition at line 3 of file common_functions.cpp.

5 {
6  return i == j ? 1. : 0.;
7 };