Operator Addition
Addition(double2x2, double2x2)
Returns the result of a componentwise addition operation on two double2x2 matrices.
Declaration
public static double2x2 operator +(double2x2 lhs, double2x2 rhs)
Parameters
Type | Name | Description |
---|---|---|
double2x2 | lhs | Left hand side double2x2 to use to compute componentwise addition. |
double2x2 | rhs | Right hand side double2x2 to use to compute componentwise addition. |
Returns
Type | Description |
---|---|
double2x2 | double2x2 result of the componentwise addition. |
Addition(double2x2, Double)
Returns the result of a componentwise addition operation on a double2x2 matrix and a double value.
Declaration
public static double2x2 operator +(double2x2 lhs, double rhs)
Parameters
Type | Name | Description |
---|---|---|
double2x2 | lhs | Left hand side double2x2 to use to compute componentwise addition. |
Double | rhs | Right hand side double to use to compute componentwise addition. |
Returns
Type | Description |
---|---|
double2x2 | double2x2 result of the componentwise addition. |
Addition(Double, double2x2)
Returns the result of a componentwise addition operation on a double value and a double2x2 matrix.
Declaration
public static double2x2 operator +(double lhs, double2x2 rhs)
Parameters
Type | Name | Description |
---|---|---|
Double | lhs | Left hand side double to use to compute componentwise addition. |
double2x2 | rhs | Right hand side double2x2 to use to compute componentwise addition. |
Returns
Type | Description |
---|---|
double2x2 | double2x2 result of the componentwise addition. |