HyperWorks Desktop

*BeginTemplate()

Indicates the beginning of a template block.

*BeginTemplate()

Indicates the beginning of a template block.

Previous topic Next topic No expanding text in this topic  

*BeginTemplate()

Indicates the beginning of a template block.

Previous topic Next topic JavaScript is required for expanding text JavaScript is required for the print function  

Syntax

*BeginTemplate()

Example

*Id("MotionView4.0")

*BeginPage()

   *IsActive()

   *Title("Untitled", Off)

   *Layout(1)

   *CurrentTimeStep(0)

   *StartTime(0)

   *EndTime(0)

   *BeginWindow(Plot)

       *IsActive()

       *TimeScale(1)

       *TimeDelay(0)

       *BeginPlot()

       *EndPlot()

   *EndWindow()

  • • •

*EndPage()

{templex_off}

*BeginStatsTemplates()

  *BeginTemplate("Linear Regression")

       *BeginText()

{N = min({numpts(x), numpts(y)}) }

{q = sum(x)}

{K = {{N, q}, {q, sum(x^2)}}}

{L = {sum(y), sum(x*y)}'}

{A = inverse(K)*L}

Linear Least Squares Regression over

the chosen range index {from} -> {to}

 

 y = A * x + B where A = {A[1]}

                     B = {A[0]}

       *EndText()

   *EndTemplate()

*EndStatsTemplates()

{templex_on}

Application

MotionView, HyperView, HyperGraph, TextView, and MediaView.

Context

*BeginStatsTemplates()

Preference Files

Comments

Every *BeginTemplate() statement requires an ending *EndTemplate() statement.

See also

 

*BeginStatsTemplates()

List of Session Statements