> ## Documentation Index
> Fetch the complete documentation index at: https://developer.synopsys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# merge_to_field_matrix class

**Namespace:** [Ans.DataProcessing.operators.utility](https://developer.synopsys.com/docs/dpf/dpf-mechanical/api/Ans.DataProcessing/operators/utility)

## Summary

Assembles a set of fields into a field matrix.

available inputs: `fields1` (Field, FieldsContainer), `fields2` (Field, FieldsContainer)

available outputs: `merged_field_matrix` (Field)

## Example

```python theme={null}
op = merge_to_field_matrix()

op = merge_to_field_matrix(fields1=my_fields1,fields2=my_fields2)
```

## Class Information

| Property | Value |
| - | - |
| Namespace | `Ans.DataProcessing.operators.utility` |
| Assembly | `Ans_Dpf_Native_dll_cs` |
| Base Class | `Ans.DataProcessing.internal_objects.BaseOperator` |

## Inputs

### fields1

Either a fields container, a vector of fields to merge, or fields from pin 0 to ...

**Type:** *LinkableInput*

### fields2

Either a fields container, a vector of fields to merge, or fields from pin 0 to ...

**Type:** *LinkableInput*

## Outputs

### merged\_field\_matrix

**Type:** *LinkableOutput*

## Constructors

#### Constructor

```python theme={null}
merge_to_field_matrix()
```

#### Constructor

```python theme={null}
merge_to_field_matrix(fields1, fields2, config)
```

**Parameters:**

* `fields1` (*object*)
* `fields2` (*object*)
* `config` (*OperatorConfig*)

#### Constructor

```python theme={null}
merge_to_field_matrix(config)
```

**Parameters:**

* `config` (*OperatorConfig*)

## Methods

## Properties

#### inputs

**Type:** *InputSpec*

```python theme={null}
# Get or set the property
value = obj.inputs
obj.inputs = new_value
```

#### outputs

**Type:** *OutputSpec*

```python theme={null}
# Get or set the property
value = obj.outputs
obj.outputs = new_value
```

#### defaultConfig

**Type:** *Config*

```python theme={null}
# Get the property (read-only)
value = obj.defaultConfig
```
