numpy  2.0.0
src/multiarray/python_xerbla.c File Reference
#include "Python.h"

Typedefs

typedef int integer

Functions

int xerbla_ (char *srname, integer *info)

Typedef Documentation

typedef int integer
From f2c.h, this should be safe unless fortran is set to use 64 bit integers. We don't seem to have any good way to detect that.

Function Documentation

int xerbla_ ( char *  srname,
integer info 
)

From the original manpage:

XERBLA is an error handler for the LAPACK routines. It is called by an LAPACK routine if an input parameter has an invalid value. A message is printed and execution stops.
Instead of printing a message and stopping the execution, a ValueError is raised with the message.

Parameters:

srname: Subroutine name to use in error message, maximum six characters.
Spaces at the end are skipped.
System Message: WARNING/2 (<string>, line 15) Definition list ends without a blank line; unexpected unindent.
info: Number of the invalid parameter.

<

6 for name, 4 for param. num.

<

length of subroutine name