This repository has been archived on 2020-06-07. You can view files and clone it, but cannot push or open issues or pull requests.
php-armadillo/src/fill.cc

26 lines
609 B
C++
Raw Normal View History

//
// php-armadillo/fill.cc
//
// @Author CismonX
//
#include "arma.hh"
#include "fill.hh"
namespace php_arma
{
void fill_init()
{
fill_ce = class_register("Fill", nullptr);
fill_ce->ce_flags |= ZEND_ACC_EXPLICIT_ABSTRACT_CLASS;
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;
}