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:

elements_to_f

elements_to_f() Instance Public methods

2015-06-11 05:55:21
component

component(i) Instance Public methods Alias for:

2015-06-11 05:30:42
coerce

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

2015-06-11 05:19:08
hash

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

2015-06-11 06:08:05