Search is not available for this dataset
repo_id stringlengths 12 110 | file_path stringlengths 24 164 | content stringlengths 3 89.3M | __index_level_0__ int64 0 0 |
|---|---|---|---|
public_repos/numpy-refactor/doc/source | public_repos/numpy-refactor/doc/source/reference/c-api.generalized-ufuncs.rst | ==================================
Generalized Universal Function API
==================================
There is a general need for looping over not only functions on scalars
but also over functions on vectors (or arrays), as explained on
http://scipy.org/scipy/numpy/wiki/GeneralLoopingFunctions. We propose
to reali... | 0 |
public_repos/numpy-refactor/doc/source | public_repos/numpy-refactor/doc/source/reference/routines.io.rst | Input and output
****************
.. currentmodule:: numpy
NPZ files
---------
.. autosummary::
:toctree: generated/
load
save
savez
Text files
----------
.. autosummary::
:toctree: generated/
loadtxt
savetxt
genfromtxt
fromregex
fromstring
ndarray.tofile
ndarray.tolist
String ... | 0 |
public_repos/numpy-refactor/doc/source | public_repos/numpy-refactor/doc/source/reference/routines.set.rst | Set routines
============
.. currentmodule:: numpy
Making proper sets
------------------
.. autosummary::
:toctree: generated/
unique
Boolean operations
------------------
.. autosummary::
:toctree: generated/
in1d
intersect1d
setdiff1d
setxor1d
union1d
| 0 |
public_repos/numpy-refactor/doc/source | public_repos/numpy-refactor/doc/source/reference/arrays.ndarray.rst | .. _arrays.ndarray:
******************************************
The N-dimensional array (:class:`ndarray`)
******************************************
.. currentmodule:: numpy
An :class:`ndarray` is a (usually fixed-size) multidimensional
container of items of the same type and size. The number of dimensions
and items... | 0 |
public_repos/numpy-refactor/doc/source | public_repos/numpy-refactor/doc/source/reference/routines.matlib.rst | Matrix library (:mod:`numpy.matlib`)
************************************
.. currentmodule:: numpy
This module contains all functions in the :mod:`numpy` namespace, with
the following replacement functions that return :class:`matrices
<matrix>` instead of :class:`ndarrays <ndarray>`.
.. automodule:: numpy.matlib
| 0 |
public_repos/numpy-refactor/doc/source | public_repos/numpy-refactor/doc/source/reference/c-api.dtype.rst | Data Type API
=============
.. sectionauthor:: Travis E. Oliphant
The standard array can have 21 different data types (and has some
support for adding your own types). These data types all have an
enumerated type, an enumerated type-character, and a corresponding
array scalar Python type object (placed in a hierarchy... | 0 |
public_repos/numpy-refactor/doc/source | public_repos/numpy-refactor/doc/source/reference/c-api.ufunc.rst | UFunc API
=========
.. sectionauthor:: Travis E. Oliphant
.. index::
pair: ufunc; C-API
Constants
---------
.. cvar:: UFUNC_ERR_{HANDLER}
``{HANDLER}`` can be **IGNORE**, **WARN**, **RAISE**, or **CALL**
.. cvar:: UFUNC_{THING}_{ERR}
``{THING}`` can be **MASK**, **SHIFT**, or **FPE**, and ``{ERR}`` c... | 0 |
public_repos/numpy-refactor/doc/source | public_repos/numpy-refactor/doc/source/reference/c-api.coremath.rst | Numpy core libraries
====================
.. sectionauthor:: David Cournapeau
.. versionadded:: 1.3.0
Starting from numpy 1.3.0, we are working on separating the pure C,
"computational" code from the python dependent code. The goal is twofolds:
making the code cleaner, and enabling code reuse by other extensions out... | 0 |
public_repos/numpy-refactor/doc/source | public_repos/numpy-refactor/doc/source/reference/routines.oldnumeric.rst | ***************************************************
Old Numeric compatibility (:mod:`numpy.oldnumeric`)
***************************************************
.. currentmodule:: numpy
.. automodule:: numpy.oldnumeric
| 0 |
public_repos/numpy-refactor/doc/source | public_repos/numpy-refactor/doc/source/reference/routines.help.rst | .. _routines.help:
Numpy-specific help functions
=============================
.. currentmodule:: numpy
Finding help
------------
.. autosummary::
:toctree: generated/
lookfor
Reading help
------------
.. autosummary::
:toctree: generated/
info
source
| 0 |
public_repos/numpy-refactor/doc/source | public_repos/numpy-refactor/doc/source/reference/routines.rst | ********
Routines
********
In this chapter routine docstrings are presented, grouped by functionality.
Many docstrings contain example code, which demonstrates basic usage
of the routine. The examples assume that NumPy is imported with::
>>> import numpy as np
A convenient way to execute examples is the ``%doctest... | 0 |
public_repos/numpy-refactor/doc/source | public_repos/numpy-refactor/doc/source/reference/routines.math.rst | Mathematical functions
**********************
.. currentmodule:: numpy
Trigonometric functions
-----------------------
.. autosummary::
:toctree: generated/
sin
cos
tan
arcsin
arccos
arctan
hypot
arctan2
degrees
radians
unwrap
deg2rad
rad2deg
Hyperbolic functions
----------... | 0 |
public_repos/numpy-refactor/doc/source | public_repos/numpy-refactor/doc/source/reference/swig.testing.rst | Testing the numpy.i Typemaps
============================
Introduction
------------
Writing tests for the ``numpy.i`` `SWIG <http://www.swig.org>`_
interface file is a combinatorial headache. At present, 12 different
data types are supported, each with 23 different argument signatures,
for a total of 276 typemaps su... | 0 |
public_repos/numpy-refactor/doc/source | public_repos/numpy-refactor/doc/source/reference/ufuncs.rst | .. sectionauthor:: adapted from "Guide to Numpy" by Travis E. Oliphant
.. _ufuncs:
************************************
Universal functions (:class:`ufunc`)
************************************
.. note: XXX: section might need to be made more reference-guideish...
.. currentmodule:: numpy
.. index: ufunc, universa... | 0 |
public_repos/numpy-refactor/doc/source | public_repos/numpy-refactor/doc/source/reference/c-api.config.rst | System configuration
====================
.. sectionauthor:: Travis E. Oliphant
When NumPy is built, information about system configuration is
recorded, and is made available for extension modules using Numpy's C
API. These are mostly defined in ``numpyconfig.h`` (included in
``ndarrayobject.h``). The public symbols... | 0 |
public_repos/numpy-refactor/doc/source | public_repos/numpy-refactor/doc/source/reference/arrays.rst | .. _arrays:
*************
Array objects
*************
.. currentmodule:: numpy
NumPy provides an N-dimensional array type, the :ref:`ndarray
<arrays.ndarray>`, which describes a collection of "items" of the same
type. The items can be :ref:`indexed <arrays.indexing>` using for
example N integers.
All ndarrays are :... | 0 |
public_repos/numpy-refactor/doc/source | public_repos/numpy-refactor/doc/source/reference/routines.sort.rst | Sorting and searching
=====================
.. currentmodule:: numpy
Sorting
-------
.. autosummary::
:toctree: generated/
sort
lexsort
argsort
ndarray.sort
msort
sort_complex
Searching
---------
.. autosummary::
:toctree: generated/
argmax
nanargmax
argmin
nanargmin
argwhere... | 0 |
public_repos/numpy-refactor/doc/source | public_repos/numpy-refactor/doc/source/reference/arrays.classes.rst | #########################
Standard array subclasses
#########################
.. currentmodule:: numpy
The :class:`ndarray` in NumPy is a "new-style" Python
built-in-type. Therefore, it can be inherited from (in Python or in C)
if desired. Therefore, it can form a foundation for many useful
classes. Often whether to ... | 0 |
public_repos/numpy-refactor/doc/source | public_repos/numpy-refactor/doc/source/reference/routines.ma.rst | .. _routines.ma:
Masked array operations
***********************
.. currentmodule:: numpy
Constants
=========
.. autosummary::
:toctree: generated/
ma.MaskType
Creation
========
From existing data
~~~~~~~~~~~~~~~~~~
.. autosummary::
:toctree: generated/
ma.masked_array
ma.array
ma.copy
m... | 0 |
public_repos/numpy-refactor/doc/source | public_repos/numpy-refactor/doc/source/reference/routines.functional.rst | Functional programming
**********************
.. currentmodule:: numpy
.. autosummary::
:toctree: generated/
apply_along_axis
apply_over_axes
vectorize
frompyfunc
piecewise
| 0 |
public_repos/numpy-refactor/doc/source | public_repos/numpy-refactor/doc/source/reference/maskedarray.baseclass.rst | .. currentmodule:: numpy.ma
.. _numpy.ma.constants:
Constants of the :mod:`numpy.ma` module
=======================================
In addition to the :class:`MaskedArray` class, the :mod:`numpy.ma` module
defines several constants.
.. data:: masked
The :attr:`masked` constant is a special case of :class:`Mask... | 0 |
public_repos/numpy-refactor/doc/source | public_repos/numpy-refactor/doc/source/reference/arrays.interface.rst | .. index::
pair: array; interface
pair: array; protocol
.. _arrays.interface:
*******************
The Array Interface
*******************
.. note::
This page describes the numpy-specific API for accessing the contents of
a numpy array from other C extensions. :pep:`3118` --
:cfunc:`The Revised Buffer... | 0 |
public_repos/numpy-refactor/doc/source | public_repos/numpy-refactor/doc/source/reference/swig.interface-file.rst | Numpy.i: a SWIG Interface File for NumPy
========================================
Introduction
------------
The Simple Wrapper and Interface Generator (or `SWIG
<http://www.swig.org>`_) is a powerful tool for generating wrapper
code for interfacing to a wide variety of scripting languages.
`SWIG`_ can parse header fi... | 0 |
public_repos/numpy-refactor/doc/source | public_repos/numpy-refactor/doc/source/reference/internals.code-explanations.rst | .. currentmodule:: numpy
*************************
Numpy C Code Explanations
*************************
Fanaticism consists of redoubling your efforts when you have forgotten
your aim.
--- *George Santayana*
An authority is a person who can tell you more about something than
you really care to kno... | 0 |
public_repos/numpy-refactor/doc/source | public_repos/numpy-refactor/doc/source/reference/routines.poly.rst | Polynomials
***********
.. currentmodule:: numpy
Basics
------
.. autosummary::
:toctree: generated/
poly1d
polyval
poly
roots
Fitting
-------
.. autosummary::
:toctree: generated/
polyfit
Calculus
--------
.. autosummary::
:toctree: generated/
polyder
polyint
Arithmetic
----------... | 0 |
public_repos/numpy-refactor/doc/source | public_repos/numpy-refactor/doc/source/reference/routines.array-manipulation.rst | Array manipulation routines
***************************
.. currentmodule:: numpy
Changing array shape
====================
.. autosummary::
:toctree: generated/
reshape
ravel
ndarray.flat
ndarray.flatten
Transpose-like operations
=========================
.. autosummary::
:toctree: generated/
... | 0 |
public_repos/numpy-refactor/doc/source/reference | public_repos/numpy-refactor/doc/source/reference/figures/threefundamental.fig | #FIG 3.2
Landscape
Center
Inches
Letter
100.00
Single
-2
1200 2
6 1950 2850 4350 3450
2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5
1950 2850 4350 2850 4350 3450 1950 3450 1950 2850
2 1 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 2
2550 2850 2550 3450
2 1 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 2
3150 2850 3150 3450
2 1 0 1 0 7 50 -... | 0 |
public_repos/numpy-refactor/doc/source | public_repos/numpy-refactor/doc/source/dev/gitwash_links.txt | .. _NumPy: http://numpy.scipy.org
.. _`NumPy github`: http://github.com/numpy/numpy
.. _`NumPy mailing list`: http://scipy.org/Mailing_Lists
| 0 |
public_repos/numpy-refactor/doc/source | public_repos/numpy-refactor/doc/source/dev/index.rst | #####################
Contributing to Numpy
#####################
.. toctree::
:maxdepth: 3
gitwash/index
For core developers: see :ref:`development-workflow`.
| 0 |
public_repos/numpy-refactor/doc/source/dev | public_repos/numpy-refactor/doc/source/dev/gitwash/following_latest.rst | .. _following-latest:
=============================
Following the latest source
=============================
These are the instructions if you just want to follow the latest
*NumPy* source, but you don't need to do any development for now.
The steps are:
* :ref:`install-git`
* get local copy of the git repository... | 0 |
public_repos/numpy-refactor/doc/source/dev | public_repos/numpy-refactor/doc/source/dev/gitwash/git_intro.rst | ============
Introduction
============
These pages describe a git_ and github_ workflow for the NumPy_
project.
There are several different workflows here, for different ways of
working with *NumPy*.
This is not a comprehensive git_ reference, it's just a workflow for our
own project. It's tailored to the github_ h... | 0 |
public_repos/numpy-refactor/doc/source/dev | public_repos/numpy-refactor/doc/source/dev/gitwash/patching.rst | ================
Making a patch
================
You've discovered a bug or something else you want to change in
NumPy_ - excellent!
You've worked out a way to fix it - even better!
You want to tell us about it - best of all!
The easiest way is to make a *patch* or set of patches. Here we explain
how. Making a p... | 0 |
public_repos/numpy-refactor/doc/source/dev | public_repos/numpy-refactor/doc/source/dev/gitwash/dot2_dot3.rst | .. _dot2-dot3:
========================================
Two and three dots in difference specs
========================================
Thanks to Yarik Halchenko for this explanation.
Imagine a series of commits A, B, C, D... Imagine that there are two
branches, *topic* and *master*. You branched *topic* off *mas... | 0 |
public_repos/numpy-refactor/doc/source/dev | public_repos/numpy-refactor/doc/source/dev/gitwash/development_setup.rst | ====================================
Getting started with Git development
====================================
Basic Git setup
###############
* :ref:`install-git`.
* Introduce yourself to Git::
git config --global user.email you@yourdomain.example.com
git config --global user.name "Your Name Comes Here"... | 0 |
public_repos/numpy-refactor/doc/source/dev | public_repos/numpy-refactor/doc/source/dev/gitwash/index.rst | .. _using-git:
Working with *NumPy* source code
======================================
Contents:
.. toctree::
:maxdepth: 2
git_intro
following_latest
patching
git_development
git_resources
| 0 |
public_repos/numpy-refactor/doc/source/dev | public_repos/numpy-refactor/doc/source/dev/gitwash/configure_git.rst | .. _configure-git:
=================
Git configuration
=================
.. _git-config-basic:
Overview
========
Your personal git_ configurations are saved in the ``.gitconfig`` file in
your home directory.
Here is an example ``.gitconfig`` file::
[user]
name = Your Name
email = you@yourdoma... | 0 |
public_repos/numpy-refactor/doc/source/dev | public_repos/numpy-refactor/doc/source/dev/gitwash/development_workflow.rst | .. _development-workflow:
====================
Development workflow
====================
You already have your own forked copy of the NumPy_ repository, by
following :ref:`forking`, :ref:`set-up-fork`, you have configured git_
by following :ref:`configure-git`, and have linked the upstream
repository as explained in ... | 0 |
public_repos/numpy-refactor/doc/source/dev | public_repos/numpy-refactor/doc/source/dev/gitwash/git_links.inc | .. This (-*- rst -*-) format file contains commonly used link targets
and name substitutions. It may be included in many files,
therefore it should only contain link targets and name
substitutions. Try grepping for "^\.\. _" to find plausible
candidates for this list.
.. NOTE: reST targets are
__not... | 0 |
public_repos/numpy-refactor/doc/source/dev | public_repos/numpy-refactor/doc/source/dev/gitwash/git_resources.rst | .. _git-resources:
================
git_ resources
================
Tutorials and summaries
=======================
* `github help`_ has an excellent series of how-to guides.
* `learn.github`_ has an excellent series of tutorials
* The `pro git book`_ is a good in-depth book on git.
* A `git cheat sheet`_ is a pag... | 0 |
public_repos/numpy-refactor/doc/source/dev | public_repos/numpy-refactor/doc/source/dev/gitwash/git_development.rst | .. _git-development:
=====================
Git for development
=====================
Contents:
.. toctree::
:maxdepth: 2
development_setup
configure_git
development_workflow
| 0 |
public_repos/numpy-refactor/doc/source | public_repos/numpy-refactor/doc/source/user/basics.indexing.rst | .. _basics.indexing:
********
Indexing
********
.. seealso:: :ref:`Indexing routines <routines.indexing>`
.. automodule:: numpy.doc.indexing
| 0 |
public_repos/numpy-refactor/doc/source | public_repos/numpy-refactor/doc/source/user/basics.subclassing.rst | .. _basics.subclassing:
*******************
Subclassing ndarray
*******************
.. automodule:: numpy.doc.subclassing
| 0 |
public_repos/numpy-refactor/doc/source | public_repos/numpy-refactor/doc/source/user/basics.types.rst | **********
Data types
**********
.. seealso:: :ref:`Data type objects <arrays.dtypes>`
.. automodule:: numpy.doc.basics
| 0 |
public_repos/numpy-refactor/doc/source | public_repos/numpy-refactor/doc/source/user/basics.broadcasting.rst | ************
Broadcasting
************
.. seealso:: :class:`numpy.broadcast`
.. automodule:: numpy.doc.broadcasting
| 0 |
public_repos/numpy-refactor/doc/source | public_repos/numpy-refactor/doc/source/user/c-info.python-as-glue.rst | ********************
Using Python as glue
********************
| There is no conversation more boring than the one where everybody
| agrees.
| --- *Michel de Montaigne*
| Duct tape is like the force. It has a light side, and a dark side, and
| it holds the universe together.
| --- *Carl Zwanzig*
Ma... | 0 |
public_repos/numpy-refactor/doc/source | public_repos/numpy-refactor/doc/source/user/c-info.rst | #################
Using Numpy C-API
#################
.. toctree::
c-info.how-to-extend
c-info.python-as-glue
c-info.beyond-basics
| 0 |
public_repos/numpy-refactor/doc/source | public_repos/numpy-refactor/doc/source/user/basics.byteswapping.rst | *************
Byte-swapping
*************
.. automodule:: numpy.doc.byteswapping
| 0 |
public_repos/numpy-refactor/doc/source | public_repos/numpy-refactor/doc/source/user/basics.rst | ************
Numpy basics
************
.. toctree::
:maxdepth: 2
basics.types
basics.creation
basics.io
basics.indexing
basics.broadcasting
basics.byteswapping
basics.rec
basics.subclassing
| 0 |
public_repos/numpy-refactor/doc/source | public_repos/numpy-refactor/doc/source/user/install.rst | *****************************
Building and installing NumPy
*****************************
Binary installers
=================
In most use cases the best way to install NumPy on your system is by using an
installable binary package for your operating system.
Windows
-------
Good solutions for Windows are, The Enthou... | 0 |
public_repos/numpy-refactor/doc/source | public_repos/numpy-refactor/doc/source/user/index.rst | .. _user:
################
NumPy User Guide
################
This guide is intended as an introductory overview of NumPy and
explains how to install and make use of the most important features of
NumPy. For detailed reference documentation of the functions and
classes contained in the package, see the :ref:`reference... | 0 |
public_repos/numpy-refactor/doc/source | public_repos/numpy-refactor/doc/source/user/introduction.rst | ************
Introduction
************
.. toctree::
whatisnumpy
install
howtofind
| 0 |
public_repos/numpy-refactor/doc/source | public_repos/numpy-refactor/doc/source/user/performance.rst | ***********
Performance
***********
.. automodule:: numpy.doc.performance
| 0 |
public_repos/numpy-refactor/doc/source | public_repos/numpy-refactor/doc/source/user/basics.io.genfromtxt.rst | .. sectionauthor:: Pierre Gerard-Marchant <pierregmcode@gmail.com>
*********************************************
Importing data with :func:`~numpy.genfromtxt`
*********************************************
Numpy provides several functions to create arrays from tabular data.
We focus here on the :func:`~numpy.genfromtx... | 0 |
public_repos/numpy-refactor/doc/source | public_repos/numpy-refactor/doc/source/user/misc.rst | *************
Miscellaneous
*************
.. automodule:: numpy.doc.misc
.. automodule:: numpy.doc.methods_vs_functions
| 0 |
public_repos/numpy-refactor/doc/source | public_repos/numpy-refactor/doc/source/user/c-info.how-to-extend.rst | *******************
How to extend NumPy
*******************
| That which is static and repetitive is boring. That which is dynamic
| and random is confusing. In between lies art.
| --- *John A. Locke*
| Science is a differential equation. Religion is a boundary condition.
| --- *Alan Turing*
.. _`sec... | 0 |
public_repos/numpy-refactor/doc/source | public_repos/numpy-refactor/doc/source/user/whatisnumpy.rst | **************
What is NumPy?
**************
NumPy is the fundamental package for scientific computing in Python.
It is a Python library that provides a multidimensional array object,
various derived objects (such as masked arrays and matrices), and an
assortment of routines for fast operations on arrays, including
ma... | 0 |
public_repos/numpy-refactor/doc/source | public_repos/numpy-refactor/doc/source/user/basics.rec.rst | .. _structured_arrays:
***************************************
Structured arrays (aka "Record arrays")
***************************************
.. automodule:: numpy.doc.structured_arrays
| 0 |
public_repos/numpy-refactor/doc/source | public_repos/numpy-refactor/doc/source/user/howtofind.rst | *************************
How to find documentation
*************************
.. seealso:: :ref:`Numpy-specific help functions <routines.help>`
.. automodule:: numpy.doc.howtofind
| 0 |
public_repos/numpy-refactor/doc/source | public_repos/numpy-refactor/doc/source/user/basics.creation.rst | .. _arrays.creation:
**************
Array creation
**************
.. seealso:: :ref:`Array creation routines <routines.array-creation>`
.. automodule:: numpy.doc.creation
| 0 |
public_repos/numpy-refactor/doc/source | public_repos/numpy-refactor/doc/source/user/c-info.beyond-basics.rst | *****************
Beyond the Basics
*****************
| The voyage of discovery is not in seeking new landscapes but in having
| new eyes.
| --- *Marcel Proust*
| Discovery is seeing what everyone else has seen and thinking what no
| one else has thought.
| --- *Albert Szent-Gyorgi*
Iterating over... | 0 |
public_repos/numpy-refactor/doc/source | public_repos/numpy-refactor/doc/source/user/basics.io.rst | **************
I/O with Numpy
**************
.. toctree::
:maxdepth: 2
basics.io.genfromtxt | 0 |
public_repos/numpy-refactor/doc/source | public_repos/numpy-refactor/doc/source/_templates/indexsidebar.html | <h3>Resources</h3>
<ul>
<li><a href="http://scipy.org/">Scipy.org website</a></li>
<li> </li>
</ul>
| 0 |
public_repos/numpy-refactor/doc/source | public_repos/numpy-refactor/doc/source/_templates/indexcontent.html | {% extends "defindex.html" %}
{% block tables %}
<p><strong>Parts of the documentation:</strong></p>
<table class="contentstable" align="center"><tr>
<td width="50%">
<p class="biglink"><a class="biglink" href="{{ pathto("user/index") }}">Numpy User Guide</a><br/>
<span class="linkdescr">start he... | 0 |
public_repos/numpy-refactor/doc/source | public_repos/numpy-refactor/doc/source/_templates/layout.html | {% extends "!layout.html" %}
{% block rootrellink %}
<li><a href="{{ pathto('index') }}">{{ shorttitle }}</a>{{ reldelim1 }}</li>
{% endblock %}
{% block sidebarsearch %}
{%- if sourcename %}
<ul class="this-page-menu">
{%- if 'reference/generated' in sourcename %}
<li><a href="/numpy/docs/{{ sourcename.replace('ref... | 0 |
public_repos/numpy-refactor/doc/source/_templates | public_repos/numpy-refactor/doc/source/_templates/autosummary/class.rst | {% extends "!autosummary/class.rst" %}
{% block methods %}
{% if methods %}
.. HACK
.. autosummary::
:toctree:
{% for item in methods %}
{{ name }}.{{ item }}
{%- endfor %}
{% endif %}
{% endblock %}
{% block attributes %}
{% if attributes %}
.. HACK
.. autosummary::
... | 0 |
public_repos/numpy-refactor/doc/source | public_repos/numpy-refactor/doc/source/_static/scipy.css | @import "default.css";
/**
* Spacing fixes
*/
div.body p, div.body dd, div.body li {
line-height: 125%;
}
ul.simple {
margin-top: 0;
margin-bottom: 0;
padding-top: 0;
padding-bottom: 0;
}
/* spacing around blockquoted fields in parameters/attributes/returns */
td.field-body > blockquote {
m... | 0 |
public_repos/numpy-refactor/doc | public_repos/numpy-refactor/doc/neps/newbugtracker.rst | Some release managers of both numpy and scipy are becoming more and more
disatisfied with the current development workflow, in particular for bug
tracking. This document is a tentative to explain some problematic scenario,
current trac limitations, and what can be done about it.
Scenario
========
new release
--------... | 0 |
public_repos/numpy-refactor/doc | public_repos/numpy-refactor/doc/neps/npy-format.txt | Title: A Simple File Format for NumPy Arrays
Discussions-To: numpy-discussion@mail.scipy.org
Version: $Revision$
Last-Modified: $Date$
Author: Robert Kern <robert.kern@gmail.com>
Status: Draft
Type: Standards Track
Content-Type: text/plain
Created: 20-Dec-2007
Abstract
We propose a standard binary file format (N... | 0 |
public_repos/numpy-refactor/doc | public_repos/numpy-refactor/doc/neps/pep_buffer.txt | :PEP: 3118
:Title: Revising the buffer protocol
:Version: $Revision$
:Last-Modified: $Date$
:Authors: Travis Oliphant <oliphant@ee.byu.edu>, Carl Banks <pythondev@aerojockey.com>
:Status: Draft
:Type: Standards Track
:Content-Type: text/x-rst
:Created: 28-Aug-2006
:Python-Version: 3000
Abstract
========
This PEP prop... | 0 |
public_repos/numpy-refactor/doc | public_repos/numpy-refactor/doc/neps/math_config_clean.txt | ===========================================================
Cleaning the math configuration of numpy.core
===========================================================
:Author: David Cournapeau
:Contact: david@ar.media.kyoto-u.ac.jp
:Date: 2008-09-04
Executive summary
=================
Before building numpy.core, we u... | 0 |
public_repos/numpy-refactor/doc | public_repos/numpy-refactor/doc/neps/datetime-proposal.rst | ====================================================================
A proposal for implementing some date/time types in NumPy
====================================================================
:Author: Travis Oliphant
:Contact: oliphant@enthought.com
:Date: 2009-06-09
Revised only slightly from the third proposal... | 0 |
public_repos/numpy-refactor/doc | public_repos/numpy-refactor/doc/neps/structured_array_extensions.txt |
1. Create with-style context that makes "named-columns" available as names in the namespace.
with np.columns(array):
price = unit * quantityt
2. Allow structured arrays to be sliced by their column (i.e. one additional indexing option for structured arrays) so that a[:4, 'foo':'bar'] would be allowed.... | 0 |
public_repos/numpy-refactor/doc | public_repos/numpy-refactor/doc/neps/datetime-proposal3.rst | ====================================================================
A (third) proposal for implementing some date/time types in NumPy
====================================================================
:Author: Francesc Alted i Abad
:Contact: faltet@pytables.com
:Author: Ivan Vilata i Balaguer
:Contact: ivan@selido... | 0 |
public_repos/numpy-refactor/doc | public_repos/numpy-refactor/doc/neps/groupby_additions.rst | ====================================================================
A proposal for adding groupby functionality to NumPy
====================================================================
:Author: Travis Oliphant
:Contact: oliphant@enthought.com
:Date: 2010-04-27
Executive summary
=================
NumPy provid... | 0 |
public_repos/numpy-refactor/doc | public_repos/numpy-refactor/doc/neps/generalized-ufuncs.rst | ===============================
Generalized Universal Functions
===============================
There is a general need for looping over not only functions on scalars
but also over functions on vectors (or arrays), as explained on
http://scipy.org/scipy/numpy/wiki/GeneralLoopingFunctions. We propose
to realize this c... | 0 |
public_repos/numpy-refactor/doc | public_repos/numpy-refactor/doc/neps/warnfix.txt | ===========================================================
A proposal to build numpy without warning with a big set of
warning flags
===========================================================
:Author: David Cournapeau
:Contact: david@ar.media.kyoto-u.ac.jp
:Date: 2008-09-04
Executive summary
=================
When... | 0 |
public_repos/numpy-refactor/doc | public_repos/numpy-refactor/doc/sphinxext/traitsdoc.py | """
=========
traitsdoc
=========
Sphinx extension that handles docstrings in the Numpy standard format, [1]
and support Traits [2].
This extension can be used as a replacement for ``numpydoc`` when support
for Traits is required.
.. [1] http://projects.scipy.org/numpy/wiki/CodingStyleGuidelines#docstring-standard
.... | 0 |
public_repos/numpy-refactor/doc | public_repos/numpy-refactor/doc/sphinxext/MANIFEST.in | recursive-include tests *.py
include *.txt
| 0 |
public_repos/numpy-refactor/doc | public_repos/numpy-refactor/doc/sphinxext/compiler_unparse.py | """ Turn compiler.ast structures back into executable python code.
The unparse method takes a compiler.ast tree and transforms it back into
valid python code. It is incomplete and currently only works for
import statements, function calls, function definitions, assignments, and
basic expressions.
... | 0 |
public_repos/numpy-refactor/doc | public_repos/numpy-refactor/doc/sphinxext/docscrape_sphinx.py | import re, inspect, textwrap, pydoc
import sphinx
from docscrape import NumpyDocString, FunctionDoc, ClassDoc
class SphinxDocString(NumpyDocString):
def __init__(self, docstring, config={}):
self.use_plots = config.get('use_plots', False)
NumpyDocString.__init__(self, docstring, config=config)
... | 0 |
public_repos/numpy-refactor/doc | public_repos/numpy-refactor/doc/sphinxext/LICENSE.txt | -------------------------------------------------------------------------------
The files
- numpydoc.py
- autosummary.py
- autosummary_generate.py
- docscrape.py
- docscrape_sphinx.py
- phantom_import.py
have the following license:
Copyright (C) 2008 Stefan van der Walt <stefan@mentat.z... | 0 |
public_repos/numpy-refactor/doc | public_repos/numpy-refactor/doc/sphinxext/README.txt | =====================================
numpydoc -- Numpy's Sphinx extensions
=====================================
Numpy's documentation uses several custom extensions to Sphinx. These
are shipped in this ``numpydoc`` package, in case you want to make use
of them in third-party projects.
The following extensions are ... | 0 |
public_repos/numpy-refactor/doc | public_repos/numpy-refactor/doc/sphinxext/phantom_import.py | """
==============
phantom_import
==============
Sphinx extension to make directives from ``sphinx.ext.autodoc`` and similar
extensions to use docstrings loaded from an XML file.
This extension loads an XML file in the Pydocweb format [1] and
creates a dummy module that contains the specified docstrings. This
can be ... | 0 |
public_repos/numpy-refactor/doc | public_repos/numpy-refactor/doc/sphinxext/setup.py | from distutils.core import setup
import setuptools
import sys, os
version = "0.4"
setup(
name="numpydoc",
packages=["numpydoc"],
package_dir={"numpydoc": ""},
version=version,
description="Sphinx extension to support docstrings in Numpy format",
# classifiers from http://pypi.python.org/pypi?%... | 0 |
public_repos/numpy-refactor/doc | public_repos/numpy-refactor/doc/sphinxext/plot_directive.py | """
A special directive for generating a matplotlib plot.
.. warning::
This is a hacked version of plot_directive.py from Matplotlib.
It's very much subject to change!
Usage
-----
Can be used like this::
.. plot:: examples/example.py
.. plot::
import matplotlib.pyplot as plt
plt.plot... | 0 |
public_repos/numpy-refactor/doc | public_repos/numpy-refactor/doc/sphinxext/comment_eater.py | from cStringIO import StringIO
import compiler
import inspect
import textwrap
import tokenize
from compiler_unparse import unparse
class Comment(object):
""" A comment block.
"""
is_comment = True
def __init__(self, start_lineno, end_lineno, text):
# int : The first line number in the block. ... | 0 |
public_repos/numpy-refactor/doc | public_repos/numpy-refactor/doc/sphinxext/docscrape.py | """Extract reference documentation from the NumPy source tree.
"""
import inspect
import textwrap
import re
import pydoc
from StringIO import StringIO
from warnings import warn
class Reader(object):
"""A line-based string reader.
"""
def __init__(self, data):
"""
Parameters
-----... | 0 |
public_repos/numpy-refactor/doc | public_repos/numpy-refactor/doc/sphinxext/__init__.py | from numpydoc import setup
| 0 |
public_repos/numpy-refactor/doc | public_repos/numpy-refactor/doc/sphinxext/numpydoc.py | """
========
numpydoc
========
Sphinx extension that handles docstrings in the Numpy standard format. [1]
It will:
- Convert Parameters etc. sections to field lists.
- Convert See Also section to a See also entry.
- Renumber references.
- Extract the signature from the docstring, if it can't be determined otherwise.... | 0 |
public_repos/numpy-refactor/doc/sphinxext | public_repos/numpy-refactor/doc/sphinxext/tests/test_docscrape.py | # -*- encoding:utf-8 -*-
import sys, os
sys.path.append(os.path.join(os.path.dirname(__file__), '..'))
from docscrape import NumpyDocString, FunctionDoc, ClassDoc
from docscrape_sphinx import SphinxDocString, SphinxClassDoc
from nose.tools import *
doc_txt = '''\
numpy.multivariate_normal(mean, cov, shape=None, sp... | 0 |
public_repos/numpy-refactor/doc | public_repos/numpy-refactor/doc/release/2.0.0-notes.rst | =========================
NumPy 2.0.0 Release Notes
=========================
Highlights
==========
New features
============
Changes
=======
| 0 |
public_repos/numpy-refactor/doc | public_repos/numpy-refactor/doc/release/1.5.0-notes.rst | =========================
NumPy 1.5.0 Release Notes
=========================
Highlights
==========
Python 3 compatibility
----------------------
This is the first NumPy release which is compatible with Python 3. Support for
Python 3 and Python 2 is done from a single code base. Extensive notes on
changes can be fo... | 0 |
public_repos/numpy-refactor/doc | public_repos/numpy-refactor/doc/release/time_based_proposal.rst | .. vim:syntax=rst
Introduction
============
This document proposes some enhancements for numpy and scipy releases.
Successive numpy and scipy releases are too far apart from a time point of
view - some people who are in the numpy release team feel that it cannot
improve without a bit more formal release process. The ... | 0 |
public_repos/numpy-refactor/doc | public_repos/numpy-refactor/doc/release/1.4.0-notes.rst | =========================
NumPy 1.4.0 Release Notes
=========================
This minor includes numerous bug fixes, as well as a few new features. It
is backward compatible with 1.3.0 release.
Highlights
==========
* New datetime dtype support to deal with dates in arrays
* Faster import time
* Extended array wr... | 0 |
public_repos/numpy-refactor/doc | public_repos/numpy-refactor/doc/release/1.3.0-notes.rst | =========================
NumPy 1.3.0 Release Notes
=========================
This minor includes numerous bug fixes, official python 2.6 support, and
several new features such as generalized ufuncs.
Highlights
==========
Python 2.6 support
~~~~~~~~~~~~~~~~~~
Python 2.6 is now supported on all previously supported ... | 0 |
public_repos/numpy-refactor/doc | public_repos/numpy-refactor/doc/newdtype_example/setup.py |
from numpy.distutils.core import setup
def configuration(parent_package = '', top_path=None):
from numpy.distutils.misc_util import Configuration
config = Configuration('floatint',parent_package,top_path)
config.add_extension('floatint',
sources = ['floatint.c']);
return conf... | 0 |
public_repos/numpy-refactor/doc | public_repos/numpy-refactor/doc/newdtype_example/example.py | import floatint.floatint as ff
import numpy as np
# Setting using array is hard because
# The parser doesn't stop at tuples always
# So, the setitem code will be called with scalars on the
# wrong shaped array.
# But we can get a view as an ndarray of the given type:
g = np.array([1,2,3,4,5,6,7,8]).view(ff.floatint... | 0 |
public_repos/numpy-refactor/doc | public_repos/numpy-refactor/doc/newdtype_example/floatint.c |
#include "Python.h"
#include "structmember.h" /* for offsetof macro if needed */
#include "numpy/arrayobject.h"
/* Use a Python float as the cannonical type being added
*/
typedef struct _floatint {
PyObject_HEAD
npy_int32 first;
npy_int32 last;
} PyFloatIntObject;
static PyTypeObject PyFloatInt_Type =... | 0 |
public_repos/numpy-refactor/doc | public_repos/numpy-refactor/doc/pyrex/numpyx.c | /* Generated by Pyrex 0.9.5.1 on Wed Jan 31 11:57:10 2007 */
#include "Python.h"
#include "structmember.h"
#ifndef PY_LONG_LONG
#define PY_LONG_LONG LONG_LONG
#endif
#ifdef __cplusplus
#define __PYX_EXTERN_C extern "C"
#else
#define __PYX_EXTERN_C extern
#endif
__PYX_EXTERN_C double pow(double, double);
#include "st... | 0 |
public_repos/numpy-refactor/doc | public_repos/numpy-refactor/doc/pyrex/README.txt | WARNING: this code is deprecated and slated for removal soon. See the
doc/cython directory for the replacement, which uses Cython (the actively
maintained version of Pyrex).
| 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.