ICEACE Model: Closed Economy  1.0.0
Design Documentation of ICEACE Model
 All Data Structures Files Functions Variables Typedefs Macros Pages
Functions
library_functions.c File Reference

Holds user created library functions. More...

#include "header.h"
#include "library_header.h"
Include dependency graph for library_functions.c:

Go to the source code of this file.

Functions

int random_int (int min, int max)
 Returns an integer between and including min and max. More...
 
double max (double a, double b)
 
double min (double a, double b)
 
int max_int (int a, int b)
 
int min_int (int a, int b)
 
int random_number (int a, int b)
 

Detailed Description

Holds user created library functions.

Definition in file library_functions.c.

Function Documentation

double max ( double  a,
double  b 
)

Definition at line 20 of file library_functions.c.

int max_int ( int  a,
int  b 
)

Definition at line 30 of file library_functions.c.

double min ( double  a,
double  b 
)

Definition at line 25 of file library_functions.c.

int min_int ( int  a,
int  b 
)

Definition at line 35 of file library_functions.c.

Here is the caller graph for this function:

int random_int ( int  min,
int  max 
)

Returns an integer between and including min and max.

Parameters
minThe minimum integer.
maxThe maximum integer.
Returns
The random integer.

Definition at line 15 of file library_functions.c.

Here is the caller graph for this function:

int random_number ( int  a,
int  b 
)

Definition at line 44 of file library_functions.c.