Vektoren
Eingabefelder für Vektoren können mit dem Eingabetyp vector
im input
Element erzeugt werden.
Ein Vektor kann entweder aus Zahlen oder aus Ausdrücken bestehen. Diese beiden Eingabetypen dürfen innerhalb eines Vektors nicht gemischt werden.
Example
Attribute
Das vector
Element unterstützt die folgenden Attribute:
Attribut | Typ | Standardwert | Beschreibung |
---|---|---|---|
credits |
xs:nonNegativeInteger |
1 |
Number of credit points the user gets awarded for this input value. |
defaultsize |
xs:positiveInteger | Auto |
- | Initial number of components in this vector that are already there when the user loads the page. When this attribute is set to auto, the default size is the size of the first vector written as solution in this input value element. |
maxsize |
xs:positiveInteger | Unbounded |
- | Maximum number of components in this vector or the special value "unbounded", which means that there is no upper bound on the size of the vector. |
minsize |
xs:positiveInteger |
- | Minimum number of components in this vector. |
model |
xs:Name |
- | Name of the model to use for this input value. If this attribute is not set, the input model associated to the input field containing this input value is used. |
type |
VectorType |
- | Type of the vector (column vector or row vector). |