Colour Management > Autodesk Color Management Technical Reference > Autodesk CTF File Format > Operator Elements >

# Matrix

The Matrix element specifies a matrix for multiplying color values, and optionally applying an offset.

## Contains

In order:

- Description. Optional, any number.
- Array (Matrix). Required, one only.

## Contained By

- ProcessList

## Attributes

id, name, inBitDepth, outBitDepth
  See Common Operator Attributes.

## Example

### 3x3 Matrix

    <ProcessList id="af6a6c73-aae9-4be6-8051-a796bc480b1c" version="1.2">
        <Matrix inBitDepth="32f" outBitDepth="32f">
            <Array dim="3 3 3">
     0.7841929793  0.0904410034  0.1253670007
     0.0445200019  1.0391299725 -0.0836500004
     0.0358299986 -0.3302420080  1.2944129705
            </Array>
        </Matrix>
    </ProcessList>

### 4x4 Matrix

    <ProcessList id="d6783d48-dd96-4c71-99af-f3be0cc9392e" version="1.2">
        <Matrix inBitDepth="32f" outBitDepth="10i">
            <Array dim="4 4 3">
    499.99996948   0.00000000   0.00000000  94.99999237
      0.00000000 499.99996948   0.00000000  94.99999237
      0.00000000   0.00000000 499.99996948  94.99999237
      0.00000000   0.00000000   0.00000000   1.00000000
            </Array>
        </Matrix>
     </ProcessList>

#### Topics in this section

- Array (Matrix)

  The Array element specifies an array of values for a LUT or matrix. When it is contained by a Matrix element, the format of its contents is different than when it is contained by LUT1D or LUT3D elements.