Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::python::numeric::array Class Reference

#include <numeric.hpp>

Inheritance diagram for boost::python::numeric::array:
Collaboration diagram for boost::python::numeric::array:

Public Member Functions

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)
 
template<class Sequence >
void setshape (Sequence const &x)
 
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 &sequence)
 
template<class Sequence , class Typecode >
object factory (Sequence const &sequence, Typecode const &typecode_, bool copy=true, bool savespace=false)
 
template<class Sequence , class Typecode , class Type >
object factory (Sequence const &sequence, Typecode const &typecode_, bool copy, bool savespace, Type const &type)
 
template<class Sequence , class Typecode , class Type , class Shape >
object factory (Sequence const &sequence, Typecode const &typecode_, bool copy, bool savespace, Type const &type, Shape const &shape)
 
 BOOST_PYTHON_FORWARD_OBJECT_CONSTRUCTORS (array, base)
 
object argmax (long axis=-1)
 
object argmin (long axis=-1)
 
object argsort (long axis=-1)
 
object astype (object const &type=object())
 
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
 
array new_ (object type) const
 
void sort ()
 
object trace (long offset=0, long axis1=0, long axis2=1) const
 
object type () const
 
char typecode () const
 
object factory (object const &sequence=object(), object const &typecode=object(), bool copy=true, bool savespace=false, object type=object(), object shape=object())
 
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 put (object const &indices, object const &values)
 
void ravel ()
 
object repeat (object const &repeats, long axis=0)
 
void resize (object const &shape)
 
void setflat (object const &flat)
 
void setshape (object const &shape)
 
void swapaxes (long axis1, long axis2)
 
object take (object const &sequence, long axis=0) const
 
void tofile (object const &file) const
 
str tostring () const
 
void transpose (object const &axes=object())
 
object view () const
 
 BOOST_PYTHON_FORWARD_OBJECT_CONSTRUCTORS (array_base, object)
 

Static Public Member Functions

static BOOST_PYTHON_DECL void set_module_and_type (char const *package_name=0, char const *type_attribute_name=0)
 
static BOOST_PYTHON_DECL
std::string 
get_module_name ()
 

Member Function Documentation

object boost::python::numeric::aux::array_base::argmax ( long  axis = -1)
inherited
object boost::python::numeric::aux::array_base::argmin ( long  axis = -1)
inherited
object boost::python::numeric::aux::array_base::argsort ( long  axis = -1)
inherited
object boost::python::numeric::aux::array_base::astype ( object const &  type = object())
inherited

Referenced by astype().

object boost::python::numeric::array::astype ( )
inline
template<class Type >
object boost::python::numeric::array::astype ( Type const &  type_)
inline
boost::python::numeric::aux::array_base::BOOST_PYTHON_FORWARD_OBJECT_CONSTRUCTORS ( array_base  ,
object   
)
inherited
boost::python::numeric::array::BOOST_PYTHON_FORWARD_OBJECT_CONSTRUCTORS ( array  ,
base   
)
void boost::python::numeric::aux::array_base::byteswap ( )
inherited
object boost::python::numeric::aux::array_base::copy ( ) const
inherited

Referenced by factory().

object boost::python::numeric::aux::array_base::diagonal ( long  offset = 0,
long  axis1 = 0,
long  axis2 = 1 
) const
inherited
object boost::python::numeric::aux::array_base::factory ( object const &  sequence = object(),
object const &  typecode = object(),
bool  copy = true,
bool  savespace = false,
object  type = object(),
object  shape = object() 
)
inherited

Referenced by factory().

