---
title: "ComputeNodeGraph.NodeDefinition.Kind.unaryArithmetic(type:operation:)"
framework: Compute Graph
role: symbol
role_heading: Case
platforms: [iOS 27.0+, iPadOS 27.0+, Mac Catalyst 27.0+, macOS 27.0+, tvOS 27.0+, visionOS 27.0+]
path: "computegraph/computenodegraph/nodedefinition/kind-swift.enum/unaryarithmetic(type:operation:)"
---

# ComputeNodeGraph.NodeDefinition.Kind.unaryArithmetic(type:operation:)

An arithmetic node with one operand of the given data type, performing the specified operation

## Declaration

```swift
case unaryArithmetic(type: ComputeNodeGraph.DataType, operation: UnaryOperation)
```
