Indicates the end of a template block.
*EndTemplate()Indicates the end of a template block. |
|||||
*EndTemplate()Indicates the end of a template block. |
Syntax |
*EndTemplate() |
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() • • • *BeginWindow(Plot) *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 |
|
Comments |
Every *BeginTemplate() statement requires an ending *EndTemplate() statement. |
See also |
|