Skip to content

Annotating the ufuncs #230

@jorenham

Description

@jorenham

requires #88


1 in, 1 out

strings

  • is{alnum,alpha,numeric,decimal,digit,space,lower,upper,title}
    • __call__
    • at
  • str_len
    • __call__
    • at

_core.umath

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}
  • {greater,less}[_equal], [not_]equal
    • __call__
    • at
    • reduce
    • reduceat
    • accumulate
    • outer
  • ldexp
  • float_power
  • copysign, heaviside, logaddexp, logaddexp2, nextafter
  • 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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions