| A monte carlo pin cell spectral code for nuclear engineering applications. | 
Functions for creating arrays with similar syntax to MATLAB. More...
Go to the source code of this file.
| Functions | |
| template<typename T , typename U > | |
| U * | linspace (T start, T end, int num_values) | 
| Creates an array of equally spaced values.  More... | |
| template<typename T , typename U > | |
| U * | logspace (T start, T end, int num_values) | 
| Creates an array of equal logarithmically spaced values.  More... | |
Functions for creating arrays with similar syntax to MATLAB.
| U* linspace | ( | T | start, | 
| T | end, | ||
| int | num_values | ||
| ) | 
Creates an array of equally spaced values.
Helper function to generate an array of equally spaced values between a specified start and end point. Modeled after MATLAB's linspace function.
| start | the starting point | 
| end | the ending point | 
| num_values | the number of values to create | 
| U* logspace | ( | T | start, | 
| T | end, | ||
| int | num_values | ||
| ) | 
Creates an array of equal logarithmically spaced values.
Helper function to generate an array of equal logarithmically spaced values between a specified start and end point. Modeled after MATLAB's logspace function.
| start | the starting point | 
| end | the ending point | 
| num_values | the number of values to create |