Move all armadillo header include to php_arma.hh
This commit is contained in:
parent
9a9f2a87f2
commit
466b3081a0
|
@ -12,7 +12,6 @@
|
|||
#include "mapval.hh"
|
||||
#include "stream_utils.hh"
|
||||
|
||||
#include <armadillo>
|
||||
#include <zend_interfaces.h>
|
||||
|
||||
namespace php_arma
|
||||
|
|
|
@ -9,8 +9,6 @@
|
|||
|
||||
#include "php_arma.hh"
|
||||
|
||||
#include <armadillo>
|
||||
|
||||
namespace php_arma
|
||||
{
|
||||
struct fill
|
||||
|
|
|
@ -10,8 +10,6 @@
|
|||
#include "subview_mat.hh"
|
||||
#include "diagonal.hh"
|
||||
|
||||
#include <armadillo>
|
||||
|
||||
namespace php_arma
|
||||
{
|
||||
template <typename T, typename T1>
|
||||
|
|
|
@ -24,11 +24,6 @@
|
|||
PHP_ARMA_DENSE_OPERATOR_EX(subview_mat, func) \
|
||||
PHP_ARMA_OPERATOR_END()
|
||||
|
||||
namespace arma
|
||||
{
|
||||
template <typename T> class conv_to;
|
||||
}
|
||||
|
||||
namespace php_arma
|
||||
{
|
||||
template <typename T, typename ChildT>
|
||||
|
|
|
@ -12,8 +12,6 @@
|
|||
#include "subview_mat.hh"
|
||||
#include "diagonal.hh"
|
||||
|
||||
#include <armadillo>
|
||||
|
||||
namespace php_arma
|
||||
{
|
||||
template <typename T, typename T1>
|
||||
|
|
|
@ -9,8 +9,6 @@
|
|||
#include "dense_matrix.hh"
|
||||
#include "subview_mat.hh"
|
||||
|
||||
#include <armadillo>
|
||||
|
||||
namespace php_arma
|
||||
{
|
||||
template <typename T, typename T1>
|
||||
|
|
|
@ -11,8 +11,6 @@
|
|||
#include "mat.hh"
|
||||
#include "subview_mat.hh"
|
||||
|
||||
#include <armadillo>
|
||||
|
||||
namespace php_arma
|
||||
{
|
||||
template <typename T, typename T1>
|
||||
|
|
|
@ -11,8 +11,6 @@
|
|||
#include "dense.hh"
|
||||
// #include "sparse.hh"
|
||||
|
||||
#include <armadillo>
|
||||
|
||||
namespace php_arma
|
||||
{
|
||||
template <typename T, bool B>
|
||||
|
|
|
@ -11,13 +11,6 @@
|
|||
#include "complex.hh"
|
||||
#include "shared_methods.hh"
|
||||
|
||||
namespace arma
|
||||
{
|
||||
template <typename T> class diagview;
|
||||
template <typename T> class spdiagview;
|
||||
template <typename T> class get_pod_type;
|
||||
}
|
||||
|
||||
namespace php_arma
|
||||
{
|
||||
template <typename T> struct mat;
|
||||
|
|
|
@ -7,8 +7,6 @@
|
|||
#include "functions.hh"
|
||||
#include "complex.hh"
|
||||
|
||||
#include <armadillo>
|
||||
|
||||
#define PHP_ARMA_FE(func) \
|
||||
ZEND_RAW_FENTRY("Arma\\" #func, ZEND_FN(func), nullptr, 0)
|
||||
|
||||
|
|
|
@ -7,8 +7,6 @@
|
|||
#include "mapval.hh"
|
||||
#include "complex.hh"
|
||||
|
||||
#include <armadillo>
|
||||
|
||||
namespace php_arma
|
||||
{
|
||||
template <typename T, bool B1, bool B2>
|
||||
|
|
|
@ -21,13 +21,6 @@
|
|||
PHP_ARMA_MAPVAL_OPERATOR_EX(cx_double, func) \
|
||||
PHP_ARMA_OPERATOR_END()
|
||||
|
||||
// Forward declarations.
|
||||
namespace arma
|
||||
{
|
||||
template <typename T> class SpMat_MapMat_val;
|
||||
template <typename T> class SpSubview_MapMat_val;
|
||||
}
|
||||
|
||||
namespace php_arma
|
||||
{
|
||||
template <typename T, bool IsSparse, bool IsSubview>
|
||||
|
|
|
@ -14,8 +14,6 @@
|
|||
#include "resizable_matrix.hh"
|
||||
#include "dense_resizable_matrix.hh"
|
||||
|
||||
#include <armadillo>
|
||||
|
||||
namespace php_arma
|
||||
{
|
||||
template <typename T>
|
||||
|
|
|
@ -10,13 +10,6 @@
|
|||
#include "php_arma.hh"
|
||||
#include "complex.hh"
|
||||
|
||||
// Forward declarations.
|
||||
namespace arma
|
||||
{
|
||||
template <typename T> class Mat;
|
||||
template <typename T> class get_pod_type;
|
||||
}
|
||||
|
||||
namespace php_arma
|
||||
{
|
||||
template <typename T> struct subview_mat;
|
||||
|
|
|
@ -8,8 +8,6 @@
|
|||
#include "mat.hh"
|
||||
#include "subview_mat.hh"
|
||||
|
||||
#include <armadillo>
|
||||
|
||||
namespace php_arma
|
||||
{
|
||||
template <typename T, typename T1>
|
||||
|
|
|
@ -8,8 +8,6 @@
|
|||
#include "subview_mat.hh"
|
||||
#include "diagonal.hh"
|
||||
|
||||
#include <armadillo>
|
||||
|
||||
namespace php_arma
|
||||
{
|
||||
template <typename T, typename T1>
|
||||
|
|
|
@ -9,8 +9,6 @@
|
|||
#include "matrix.hh"
|
||||
#include "subview_mat.hh"
|
||||
|
||||
#include <armadillo>
|
||||
|
||||
namespace php_arma
|
||||
{
|
||||
template <typename T, typename T1>
|
||||
|
|
|
@ -13,8 +13,6 @@
|
|||
#include "subview_mat.hh"
|
||||
#include "mapval.hh"
|
||||
|
||||
#include <armadillo>
|
||||
|
||||
#if PHP_VERSION_ID >= 70300
|
||||
// See https://github.com/php/php-src/blob/PHP-7.3/UPGRADING.INTERNALS section 3.1.b.
|
||||
#define EX_CONSTANT(op) RT_CONSTANT(EX(opline), op)
|
||||
|
|
|
@ -9,8 +9,6 @@
|
|||
#include "matrix.hh"
|
||||
#include "mat.hh"
|
||||
|
||||
#include <armadillo>
|
||||
|
||||
namespace php_arma
|
||||
{
|
||||
template <typename T, typename T1>
|
||||
|
|
|
@ -8,8 +8,6 @@
|
|||
#include "mapval.hh"
|
||||
#include "diagonal.hh"
|
||||
|
||||
#include <armadillo>
|
||||
|
||||
namespace php_arma
|
||||
{
|
||||
template <typename T, typename ChildT>
|
||||
|
|
|
@ -14,8 +14,6 @@
|
|||
#include "non_resizable_matrix.hh"
|
||||
#include "dense_non_resizable_matrix.hh"
|
||||
|
||||
#include <armadillo>
|
||||
|
||||
namespace php_arma
|
||||
{
|
||||
template <typename T>
|
||||
|
|
|
@ -10,12 +10,6 @@
|
|||
#include "php_arma.hh"
|
||||
#include "complex.hh"
|
||||
|
||||
namespace arma
|
||||
{
|
||||
template <typename T> class subview;
|
||||
template <typename T> class get_pod_type;
|
||||
}
|
||||
|
||||
namespace php_arma
|
||||
{
|
||||
template <typename T> struct mat;
|
||||
|
|
Reference in New Issue