MCPcopy Index your code
hub / github.com/numpy/numpy / as_symbol

Function as_symbol

numpy/f2py/symbolic.py:943–946  ·  view source on GitHub ↗

Return object as SYMBOL expression (variable or unparsed expression).

(obj)

Source from the content-addressed store, hash-verified

941
942
943def as_symbol(obj):
944 """Return object as SYMBOL expression (variable or unparsed expression).
945 """
946 return Expr(Op.SYMBOL, obj)
947
948
949def as_number(obj, kind=4):

Callers 11

test_sanityMethod · 0.90
test_tostring_fortranMethod · 0.90
test_tostring_cMethod · 0.90
test_operationsMethod · 0.90
test_substituteMethod · 0.90
test_fromstringMethod · 0.90
test_traverseMethod · 0.90
test_linear_solveMethod · 0.90
test_as_numer_denomMethod · 0.90
test_polynomial_atomsMethod · 0.90
processMethod · 0.85

Calls 1

ExprClass · 0.85

Tested by 10

test_sanityMethod · 0.72
test_tostring_fortranMethod · 0.72
test_tostring_cMethod · 0.72
test_operationsMethod · 0.72
test_substituteMethod · 0.72
test_fromstringMethod · 0.72
test_traverseMethod · 0.72
test_linear_solveMethod · 0.72
test_as_numer_denomMethod · 0.72
test_polynomial_atomsMethod · 0.72

Used in the wild real call sites across dependent graphs

searching dependent graphs…