Shiboken::Numpy::View Struct

struct Shiboken::Numpy::View

A simple view of an up to 2 dimensional, C-contiguous array of a standard type. It can be passed to compilation units that do not include the numpy headers. More...

Header: #include <sbknumpyview.h>

Public Functions

bool sameLayout(const Shiboken::Numpy::View &rhs) const
bool sameSize(const Shiboken::Numpy::View &rhs) const

Detailed Description

Member Function Documentation

bool View::sameLayout(const Shiboken::Numpy::View &rhs) const

Returns whether rhs is of the same type and dimensionality.

bool View::sameSize(const Shiboken::Numpy::View &rhs) const

Returns whether rhs is of the same type, dimensionality and size.