Added matlab support.

Modified some c and cpp code to help.
This commit is contained in:
Simon D. Levy
2014-09-15 18:27:38 -04:00
parent e3f41e3599
commit d25f5372f7
16 changed files with 1265 additions and 310 deletions

View File

@@ -20,12 +20,20 @@ You should have received a copy of the GNU Lesser General Public License
along with this code. If not, see <http:#www.gnu.org/licenses/>.
*/
#include "stdlib.h"
#ifdef __cplusplus
extern "C" {
#endif
/* Returns size of random-number generator in bytes */
size_t random_size(void);
/* Creates and initializes a new random-number generator */
void * random_init(int seed);
void * random_new(int seed);
/* Initializes a random-number generator */
void random_init(void * r, int seed);
/* Make a copy of the specified random-number generator */
void * random_copy(void * r);