Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Annotating the ufuncs

オープン
#230 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
25/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
numpy, python
領域
tooling

調査の方向性

まず前提となる Issue #88 を解決し、その後、この issue のグループ化されたチェックリストを ufunc アノテーションの対象範囲として使用してください。payload にはソースファイルやテストの指定はありません。完了とは、一覧に残っている ufunc のシグネチャと操作をカバーすることを意味し、指定されている場合は、それらの call、reduction、accumulation、outer、linear-algebra の各バリアントも含みます。

索引モデルが issue の本文から書いたものです。

説明

numpy.ufunc stubs: Enhancement

requires #88


1 in, 1 out

  • isnat
    • __call__ - #328
    • at
  • signbit
    • __call__ - #372
    • at
  • is{finite,inf,nan}
    • __call__ - #320
    • at
  • bitwise_count
  • logical_not
    • __call__ - #324
    • at
  • spacing
    • __call__ - #363
    • at
  • [arc]{cos,sin,tan}[h], exp[{2,m1}], log[{2,10,1p}], rint, sqrt
    • __call__ - #379
    • at
  • cbrt, fabs, deg2rad, degrees, radians, rad2deg
    • __call__ - #373
    • at
  • invert
  • ceil, floor, trunc
  • absolute
  • conj[ugate], reciprocal, square
  • sign, negative, positive
strings
  • is{alnum,alpha,numeric,decimal,digit,space,lower,upper,title}
    • __call__
    • at
  • str_len
    • __call__
    • at
_core.umath
  • _core.umath._[{l,r}]strip_whitespace - #404
  • _core.umath._ones_like
linalg._umath_linalg

all have signature f->f; d->d; F->F; D->D

  • det: (m,m)->(), {fdFD}->$1
  • qr_r_raw: (m,n)->(p), {dD}->$1
  • svd: (m,n)->(p), {fdFD}->$1
  • eigvals: (m,m)->(m), f->F & {dD}->D
  • eigvalsh_{lo,up}: (m,m)->(m), {fdFD}->$1
  • {cholesky_{lo,up}, inv}: (m,m)->(m,m), {fdFD}->$1

1 in, 2 out

  • frexp
  • modf
linalg._umath_linalg
  • slogdet: (m,m)->(),(), f->ff, d->dd, F->Ff, D->Dd
  • eigh_{lo,up}: (m,m)->(m),(m,m), f->ff, d->dd, F->fF, D->dD
  • eig: (m,m)->(m),(m,m), f->FF, d->DD, D->DD

1 in, 3 out

linalg._umath_linalg

f->fff, d->ddd, F->FfF, D->DdD

  • svd_f: (m,n)->(m,m),(p),(n,n)
  • svd_s: (m,n)->(m,p),(p),(p,n)

2 in, 1 out

  • logical_{and,or,xor}
    • __call__ - #324
    • at
    • reduce
    • reduceat
    • accumulate
    • outer
  • {greater,less}[_equal], [not_]equal
    • __call__
    • at
    • reduce
    • reduceat
    • accumulate
    • outer
  • ldexp
  • float_power
  • copysign, heaviside, logaddexp, logaddexp2, nextafter
    • __call__ - #376
    • at
    • reduce
    • reduceat
    • accumulate
    • outer
  • arctan2, hypot
  • divide
  • gcd, lcm, {left,right}_shift
  • bitwise_{and,or,xor}
  • fmod
  • floor_divide, remainder, mod
  • power
  • multiply, subtract
  • f{max,min}
  • maximum, minimum
  • add
  • matmul: (n?,k),(k,m?)->(n?,m?)
  • matvec: (m,n),(n)->(m)
  • vecmat: (n),(n,m)->(m)
  • vecdot: (n),(n)->()
_core.umath
  • _expandtabs, _zfill
  • _expandtabs_length
  • _[{l,r}]strip_chars
linalg._umath_linalg
  • qr_complete: (m,n),(n)->(m,m)
  • qr_reduced: (m,n),(k)->(m,k)
  • solve: (m,m),(m,n)->(m,n)
  • solve1: (m,m),(m)->(m)

2 in, 2 out

  • divmod

2 in, 3 out

_core.umath
  • _[r]partition

3 in, 1 out

_core.umath
  • _center, _{l,r}just
  • clip

3 in, 3 out

_core.umath
  • _[r]partition_index

3 in, 4 out

linalg._umath_linalg
  • lstsq: (m,n),(m,nrhs),()->(n,nrhs),(nrhs),(),(p), fff->ffif, ddd->ddid, FFf->Ffif, DDd->Ddid

4 in, 1 out

_core.umath
  • _replace
  • {end,start}swith
  • count, [r]find, [r]index
主要言語
Python
スター
80
フォーク
9
平均マージ
3分
マージ済み PR(30日)
3

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

numpy/numtype のほかの issue

numpy/numtype の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。