25 lines
550 B
C++
25 lines
550 B
C++
//
|
|
// php-armadillo/fill.cc
|
|
//
|
|
// @Author CismonX
|
|
//
|
|
|
|
#include "php_arma.hh"
|
|
#include "fill.hh"
|
|
|
|
namespace php_arma
|
|
{
|
|
void fill_init()
|
|
{
|
|
fill_ce = abstract_class_register("Fill");
|
|
const_declare(fill_ce, "NONE", fill_none);
|
|
const_declare(fill_ce, "ZEROS", fill_zeros);
|
|
const_declare(fill_ce, "ONES", fill_ones);
|
|
const_declare(fill_ce, "EYE", fill_eye);
|
|
const_declare(fill_ce, "RANDU", fill_randu);
|
|
const_declare(fill_ce, "RANDN", fill_randn);
|
|
}
|
|
|
|
zend_class_entry *fill_ce;
|
|
}
|