LinearFunction - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

Grading

  

LinearFunction

 

Calling Sequence

Parameters

Options

Description

Examples

Compatibility

Calling Sequence

LinearFunction(t)

LinearFunction(p1, p2))

Parameters

t

-

linear expression in one variable or linear equation in variables x and y

p1, p2

-

GridPoint object or list/rtable with two values representing a point on the line

Options

• 

domain : a RealRange expression specifying the region over which the line is defined

• 

variable : name used in generated expression if the second calling sequence is used

Description

• 

The LinearFunction constructor generates and returns a line object.

• 

If the equation form is given, the variables must consist of  and/or  only. The equation is converted to the form  and only the right-hand-side is saved within the object.

• 

Vertical lines can also be constructed using two points with the same x-value or an expression of the form  where  is a constant. In this case, the equation  is returned if the Grading:-GetExpression command is called.

Examples

(1)

(2)

(3)

(4)

(5)

Compatibility

• 

The Grading:-LinearFunction command was introduced in Maple 18.

• 

For more information on Maple 18 changes, see Updates in Maple 18.

See Also

Grading

Grading:-GradePlot

 


Download Help Document