# operator !=

> Returns the result of a componentwise not equal operation on two float4 vectors.

## Definition

* **Type:** Operator
* **Namespace:** [Unity.Mathematics](/engine/6000.7/script-reference/unity/mathematics.md)
* **Assembly:** UnityEngine.MathematicsModule

## operator !=(float4, float4)

Returns the result of a componentwise not equal operation on two float4 vectors.

```csharp
public static bool4 operator !=(float4 lhs, float4 rhs)
```

### Parameters

**** (\[float4]\(/engine/6000.7/script-reference/unity/mathematics/float4)): Left hand side float4 to use to compute componentwise not equal.**** (\[float4]\(/engine/6000.7/script-reference/unity/mathematics/float4)): Right hand side float4 to use to compute componentwise not equal.

### Returns

| Type                                                                | Description                                  |
| ------------------------------------------------------------------- | -------------------------------------------- |
| [bool4](/engine/6000.7/script-reference/unity/mathematics/bool4.md) | bool4 result of the componentwise not equal. |

## operator !=(float4, float)

Returns the result of a componentwise not equal operation on a float4 vector and a float value.

```csharp
public static bool4 operator !=(float4 lhs, float rhs)
```

### Parameters

**** (\[float4]\(/engine/6000.7/script-reference/unity/mathematics/float4)): Left hand side float4 to use to compute componentwise not equal.**** (\[float]\(https\://learn.microsoft.com/dotnet/api/system.single)): Right hand side float to use to compute componentwise not equal.

### Returns

| Type                                                                | Description                                  |
| ------------------------------------------------------------------- | -------------------------------------------- |
| [bool4](/engine/6000.7/script-reference/unity/mathematics/bool4.md) | bool4 result of the componentwise not equal. |

## operator !=(float, float4)

Returns the result of a componentwise not equal operation on a float value and a float4 vector.

```csharp
public static bool4 operator !=(float lhs, float4 rhs)
```

### Parameters

**** (\[float]\(https\://learn.microsoft.com/dotnet/api/system.single)): Left hand side float to use to compute componentwise not equal.**** (\[float4]\(/engine/6000.7/script-reference/unity/mathematics/float4)): Right hand side float4 to use to compute componentwise not equal.

### Returns

| Type                                                                | Description                                  |
| ------------------------------------------------------------------- | -------------------------------------------- |
| [bool4](/engine/6000.7/script-reference/unity/mathematics/bool4.md) | bool4 result of the componentwise not equal. |
