Advanced Mathematics Types

This packages deals with advanced mathematical types.

This page discusses:

Matrix

Type describing an array of numbers.

Inheritance Path

ObjectType
 Feature
  Matrix

Attributes

NameTypeComment
NbColInteger-
NbLineInteger-
Note: You can write a matrix using the following syntax: Matrix = [ item1.1, item1.2, ... ; item2.1, item2.2... itemN.M]. Use "," to separate items and ";" to move to the next line. Each item can be a computed expression.

Methods

The following methods are associated with this type:

Example

let m(Matrix)
m = [ 1, sin(PI/2) + 2, 0 ; cos(PI/3), 0, 1 ; sin(PI/2), cos(PI/4), 1 ]

Vector

Sub-type of a matrix. A matrix with only one line or one column.

Inheritance Path

ObjectType
 Feature
  Matrix
   Vector

Methods

The following methods are associated with this type: