From 7dcd94b4d7874656879dfeea0a2b329a5d08bc64 Mon Sep 17 00:00:00 2001 From: Travis CI Date: Mon, 31 Jul 2017 17:00:11 +0000 Subject: [PATCH] Deploy to GitHub Pages: 8c2a808cbed444c2e17017ed8045ff2579fefb08 --- doc/html/index.html | 2 +- doc/html/numpy/.doctrees/environment.pickle | Bin 18362 -> 18362 bytes doc/html/reference/HTML.manifest | 1 - doc/html/reference/index.html | 3 +- doc/html/reference/object_wrappers.html | 11 - .../boost_python_long_hpp.html | 6 +- .../boost_python_numeric_hpp.html | 259 ------------------ .../boost_python_object_hpp.html | 6 +- .../boost_python_slice_hpp.html | 8 - doc/html/tutorial/index.html | 2 +- 10 files changed, 9 insertions(+), 289 deletions(-) delete mode 100644 doc/html/reference/object_wrappers/boost_python_numeric_hpp.html diff --git a/doc/html/index.html b/doc/html/index.html index 09c6fe25..d2c4c585 100644 --- a/doc/html/index.html +++ b/doc/html/index.html @@ -123,7 +123,7 @@

- +

Last revised: July 20, 2017 at 17:50:03 GMT

Last revised: July 31, 2017 at 16:59:47 GMT


