# What does Tuple{3} mean in StaticArrays?

**URL:** https://discourse.julialang.org/t/what-does-tuple-3-mean-in-staticarrays/32774
**Category:** New to Julia
**Created:** [December 29, 2019, 4:26am UTC](https://discourse.julialang.org/t/what-does-tuple-3-mean-in-staticarrays/32774 "2019-12-29T04:26:56Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![yuxi.liu](https://avatars.discourse-cdn.com/v4/letter/y/839c29/32.png) [@yuxi.liu](https://discourse.julialang.org/u/yuxi.liu)
#### Post date: [December 29, 2019, 4:26am UTC](https://discourse.julialang.org/t/what-does-tuple-3-mean-in-staticarrays/32774/1 "2019-12-29T04:26:56Z")

</div>

In StaticArrays example, there is this line:  
`similar_type(m3) == SArray{Tuple{3,3},Int64,2,9}`  
What is `Tuple{3,3}`? I thought Tuple, as a parameterized concrete type constructor, can’t take values, only types.

The explanation from [API · StaticArrays.jl](https://juliaarrays.github.io/StaticArrays.jl/stable/pages/api/#StaticArrays.SArray) is not very illuminating:

> ### [`SArray`](#SArray-1)
> 
> A container with arbitrarily many dimensions is defined as `struct SArray{Size,T,N,L} <: StaticArray{Size,T,N}`, where `Size = Tuple{S1, S2, ...}` is a tuple of `Int`s. You can easily construct one with the `@SArray` macro, supporting all the features of `@SVector` and `@SMatrix` (but with arbitrary dimension).
> 
> The main reason `SVector` and `SMatrix` are defined is to make it easier to define the types without the extra tuple characters (compare `SVector{3}` to `SArray{Tuple{3}}`).

---

<div class="post-metadata">

### Author: ![Elrod](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/elrod/32/22461_2.png) [@Elrod](https://discourse.julialang.org/u/Elrod)
#### Post date: [December 29, 2019, 4:46am UTC](https://discourse.julialang.org/t/what-does-tuple-3-mean-in-staticarrays/32774/2 "2019-12-29T04:46:49Z")

</div>

> [@yuxi.liu](#):
>
> What is `Tuple{3,3}` ? I thought Tuple, as a parameterized concrete type constructor, can’t take values, only types.

The numbers are [Value-Types](https://docs.julialang.org/en/v1/manual/types/#%22Value-types%22-1).
