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

Return Value

Type: Microsoft.SolverFoundation.Common.Rational
The result of performing ratAdd + ratMul1 * ratMul2.

.NET Framework Security

See Also

Reference

Rational Structure

Microsoft.SolverFoundation.Common Namespace