Type:
Class

The Vector class represents a mathematical vector, which is useful in its own right, and also constitutes a row or column of a Matrix.

Method Catalogue

To create a Vector:

To access elements:

To enumerate the elements:

Vector arithmetic:

  • #*(x) “is matrix or number”

  • #+(v)

  • #-(v)

Vector functions:

Conversion to other data types:

String representations:

coerce

coerce(other) Instance Public methods The coerce method provides support for

2015-06-11 05:19:08
[] 2

[](i) Instance Public methods Returns element number i (starting

2015-06-11 05:13:53
r

r() Instance Public methods Alias for:

2015-06-11 06:42:33
hash

hash() Instance Public methods Return a hash-code for the vector.

2015-06-11 06:08:05