# How to work with intervals values in julia

**URL:** <https://discourse.julialang.org/t/how-to-work-with-intervals-values-in-julia/6433>\
**Category:** General Usage\
**Created:** [October 14, 2017, 1:48am UTC](https://discourse.julialang.org/t/how-to-work-with-intervals-values-in-julia/6433 "2017-10-14T01:48:01Z")\
**Posts on this page:** 4\
**Page:** 2

<div class="post-metadata">

**Author:** ![leaoshark](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/leaoshark/32/11462_2.png) [@leaoshark](https://discourse.julialang.org/u/leaoshark)\
**Post date:** [October 15, 2017, 11:29pm UTC](https://discourse.julialang.org/t/how-to-work-with-intervals-values-in-julia/6433/21 "2017-10-15T23:29:10Z")

</div>

any ideas how to do that ? can you do that for me, as a favor ?

---

<div class="post-metadata">

**Author:** ![yuyichao](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/yuyichao/32/20_2.png) [@yuyichao](https://discourse.julialang.org/u/yuyichao)\
**Post date:** [October 15, 2017, 11:45pm UTC](https://discourse.julialang.org/t/how-to-work-with-intervals-values-in-julia/6433/22 "2017-10-15T23:45:36Z")

</div>

> [@leaoshark](#):
>
> any ideas how to do that ?

Which part is not clear? I’ve given you two options,

1. If you want to get arrays of tuples

2. If you want to get three arrays

In general, you need to add `.`

> [@yuyichao](#):
>
> where you want to apply element-wise operation on the array

or in another word, when you have a function that works and only works on a scalar and you want to apply that function to all the elements. All what you need to do is to identify what function you want to work on scalar and which on vector and add use the `.` (i.e. broadcast) syntax.

> [@leaoshark](#):
>
> can you do that for me, as a favor ?

No.

---

<div class="post-metadata">

**Author:** ![leaoshark](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/leaoshark/32/11462_2.png) [@leaoshark](https://discourse.julialang.org/u/leaoshark)\
**Post date:** [October 16, 2017, 1:32pm UTC](https://discourse.julialang.org/t/how-to-work-with-intervals-values-in-julia/6433/23 "2017-10-16T13:32:30Z")

</div>

ok … thanks for your time … i appreciate that … i tried to put . in rc0bc0gc0 , but not working … but thanks … see you …

---

<div class="post-metadata">

**Author:** ![yuyichao](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/yuyichao/32/20_2.png) [@yuyichao](https://discourse.julialang.org/u/yuyichao)\
**Post date:** [October 16, 2017, 1:41pm UTC](https://discourse.julialang.org/t/how-to-work-with-intervals-values-in-julia/6433/24 "2017-10-16T13:41:34Z")

</div>

If you did some change and still get an error and still want help, you need to post what you’ve changed and what’s the error you get. It’s impossible to guess what you are doing.

[Previous page](https://discourse.julialang.org/t/how-to-work-with-intervals-values-in-julia/6433.md?page=1)
