# Function with arguments of type one/two dim array and a dictionary

**URL:** <https://discourse.julialang.org/t/function-with-arguments-of-type-one-two-dim-array-and-a-dictionary/17605>\
**Category:** General Usage\
**Tags:** question\
**Created:** [November 16, 2018, 5:21pm UTC](https://discourse.julialang.org/t/function-with-arguments-of-type-one-two-dim-array-and-a-dictionary/17605 "2018-11-16T17:21:59Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ajaychat3](https://avatars.discourse-cdn.com/v4/letter/a/ecd19e/32.png) [@Ajaychat3](https://discourse.julialang.org/u/Ajaychat3)\
**Post date:** [November 16, 2018, 5:21pm UTC](https://discourse.julialang.org/t/function-with-arguments-of-type-one-two-dim-array-and-a-dictionary/17605/1 "2018-11-16T17:21:59Z")

</div>

If I define a function whose two of arguments are of type 2 dimensional array float64 and other of one dim array int64 and also one of the arguments being a dictionary, will it make compilation more efficient if I specify their type when defining the function.

How do I define this?

Will it be different if the function is defined for parallel computing using @everywhere?
