Rational.AddMul Method
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Performs and optimizes the operation ratAdd + ratMul1 * ratMul2.
Namespace: Microsoft.SolverFoundation.Common
Assembly: Microsoft.Solver.Foundation (in Microsoft.Solver.Foundation.dll)
Syntax
'Declaration
Public Shared Function AddMul ( _
ratAdd As Rational, _
ratMul1 As Rational, _
ratMul2 As Rational _
) As Rational
public static Rational AddMul(
Rational ratAdd,
Rational ratMul1,
Rational ratMul2
)
public:
static Rational AddMul(
Rational ratAdd,
Rational ratMul1,
Rational ratMul2
)
static member AddMul :
ratAdd:Rational *
ratMul1:Rational *
ratMul2:Rational -> Rational
public static function AddMul(
ratAdd : Rational,
ratMul1 : Rational,
ratMul2 : Rational
) : Rational
Parameters
- ratAdd
Type: Microsoft.SolverFoundation.Common.Rational
The number to add.
- ratMul1
Type: Microsoft.SolverFoundation.Common.Rational
The first number to multiply.
- ratMul2
Type: Microsoft.SolverFoundation.Common.Rational
The second number to multiply.
Return Value
Type: Microsoft.SolverFoundation.Common.Rational
The result of performing ratAdd + ratMul1 * ratMul2.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.