Service Vectors

from vectors import Vectors

Port NameLocationProtocolInterfaces
InputlocalVectorsInterface

List of Available Interfaces

VectorsInterface

Operation NameInput TypeOutput TypeFaultsDescription
addAddRequestVector-Adds an element to the end of a vector.
concatVectorPairVector-Concatenates two vectors.
equalsVectorPairbool-Checks if two vectors are deeply equal (all elements of the two vectors must be respectively deeply equal).
insertInsertRequestVector-Inserts an element at the specified index. The rest of the vector is shifted to the right.
sliceSliceRequestVector-Slices the vector from an index to another.

Types

AddRequest:
Type Declaration
void {
  item[1,1]: undefined // 
  vector[1,1]: Vector // 
}
InsertRequest:
Type Declaration
void {
  item[1,1]: undefined // 
  index[1,1]: int // 
  vector[1,1]: Vector // 
}
SliceRequest:
Type Declaration
void {
  from[1,1]: int // 
  vector[1,1]: Vector // 
  to[1,1]: int // 
}
|void {
  vector[1,1]: Vector // 
  to[1,1]: int // 
}
|void {
  from[1,1]: int // 
  vector[1,1]: Vector // 
}


Vector:
Type Declaration
void {
  items[0,1]: undefined // 
}
VectorPair:
Type Declaration
void {
  fst[1,1]: Vector // 
  snd[1,1]: Vector // 
}