Type:Vector

From semanticweb.org

Jump to: navigation, search

The vector type is currently not supported.


A vector is a concept characterized by a magnitude, which is a scalar, and a direction.

A vector is often described by its components. This is written as: a = a1i a2j a3k, where a1-3 are scalars and i,j,k are unit vectors pointing in the x,y and z direction.

[edit] Example syntax

To use this datatype in an attribute.

[[has type::Type:Vector]]

Define a horizontal Vector:

[[someVector:={1,2,3,4,5}]]

Define a vertical Vector by defining a Vector of 1-dimensional Vectors:

[[someVector:=( transpose::{1,2,3,4,5} )]]
[[someVector:={ {1},{2},{3},{4},{5} }]]

Define a Matrix by defining a Vector of Vectors:

[[someMatrix:={
   {1,2,3,4,5},
   {6,7,8,9,0},
   {5,4,3,2,1}
}]]

Using mathematical Functions to convert Polar-Coordinates into Rectangular Coordinates to define a Vector:

[[someVector:=math:vectorFromPolar(123, 45°)]]

[edit] See also


Properties of type "Vector"

Showing 2 properties using this type.

S

T

Personal tools