numpy  2.0.0
src/umath/operand_flag_tests.c.src File Reference
#include <Python.h>
#include <numpy/arrayobject.h>
#include <numpy/ufuncobject.h>
#include "numpy/npy_3kcompat.h"
#include <math.h>
#include <structmember.h>

Defines

#define NPY_NO_DEPRECATED_API   NPY_API_VERSION
#define RETVAL

Functions

static void inplace_add (char **args, npy_intp *dimensions, npy_intp *steps, void *data)
PyMODINIT_FUNC initoperand_flag_tests (void)

Variables

static PyMethodDef TestMethods []
PyUFuncGenericFunction funcs [1] = {&inplace_add}
static char types [2] = {NPY_LONG, NPY_LONG}
static void * data [1] = {NULL}

Define Documentation

#define NPY_NO_DEPRECATED_API   NPY_API_VERSION
#define RETVAL

Function Documentation

PyMODINIT_FUNC initoperand_flag_tests ( void  )
Set flags to turn off buffering for first input operand, so that result can be written back to input operand.
static void inplace_add ( char **  args,
npy_intp dimensions,
npy_intp steps,
void *  data 
) [static]

Variable Documentation

This a pointer to the above function
PyMethodDef TestMethods[] [static]
Initial value:
 {
        {NULL, NULL, 0, NULL}
}
char types[2] = {NPY_LONG, NPY_LONG} [static]
These are the input and return dtypes of logit.