Public Types | Public Member Functions
UnarySquare Struct Reference

An example to demonstrate use of universal functions or ufuncs. More...

List of all members.

Public Types

typedef double argument_type
typedef double result_type

Public Member Functions

double operator() (double r) const

Detailed Description

An example to demonstrate use of universal functions or ufuncs.

Todo:
Calling the overloaded () operator is in a roundabout manner, find a simpler way None of the methods like np::add, np::multiply etc are supported as yet

Definition at line 24 of file example/ufunc.cpp.


Member Typedef Documentation

Definition at line 26 of file example/ufunc.cpp.

typedef double UnarySquare::result_type

Definition at line 27 of file example/ufunc.cpp.


Member Function Documentation

double UnarySquare::operator() ( double  r) const [inline]

Definition at line 29 of file example/ufunc.cpp.


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


boost_numpy
Author(s): Jim Bosch, Ankit Daftery
autogenerated on Fri Aug 28 2015 10:10:40