# How to get the head of SymFunction in SymEngine.jl

**URL:** <https://discourse.julialang.org/t/how-to-get-the-head-of-symfunction-in-symengine-jl/23694>\
**Category:** New to Julia\
**Tags:** question\
**Created:** [April 30, 2019, 12:06pm UTC](https://discourse.julialang.org/t/how-to-get-the-head-of-symfunction-in-symengine-jl/23694 "2019-04-30T12:06:19Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![gangchern](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/gangchern/32/13298_2.png) [@gangchern](https://discourse.julialang.org/u/gangchern)\
**Post date:** [April 30, 2019, 12:06pm UTC](https://discourse.julialang.org/t/how-to-get-the-head-of-symfunction-in-symengine-jl/23694/1 "2019-04-30T12:06:19Z")

</div>

I define a symfunction as

> p=SymFunction(“p”)  
> Then I define some functions  
> f1=p(1)  
> f2=p(2)  
> The output is so called Basic type. I can get args conveniently by get\_args(f1). But how can I get the head character “p” of f1 for example?  
> Thanks a lot.  
> By the way, does anybody know when does the symEngine can have solver functions? I am quite like to using symEngine as the amazing calculation speed. It will be quite nice if the developers can add the solve functions in it like SymPy.
