---
title: MLCArithmeticOperation.add
framework: ML Compute
role: symbol
role_heading: Case
platforms: [iOS 14.0+, iPadOS 14.0+, Mac Catalyst 14.0+, macOS 11.0+, tvOS 14.0+]
path: mlcompute/mlcarithmeticoperation/add
---

# MLCArithmeticOperation.add

Calculates the element-wise sum of the inputs.

## Declaration

```swift
case add
```

## See Also

### Basic Operations

- [MLCArithmeticOperation.subtract](mlcompute/mlcarithmeticoperation/subtract.md)
- [MLCArithmeticOperation.multiply](mlcompute/mlcarithmeticoperation/multiply.md)
- [MLCArithmeticOperation.multiplyNoNaN](mlcompute/mlcarithmeticoperation/multiplynonan.md)
- [MLCArithmeticOperation.divide](mlcompute/mlcarithmeticoperation/divide.md)
- [MLCArithmeticOperation.divideNoNaN](mlcompute/mlcarithmeticoperation/dividenonan.md)
- [MLCArithmeticOperation.min](mlcompute/mlcarithmeticoperation/min.md)
- [MLCArithmeticOperation.max](mlcompute/mlcarithmeticoperation/max.md)
