Template:InheritSegmentTable: Difference between revisions

From railML 2 Wiki
Jump to navigation Jump to search
[checked revision][checked revision]
mNo edit summary
(railML→{{rml}})
 
(9 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>{{ElementDocu|
<includeonly>{{ElementDocu|
elementName = segmentTable
elementName = segmentTable
 
|intro={{{intro|2.5}}}
|semantics =
|semantics =
The element {{RS:Tag|segmentTable|{{{parent|FIXME}}}}} provides a flexible mechanism for description of segments of arbitrary curves y = ''f''(x) in RailML. In contrast to the {{RS:Tag|valueTable|{{{parent|FIXME}}}}} not particular points of the curve are defined but segments of a function representing the curve. The function used for modelling these curves is a polynomial expression of various order. Thus each line within this table has to be used as a recipe to build up the polynomial.
The element {{RS:Tag|segmentTable|{{{parent|FIXME}}}}} provides a flexible mechanism for description of segments of arbitrary curves y = ''f''(x) in {{rml}}. In contrast to the {{RS:Tag|valueTable|{{{parent|FIXME}}}}} not particular points of the curve are defined but segments of a function representing the curve. The function used for modelling these curves is a polynomial expression of various order. Thus each line within this table has to be used as a recipe to build up the polynomial.


The table consist of the informative details of name and unit of each coordinate within the related attributes of the element {{RS:Tag|segmentTable|{{{parent|FIXME}}}}}. The {{RS:Tag|columnHeader}} takes the exponent values needed for the polynomial. The corresponding values in the {{RS:Tag|valueLine}} represent the coefficients to be multiplied with. For a particular x-value the resulting P(x) can be calculated by this formula.
The table consist of the informative details of name and unit of each coordinate within the related attributes of the element {{RS:Tag|segmentTable|{{{parent|FIXME}}}}}. The {{RS:Tag|columnHeader}} takes the exponent values needed for the polynomial. The corresponding values in the {{RS:Tag|valueLine}} represent the coefficients to be multiplied with. For a particular x-value the resulting P(x) can be calculated by this formula.
Line 14: Line 14:
The {{Attr|segmentStartValue}} in each {{RS:Tag|valueLine}} gives the lower limit of the interval the segment is valid for. The upper limit is the next higher {{Attr|segmentStartValue}} or the maximum value given elsewhere. {{AddAnn|{{{semantics_en|}}}| }}
The {{Attr|segmentStartValue}} in each {{RS:Tag|valueLine}} gives the lower limit of the interval the segment is valid for. The upper limit is the next higher {{Attr|segmentStartValue}} or the maximum value given elsewhere. {{AddAnn|{{{semantics_en|}}}| }}


{{Deu|Das Element {{RS:Tag|segmentTable|{{{parent|FIXME}}}}} bietet die flexible Möglichkeit beliebige Kurvenabschnitte für y = ''f''(x) zu beschreiben. Im Gegensatz zur {{RS:Tag|valueTable|{{{parent|FIXME}}}}} werden dabei nicht einzelne Datenpunkte sondern eine Funktion spezifiziert. Als Funktion wird dabei auf ein Polynom beliebiger Ordnung zurück gegriffen, um die Kurvenabschnitte zu modellieren. Somit stellt jede Zeile in dieser Tabelle das Rezept für die Polynomgleichung dar.
{{Deu|1=Das Element {{RS:Tag|segmentTable|{{{parent|FIXME}}}}} bietet die flexible Möglichkeit beliebige Kurvenabschnitte für y = ''f''(x) zu beschreiben. Im Gegensatz zur {{RS:Tag|valueTable|{{{parent|FIXME}}}}} werden dabei nicht einzelne Datenpunkte sondern eine Funktion spezifiziert. Als Funktion wird dabei auf ein Polynom beliebiger Ordnung zurück gegriffen, um die Kurvenabschnitte zu modellieren. Somit stellt jede Zeile in dieser Tabelle das Rezept für die Polynomgleichung dar.<br /><br/ >Die Tabelle besteht aus der informativen Angabe von Name und Einheit der jeweiligen Koordinate in den Attributen dieses Elements {{RS:Tag|segmentTable|{{{parent|FIXME}}}}}. Das Unterelement {{RS:Tag|columnHeader}} nimmt die Koeffizienten für den Polynom auf. Die eigentlichen Werte in den einzelnen Unterelementen {{RS:Tag|valueLine}} sind die zugehörigen Koeffizienten. Damit kann der Polynom zusammengebaut werden und ein y-Wert für jeden x-Wert berechnet werden.<br /><br/ >Gemäß der üblichen Konventionen stellt 'x' die unabhängige Variable dar. 'y' ist der direkt von 'x' abhängige Wert, sodass gilt y &#61; ''f''(x). 'i' ist der Exponent für die jeweilige Potenz von 'x', d.h. x^i }} {{AddAnn| |{{{semantics_de|}}} }}
 
Die Tabelle besteht aus der informativen Angabe von Name und Einheit der jeweiligen Koordinate in den Attributen dieses Elements {{RS:Tag|segmentTable|{{{parent|FIXME}}}}}. Das Unterelement {{RS:Tag|columnHeader}} nimmt die Koeffizienten für den Polynom auf. Die eigentlichen Werte in den einzelnen Unterelementen {{RS:Tag|valueLine}} sind die zugehörigen Koeffizienten. Damit kann der Polynom zusammengebaut werden und ein y-Wert für jeden x-Wert berechnet werden.
 
Gemäß der üblichen Konventionen stellt 'x' die unabhängige Variable dar. 'y' ist der direkt von 'x' abhängige Wert, sodass gilt y &#61; ''f''(x). 'i' ist der Exponent für die jeweilige Potenz von 'x', d.h. x^i }} {{AddAnn| |{{{semantics_de|}}} }}


|parent = {{{parentLink|FIX ME}}}
|parent = {{{parentLink|FIX ME}}}


|childs =
|childs =
{{RS:Tag|columnHeader}}, {{RS:Tag|valueLine|segmentTable}}
{{RS:Tag|columnHeader|segmentTable}}, {{RS:Tag|valueLine|segmentTable}}


|ownAttributes =
|ownAttributes =
Line 45: Line 41:


The element {{RS:Tag|segmentTable|{{{parent|FIXME}}}}} is optional as alternative to {{RS:Tag|valueTable}} in order to describe any curve. {{AddAnn|{{{constraints_en|}}}|{{{constraints_de|}}} }}
The element {{RS:Tag|segmentTable|{{{parent|FIXME}}}}} is optional as alternative to {{RS:Tag|valueTable}} in order to describe any curve. {{AddAnn|{{{constraints_en|}}}|{{{constraints_de|}}} }}
|example={{InheritSegmentTable/example}}
|example={{includeTable|Template:Table/Template:InheritSegmentTable}}
|minocc=0
|minocc=0
}}
}}
</includeonly><noinclude>{{TemplateDocu}}</noinclude>
</includeonly><noinclude>{{TemplateDocu}}</noinclude>

Latest revision as of 22:04, 22 January 2024

Usage

This is an Element Template. Element templates are intended to avoid routine work in railML® element documentation. These templates are very specific and are therefore documented uniformely by Template:TemplateDocu. They are collected in Category:Element Template and are based on Template:ElementDocu. They represent Template:ElementDoku with specific values and hand all other parameters through to Template:ElementDoku. If you want to use or handle an Element Template, you have to examine the code to find out, which arguments are set, and you have to be careful, because occationally arguments will be renamed, so that the use of argument names of Template ElementDoku may cause errors.

Arguments

As this is a bulk documentation, we do not explain the specific arguments of element templates.

Dependencies

As this is a bulk documentation, we do not explain the specific dependencies of element templates. You can find out, which other templates the current template supports by following this link. You can find out easily, which other templates the current template employs, as templates are included via {{doubble braces}}.

Example

As this is a bulk documentation, we do not offer specific examples of element templates. You can find in the field examples by following this link.