diff --git a/doc/html/numpy/.doctrees/environment.pickle b/doc/html/numpy/.doctrees/environment.pickle index 3742692a93751b803c1b45c4817324a62c1c74c7..e4f377e558be6845866ca5921691c808dc0b18c8 100644 GIT binary patch delta 154 zcmdnh&$z3faYLtbef*84imGWD%I=QW;%_wNe2>e}fiTP8FUv56Ff0DoW!OQOm3yXS zxI>r)w~l87K$umQvoj(g%>3Q18A%Xk8IO2IHiTLANhhNO!Yp?v$*6@e^E4c}Guj~R Ne5>!9gMpFmrxLWkf=liKQ$VNf2hnj*l7H5N7Vm=@}&uW)^ovMlFOH|6w9`MjM2k M$Z=$|u*-600Db>GTL1t6 diff --git a/doc/html/reference/HTML.manifest b/doc/html/reference/HTML.manifest index 5a721513..4a0a14f7 100644 --- a/doc/html/reference/HTML.manifest +++ b/doc/html/reference/HTML.manifest @@ -22,7 +22,6 @@ high_level_components/boost_python_wrapper_hpp.html object_wrappers.html object_wrappers/boost_python_list_hpp.html object_wrappers/boost_python_long_hpp.html -object_wrappers/boost_python_numeric_hpp.html object_wrappers/boost_python_object_hpp.html object_wrappers/boost_python_str_hpp.html object_wrappers/boost_python_slice_hpp.html diff --git a/doc/html/reference/index.html b/doc/html/reference/index.html index c7cdb216..89f660d9 100644 --- a/doc/html/reference/index.html +++ b/doc/html/reference/index.html @@ -68,7 +68,6 @@
boost/python/dict.hpp
boost_python_list.hpp
boost/python/long.hpp
-
boost/python/numeric.hpp
boost/python/object.hpp
boost/python/str.hpp
boost/python/slice.hpp
@@ -128,7 +127,7 @@ - +

Last revised: July 20, 2017 at 17:50:10 GMT

Last revised: July 31, 2017 at 16:59:54 GMT


diff --git a/doc/html/reference/object_wrappers.html b/doc/html/reference/object_wrappers.html index 123f7fc8..7f4c6150 100644 --- a/doc/html/reference/object_wrappers.html +++ b/doc/html/reference/object_wrappers.html @@ -42,17 +42,6 @@ long_
Example
-
boost/python/numeric.hpp
-
-
Introduction
-
Class - array
-
Class - array observer functions
-
Class - array static functions
-
Example
-
boost/python/object.hpp
Introduction
diff --git a/doc/html/reference/object_wrappers/boost_python_long_hpp.html b/doc/html/reference/object_wrappers/boost_python_long_hpp.html index 1d505cfc..97c166d8 100644 --- a/doc/html/reference/object_wrappers/boost_python_long_hpp.html +++ b/doc/html/reference/object_wrappers/boost_python_long_hpp.html @@ -7,13 +7,13 @@ - +

-PrevUpHomeNext +PrevUpHomeNext

@@ -91,7 +91,7 @@
-PrevUpHomeNext +PrevUpHomeNext
diff --git a/doc/html/reference/object_wrappers/boost_python_numeric_hpp.html b/doc/html/reference/object_wrappers/boost_python_numeric_hpp.html deleted file mode 100644 index 2734a9d6..00000000 --- a/doc/html/reference/object_wrappers/boost_python_numeric_hpp.html +++ /dev/null @@ -1,259 +0,0 @@ - - - -boost/python/numeric.hpp - - - - - - - - -
-
-
-PrevUpHomeNext -
-
- - -
- -

- Exposes a TypeWrapper - for the Python array - type. -

-
-
- -

- Provides access to the array types of Numerical - Python's Numeric - and NumArray - modules. With the exception of the functions documented below, the semantics - of the constructors and member functions defined below can be fully understood - by reading the TypeWrapper - concept definition. Since array is publicly derived from object, the public - object interface applies to array instances as well. -

-

- The default behavior is to use numarray.NDArray as the associated Python - type if the numarray module is installed in the default location. Otherwise - it falls back to use Numeric.ArrayType. If neither extension module is - installed, overloads of wrapped C++ functions with numeric::array parameters - will never be matched, and other attempted uses of numeric::array will - raise an appropriate Python exception. The associated Python type can be - set manually using the set_module_and_type(...) static function. -

-
namespace boost { namespace python { namespace numeric
-{
-   class array : public object
-   {
-    public:
-      object astype();
-      template <class Type>
-      object astype(Type const& type_);
-
-      template <class Type>
-      array new_(Type const& type_) const;
-
-      template <class Sequence>
-      void resize(Sequence const& x);
-      void resize(long x1);
-      void resize(long x1, long x2);
-      ...
-      void resize(long x1, long x2,...long xn);
-
-      template <class Sequence>
-      void setshape(Sequence const& x);
-      void setshape(long x1);
-      void setshape(long x1, long x2);
-      ...
-      void setshape(long x1, long x2,...long xn);
-
-      template <class Indices, class Values>
-      void put(Indices const& indices, Values const& values);
-
-      template <class Sequence>
-      object take(Sequence const& sequence, long axis = 0);
-
-      template <class File>
-      void tofile(File const& f) const;
-
-      object factory();
-      template <class Sequence>
-      object factory(Sequence const&);
-      template <class Sequence, class Typecode>
-      object factory(Sequence const&, Typecode const&, bool copy = true, bool savespace = false);
-      template <class Sequence, class Typecode, class Type>
-      object factory(Sequence const&, Typecode const&, bool copy, bool savespace, Type const&);
-      template <class Sequence, class Typecode, class Type, class Shape>
-      object factory(Sequence const&, Typecode const&, bool copy, bool savespace, Type const&, Shape const&);
-
-      template <class T1>
-      explicit array(T1 const& x1);
-      template <class T1, class T2>
-      explicit array(T1 const& x1, T2 const& x2);
-      ...
-      template <class T1, class T2,...class Tn>
-      explicit array(T1 const& x1, T2 const& x2,...Tn const& xn);
-
-      static void set_module_and_type();
-      static void set_module_and_type(char const* package_path = 0, char const* type_name = 0);
-      static void get_module_name();
-
-      object argmax(long axis=-1);
-
-      object argmin(long axis=-1);
-
-      object argsort(long axis=-1);
-
-      void byteswap();
-
-      object copy() const;
-
-      object diagonal(long offset = 0, long axis1 = 0, long axis2 = 1) const;
-
-      void info() const;
-
-      bool is_c_array() const;
-      bool isbyteswapped() const;
-      void sort();
-      object trace(long offset = 0, long axis1 = 0, long axis2 = 1) const;
-      object type() const;
-      char typecode() const;
-
-      object getflat() const;
-      long getrank() const;
-      object getshape() const;
-      bool isaligned() const;
-      bool iscontiguous() const;
-      long itemsize() const;
-      long nelements() const;
-      object nonzero() const;
-
-      void ravel();
-      object repeat(object const& repeats, long axis=0);
-      void setflat(object const& flat);
-      void swapaxes(long axis1, long axis2);
-      str tostring() const;
-      void transpose(object const& axes = object());
-      object view() const;
-  };
-}}}
-
-
-
- -
object factory();
-template <class Sequence>
-object factory(Sequence const&);
-template <class Sequence, class Typecode>
-object factory(Sequence const&, Typecode const&, bool copy = true, bool savespace = false);
-template <class Sequence, class Typecode, class Type>
-object factory(Sequence const&, Typecode const&, bool copy, bool savespace, Type const&);
-template <class Sequence, class Typecode, class Type, class Shape>
-object factory(Sequence const&, Typecode const&, bool copy, bool savespace, Type const&, Shape const&);
-
-

- These functions map to the underlying array type's array() function family. - They are not called "array" because of the C++ limitation that - you can't define a member function with the same name as its enclosing - class. -

-
template <class Type>
-array new_(Type const&) const;
-
-

- This function maps to the underlying array type's new() function. It is - not called "new" because that is a keyword in C++. -

-
-
- -
static void set_module_and_type(char const* package_path, char const* type_name);
-static void set_module_and_type();
-
-
-

-
-
Requires
-

- package_path and type_name, if supplied, is an ntbs. -

-
Effects
-

- The first form sets the package path of the module that supplies - the type named by type_name to package_path. The second form restores - the default search behavior. The associated Python type will be searched - for only the first time it is needed, and thereafter the first time - it is needed after an invocation of set_module_and_type. -

-
-
-
static std::string get_module_name()
-
-

-
-
Effects
-

- Returns the name of the module containing the class that will be - held by new numeric::array - instances. -

-
-
-
-
- -
#include <boost/python/numeric.hpp>
-#include <boost/python/tuple.hpp>
-
-// sets the first element in a 2d numeric array
-void set_first_element(numeric::array& y, double value)
-{
-    y[make_tuple(0,0)] = value;
-}
-
-
-
- - - -
-
-
-PrevUpHomeNext -
- - diff --git a/doc/html/reference/object_wrappers/boost_python_object_hpp.html b/doc/html/reference/object_wrappers/boost_python_object_hpp.html index e753e762..228cdf33 100644 --- a/doc/html/reference/object_wrappers/boost_python_object_hpp.html +++ b/doc/html/reference/object_wrappers/boost_python_object_hpp.html @@ -6,14 +6,14 @@ - +

-PrevUpHomeNext +PrevUpHomeNext

@@ -1142,7 +1142,7 @@
-PrevUpHomeNext +PrevUpHomeNext
diff --git a/doc/html/reference/object_wrappers/boost_python_slice_hpp.html b/doc/html/reference/object_wrappers/boost_python_slice_hpp.html index 55c6ce85..a20f7df3 100644 --- a/doc/html/reference/object_wrappers/boost_python_slice_hpp.html +++ b/doc/html/reference/object_wrappers/boost_python_slice_hpp.html @@ -260,14 +260,6 @@ return l[slice(_,_,2)]; } -// Perform a multidimensional extended slice of a Numeric.array -numeric::array even_columns(numeric::array arr) -{ - // select every other column, starting with the second, of a 2-D array. - // Equivalent to "return arr[:, 1::2]" in Python. - return arr[make_tuple( slice(), slice(1,_,2))]; -} - // Perform a summation over a slice of a std::vector. double partial_sum(std::vector<double> const& Foo, const slice index) { diff --git a/doc/html/tutorial/index.html b/doc/html/tutorial/index.html index 0aec7433..e8ffe6ef 100644 --- a/doc/html/tutorial/index.html +++ b/doc/html/tutorial/index.html @@ -140,7 +140,7 @@

- +

Last revised: July 20, 2017 at 17:50:19 GMT

Last revised: July 31, 2017 at 17:00:03 GMT