object boost::python::numeric::array::factory ( )
inline
template<class Sequence >
object boost::python::numeric::array::factory ( Sequence const &  sequence)
inline
template<class Sequence , class Typecode >
object boost::python::numeric::array::factory ( Sequence const &  sequence,
Typecode const &  typecode_,
bool  copy = true,
bool  savespace = false 
)
inline
template<class Sequence , class Typecode , class Type >
object boost::python::numeric::array::factory ( Sequence const &  sequence,
Typecode const &  typecode_,
bool  copy,
bool  savespace,
Type const &  type 
)
inline
template<class Sequence , class Typecode , class Type , class Shape >
object boost::python::numeric::array::factory ( Sequence const &  sequence,
Typecode const &  typecode_,
bool  copy,
bool  savespace,
Type const &  type,
Shape const &  shape 
)
inline
static BOOST_PYTHON_DECL std::string boost::python::numeric::array::get_module_name ( )
static
object boost::python::numeric::aux::array_base::getflat ( ) const
inherited
long boost::python::numeric::aux::array_base::getrank ( ) const
inherited
object boost::python::numeric::aux::array_base::getshape ( ) const
inherited
void boost::python::numeric::aux::array_base::info ( ) const
inherited
bool boost::python::numeric::aux::array_base::is_c_array ( ) const
inherited
bool boost::python::numeric::aux::array_base::isaligned ( ) const
inherited
bool boost::python::numeric::aux::array_base::isbyteswapped ( ) const
inherited
bool boost::python::numeric::aux::array_base::iscontiguous ( ) const
inherited
long boost::python::numeric::aux::array_base::itemsize ( ) const
inherited
long boost::python::numeric::aux::array_base::nelements ( ) const
inherited
array boost::python::numeric::aux::array_base::new_ ( object  type) const
inherited

Referenced by new_().

template<class Type >
array boost::python::numeric::array::new_ ( Type const &  type_) const
inline
object boost::python::numeric::aux::array_base::nonzero ( ) const
inherited
void boost::python::numeric::aux::array_base::put ( object const &  indices,
object const &  values 
)
inherited

Referenced by put().

template<class Indices , class Values >
void boost::python::numeric::array::put ( Indices const &  indices,
Values const &  values 
)
inline
void boost::python::numeric::aux::array_base::ravel ( )
inherited
object boost::python::numeric::aux::array_base::repeat ( object const &  repeats,
long  axis = 0 
)
inherited
void boost::python::numeric::aux::array_base::resize ( object const &  shape)
inherited

Referenced by resize().

template<class Sequence >
void boost::python::numeric::array::resize ( Sequence const &  x)
inline
static BOOST_PYTHON_DECL void boost::python::numeric::array::set_module_and_type ( char const *  package_name = 0,
char const *  type_attribute_name = 0 
)
static
void boost::python::numeric::aux::array_base::setflat ( object const &  flat)
inherited
void boost::python::numeric::aux::array_base::setshape ( object const &  shape)
inherited

Referenced by setshape().

template<class Sequence >
void boost::python::numeric::array::setshape ( Sequence const &  x)
inline
void boost::python::numeric::aux::array_base::sort ( )
inherited
void boost::python::numeric::aux::array_base::swapaxes ( long  axis1,
long  axis2 
)
inherited
object boost::python::numeric::aux::array_base::take ( object const &  sequence,
long  axis = 0 
) const
inherited

Referenced by take().

template<class Sequence >
object boost::python::numeric::array::take ( Sequence const &  sequence,
long  axis = 0 
)
inline
void boost::python::numeric::aux::array_base::tofile ( object const &  file) const
inherited

Referenced by tofile().

template<class File >
void boost::python::numeric::array::tofile ( File const &  f) const
inline
str boost::python::numeric::aux::array_base::tostring ( ) const
inherited
object boost::python::numeric::aux::array_base::trace ( long  offset = 0,
long  axis1 = 0,
long  axis2 = 1 
) const
inherited
void boost::python::numeric::aux::array_base::transpose ( object const &  axes = object())
inherited
object boost::python::numeric::aux::array_base::type ( ) const
inherited
char boost::python::numeric::aux::array_base::typecode ( ) const
inherited
object boost::python::numeric::aux::array_base::view ( ) const
inherited

The documentation for this class was generated from the following file: