Operator Subtraction
Subtraction(double4, double4)
Returns the result of a componentwise subtraction operation on two double4 vectors.
Declaration
public static double4 operator -(double4 lhs, double4 rhs)
Parameters
Type | Name | Description |
---|---|---|
double4 | lhs | Left hand side double4 to use to compute componentwise subtraction. |
double4 | rhs | Right hand side double4 to use to compute componentwise subtraction. |
Returns
Type | Description |
---|---|
double4 | double4 result of the componentwise subtraction. |
Subtraction(double4, Double)
Returns the result of a componentwise subtraction operation on a double4 vector and a double value.
Declaration
public static double4 operator -(double4 lhs, double rhs)
Parameters
Type | Name | Description |
---|---|---|
double4 | lhs | Left hand side double4 to use to compute componentwise subtraction. |
Double | rhs | Right hand side double to use to compute componentwise subtraction. |
Returns
Type | Description |
---|---|
double4 | double4 result of the componentwise subtraction. |
Subtraction(Double, double4)
Returns the result of a componentwise subtraction operation on a double value and a double4 vector.
Declaration
public static double4 operator -(double lhs, double4 rhs)
Parameters
Type | Name | Description |
---|---|---|
Double | lhs | Left hand side double to use to compute componentwise subtraction. |
double4 | rhs | Right hand side double4 to use to compute componentwise subtraction. |
Returns
Type | Description |
---|---|
double4 | double4 result of the componentwise subtraction. |