# 2.9.4 Constructor Functions

These functions receive an input of a parameter and then create and return an object.

| Function                             | Description                                                                                                                                                                                                                                            | Example of usage                   | Result                                 |
| ------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ---------------------------------- | -------------------------------------- |
| <p>Array(n)</p><p>Array(a, b, c)</p> | <p>Creates and returns an array of “n” elements</p><p>The initial value of the element is 0.</p><p>A multidimensional array is created if two or more elements are designated.</p><p>Refer to "<a href="../../array-object/array">4.1 Arrays</a>".</p> | <p>Array(900)</p><p>Array(3,4)</p> | <p>Array [900]</p><p>Array [3] [4]</p> |
| Pose(element)                        | <p>Creates and returns a pose object</p><p>Refer to "<a href="../../moving-robot/pose">5.1 Pose</a>".</p>                                                                                                                                              |                                    | Pose object                            |
| Shift(element)                       | <p>Creates and returns a shift object</p><p>Refer to "<a href="../../moving-robot/shift">5.2 Shift</a>".</p>                                                                                                                                           |                                    | Shift object                           |

