move files
This commit is contained in:
parent
7b89ddefac
commit
7345e93eda
|
@ -10,7 +10,7 @@
|
|||
#include "subview_mat.hh"
|
||||
#include "diagonal.hh"
|
||||
#include "mapval.hh"
|
||||
#include "stream_utils.hh"
|
||||
#include "common/stream_utils.hh"
|
||||
|
||||
#include <zend_interfaces.h>
|
||||
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
#ifndef PHP_ARMA_BASE_HH
|
||||
#define PHP_ARMA_BASE_HH
|
||||
|
||||
#include "php_arma.hh"
|
||||
#include "common/php_arma.hh"
|
||||
#include "complex.hh"
|
||||
|
||||
#ifdef PHP_ARMA_OPERATORS
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
//
|
||||
// php-armadillo/instantiable.hh
|
||||
// php-armadillo/common/instantiable.hh
|
||||
//
|
||||
// @Author CismonX
|
||||
//
|
|
@ -1,5 +1,5 @@
|
|||
//
|
||||
// php-armadillo/php_arma.hh
|
||||
// php-armadillo/common/php_arma.hh
|
||||
//
|
||||
// @Author CismonX
|
||||
//
|
|
@ -1,5 +1,5 @@
|
|||
//
|
||||
// php-armadillo/stream_utils.hh
|
||||
// php-armadillo/common/stream_utils.hh
|
||||
//
|
||||
// @Author CismonX
|
||||
//
|
|
@ -7,7 +7,7 @@
|
|||
#ifndef PHP_ARMA_COMPLEX_HH
|
||||
#define PHP_ARMA_COMPLEX_HH
|
||||
|
||||
#include "php_arma.hh"
|
||||
#include "common/php_arma.hh"
|
||||
|
||||
#include <complex>
|
||||
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
#ifndef PHP_ARMA_CONSTANTS_HH
|
||||
#define PHP_ARMA_CONSTANTS_HH
|
||||
|
||||
#include "php_arma.hh"
|
||||
#include "common/php_arma.hh"
|
||||
|
||||
namespace php_arma
|
||||
{
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
#ifndef PHP_ARMA_DENSE_HH
|
||||
#define PHP_ARMA_DENSE_HH
|
||||
|
||||
#include "php_arma.hh"
|
||||
#include "common/php_arma.hh"
|
||||
#include "complex.hh"
|
||||
|
||||
#ifdef PHP_ARMA_OPERATORS
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
#ifndef PHP_ARMA_DENSE_MATRIX_HH
|
||||
#define PHP_ARMA_DENSE_MATRIX_HH
|
||||
|
||||
#include "php_arma.hh"
|
||||
#include "common/php_arma.hh"
|
||||
|
||||
namespace php_arma
|
||||
{
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
#ifndef PHP_ARMA_DENSE_NON_RESIZABLE_MATRIX_HH
|
||||
#define PHP_ARMA_DENSE_NON_RESIZABLE_MATRIX_HH
|
||||
|
||||
#include "php_arma.hh"
|
||||
#include "common/php_arma.hh"
|
||||
|
||||
namespace php_arma
|
||||
{
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
#ifndef PHP_ARMA_DENSE_RESIZABLE_MATRIX_HH
|
||||
#define PHP_ARMA_DENSE_RESIZABLE_MATRIX_HH
|
||||
|
||||
#include "php_arma.hh"
|
||||
#include "common/php_arma.hh"
|
||||
|
||||
namespace php_arma
|
||||
{
|
||||
|
|
|
@ -7,10 +7,10 @@
|
|||
#ifndef PHP_ARMA_DIAGONAL_HH
|
||||
#define PHP_ARMA_DIAGONAL_HH
|
||||
|
||||
#include "php_arma.hh"
|
||||
#include "instantiable.hh"
|
||||
#include "common/php_arma.hh"
|
||||
#include "common/instantiable.hh"
|
||||
#include "complex.hh"
|
||||
#include "shared_methods.hh"
|
||||
#include "linear_element_access.hh"
|
||||
|
||||
namespace php_arma
|
||||
{
|
||||
|
@ -31,7 +31,7 @@ namespace php_arma
|
|||
private:
|
||||
PHP_ARMA_COMMON_DECLARE();
|
||||
|
||||
using linear = linear_element_acccess<T, diagonal>;
|
||||
using linear = linear_element_access<T, diagonal>;
|
||||
|
||||
static void ce_init(zend_class_entry*);
|
||||
};
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
#ifndef PHP_ARMA_FUNCTIONS_HH
|
||||
#define PHP_ARMA_FUNCTIONS_HH
|
||||
|
||||
#include "php_arma.hh"
|
||||
#include "common/php_arma.hh"
|
||||
|
||||
namespace php_arma
|
||||
{
|
||||
|
|
|
@ -1,17 +1,17 @@
|
|||
//
|
||||
// php-armadillo/shared_methods.cc
|
||||
// php-armadillo/linear_element_access.cc
|
||||
//
|
||||
// @Author CismonX
|
||||
//
|
||||
|
||||
#include "shared_methods.hh"
|
||||
#include "linear_element_access.hh"
|
||||
#include "mapval.hh"
|
||||
#include "diagonal.hh"
|
||||
|
||||
namespace php_arma
|
||||
{
|
||||
template <typename T, typename ChildT>
|
||||
PHP_ARMA_METHOD(linear_element_acccess, __invoke, T, ChildT)
|
||||
PHP_ARMA_METHOD(linear_element_access, __invoke, T, ChildT)
|
||||
{
|
||||
zend_long i;
|
||||
ZEND_PARSE_PARAMETERS_START(1, 1)
|
||||
|
@ -34,7 +34,7 @@ namespace php_arma
|
|||
}
|
||||
|
||||
template <typename T, typename ChildT>
|
||||
PHP_ARMA_METHOD(linear_element_acccess, at, T, ChildT)
|
||||
PHP_ARMA_METHOD(linear_element_access, at, T, ChildT)
|
||||
{
|
||||
zend_long i;
|
||||
ZEND_PARSE_PARAMETERS_START(1, 1)
|
||||
|
@ -48,5 +48,5 @@ namespace php_arma
|
|||
RETVAL_OBJ(zobj);
|
||||
}
|
||||
|
||||
PHP_ARMA_INSTANTIATE(linear_element_acccess, diagview);
|
||||
PHP_ARMA_INSTANTIATE(linear_element_access, diagview);
|
||||
}
|
|
@ -1,18 +1,18 @@
|
|||
//
|
||||
// php-armadillo/shared_methods.hh
|
||||
// php-armadillo/linear_element_access.hh
|
||||
//
|
||||
// @Author CismonX
|
||||
//
|
||||
|
||||
#ifndef PHP_ARMA_SHARED_METHODS_HH
|
||||
#define PHP_ARMA_SHARED_METHODS_HH
|
||||
#ifndef PHP_ARMA_LINEAR_ELEMENT_ACCESS_HH
|
||||
#define PHP_ARMA_LINEAR_ELEMENT_ACCESS_HH
|
||||
|
||||
#include "php_arma.hh"
|
||||
#include "common/php_arma.hh"
|
||||
|
||||
namespace php_arma
|
||||
{
|
||||
template <typename T, typename ChildT>
|
||||
struct linear_element_acccess
|
||||
struct linear_element_access
|
||||
{
|
||||
using native_t = typename ChildT::native_t;
|
||||
|
||||
|
@ -21,4 +21,4 @@ namespace php_arma
|
|||
};
|
||||
}
|
||||
|
||||
#endif // !PHP_ARMA_SHARED_METHODS_HH
|
||||
#endif // !PHP_ARMA_LINEAR_ELEMENT_ACCESS_HH
|
|
@ -7,7 +7,7 @@
|
|||
#ifndef PHP_ARMA_MAPVAL_HH
|
||||
#define PHP_ARMA_MAPVAL_HH
|
||||
|
||||
#include "php_arma.hh"
|
||||
#include "common/php_arma.hh"
|
||||
|
||||
#ifdef PHP_ARMA_OPERATORS
|
||||
|
||||
|
|
|
@ -7,8 +7,8 @@
|
|||
#ifndef PHP_ARMA_MAT_HH
|
||||
#define PHP_ARMA_MAT_HH
|
||||
|
||||
#include "php_arma.hh"
|
||||
#include "instantiable.hh"
|
||||
#include "common/php_arma.hh"
|
||||
#include "common/instantiable.hh"
|
||||
#include "complex.hh"
|
||||
|
||||
namespace php_arma
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
#ifndef PHP_ARMA_MATRIX_HH
|
||||
#define PHP_ARMA_MATRIX_HH
|
||||
|
||||
#include "php_arma.hh"
|
||||
#include "common/php_arma.hh"
|
||||
|
||||
namespace php_arma
|
||||
{
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
#ifndef PHP_ARMA_NON_RESIZABLE_HH
|
||||
#define PHP_ARMA_NON_RESIZABLE_HH
|
||||
|
||||
#include "php_arma.hh"
|
||||
#include "common/php_arma.hh"
|
||||
|
||||
namespace php_arma
|
||||
{
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
#ifndef PHP_ARMA_NON_RESIZABLE_MATRIX_HH
|
||||
#define PHP_ARMA_NON_RESIZABLE_MATRIX_HH
|
||||
|
||||
#include "php_arma.hh"
|
||||
#include "common/php_arma.hh"
|
||||
|
||||
namespace php_arma
|
||||
{
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
// @Author CismonX
|
||||
//
|
||||
|
||||
#include "php_arma.hh"
|
||||
#include "common/php_arma.hh"
|
||||
#include "constants.hh"
|
||||
#include "complex.hh"
|
||||
#include "subview.hh"
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
#include "diagonal.hh"
|
||||
#include "mat.hh"
|
||||
#include "constants.hh"
|
||||
#include "stream_utils.hh"
|
||||
#include "common/stream_utils.hh"
|
||||
|
||||
#include <variant>
|
||||
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
#ifndef PHP_ARMA_RESIZABLE_HH
|
||||
#define PHP_ARMA_RESIZABLE_HH
|
||||
|
||||
#include "php_arma.hh"
|
||||
#include "common/php_arma.hh"
|
||||
|
||||
namespace php_arma
|
||||
{
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
#ifndef PHP_ARMA_RESIZABLE_MATRIX_HH
|
||||
#define PHP_ARMA_RESIZABLE_MATRIX_HH
|
||||
|
||||
#include "php_arma.hh"
|
||||
#include "common/php_arma.hh"
|
||||
|
||||
namespace php_arma
|
||||
{
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
#ifndef PHP_ARMA_SUBVIEW_HH
|
||||
#define PHP_ARMA_SUBVIEW_HH
|
||||
|
||||
#include "php_arma.hh"
|
||||
#include "common/php_arma.hh"
|
||||
|
||||
namespace php_arma
|
||||
{
|
||||
|
|
|
@ -7,8 +7,8 @@
|
|||
#ifndef PHP_ARMA_SUBVIEW_MAT_HH
|
||||
#define PHP_ARMA_SUBVIEW_MAT_HH
|
||||
|
||||
#include "php_arma.hh"
|
||||
#include "instantiable.hh"
|
||||
#include "common/php_arma.hh"
|
||||
#include "common/instantiable.hh"
|
||||
#include "complex.hh"
|
||||
|
||||
namespace php_arma
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
#ifndef PHP_ARMA_VECTOR_HH
|
||||
#define PHP_ARMA_VECTOR_HH
|
||||
|
||||
#include "php_arma.hh"
|
||||
#include "common/php_arma.hh"
|
||||
|
||||
namespace php_arma
|
||||
{
|
||||
|
@ -19,7 +19,7 @@ namespace php_arma
|
|||
PHP_ARMA_COMMON_DECLARE();
|
||||
|
||||
private:
|
||||
PHP_FUNCTION(t);
|
||||
static PHP_FUNCTION(t);
|
||||
};
|
||||
|
||||
void vector_init();
|
||||
|
|
Reference in New Issue