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

Online Help

All Products    Maple    MapleSim


Student[MultivariateCalculus]

  

GetDirection

  

return the direction vector of a line

 

Calling Sequence

Parameters

Returns

Description

Examples

Compatibility

Calling Sequence

GetDirection(l)

Parameters

l

-

Line; Line defined in Student[MultivariateCalculus]

Returns

• 

Vector; Direction Vector of the line

Description

• 

The GetDirection command obtains a direction vector of the line.

• 

The direction vector is not necessarily simplified.

Examples

withStudentMultivariateCalculus:

l1Line3,2,1,2,3,5:

GetPlotl1

GetRepresentationl1

t·2−35+321

(1)

GetDirectionl1

2−35

(2)

l2Line2,0,0,4:

GetPlotLine2,0,0,4

GetDirectionl2

−2−4

(3)

Compatibility

• 

The Student[MultivariateCalculus][GetDirection] command was introduced in Maple 17.

• 

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

See Also

Student[MultivariateCalculus]

Student[MultivariateCalculus][Line]

Student[MultivariateCalculus][GetPoint]

Student[MultivariateCalculus][AreParallel]

Student[MultivariateCalculus][AreSkew]