Matt

Subdue is a software of calculation symbolic system in line, simple to use, created by Tusanga.

Syntax

Variables

A value is allotted to a variable by:

nom_de_variable: = value;

for example:

alpha: = -4.3

Functions

A function can be as follows defined:

F (X, there): =x+sqrt (there);

Vectors and matrices

The vectors and the matrices are between accodances:

M: = {1, 2,3; 4,5,6}

One can modify of them the values by columns or lines, like here:

M: = {1,2,3; 4,5,6}; M: = {has; B}

Figures

It is possible to make figures:

stud (plot_type, symbol_name, data_x, data_y);

the possible plot_type are xy and whodunnit ; the symbol_name are dowry , star , more , cross-country race , boxing ring and line .

That gives for example:

X: = {1, 2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34, 35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50}; there: = {- 0.775046, -1.617011,-2.532038,-2.111468,-2.796489,-2.919113,-2.399887,-3.282836,-4.228685,-5.683950,-5.366144, -6.006735,-6.533806,-5.319752,-6.311991,-5.797919,-7.149265,-7.934787,-8.228405,-8.622712,-8.890352,-7.771639, -8.253623,-9.213398,-7.480919,-6.387409,-5.663270,-6.226529,-7.025360,-6.824630,-8.134001,-6.440482,-5.871820, -6.370684,-7.861954,-7.516915,-7.789562,-7.978897,-8.587868,-7.702777,-9.045018,-9.021335,-10.733293,-12.037137, -11.728953,-12.011695,-12.726364,-12.764875,-13.108897,-14.684669}; stud (xy, line, X, there);

Controls

There is a yew… then… else like here:

a:=if true 5 else 0

and a loop for :

for a:=1 to 5 step 2 C a^2; a^3 next

as well as a while :

a:=1: while a<4 C a^2; b:=a: a:=b+1: end

Types of data

The types are:

  • intervals: * complex numbers: 1+i
  • matrices and vectors: {1, 2,3; 4,5,6}
  • numbers: 3/4
  • constants: I , pi , and E

Operations on the matrices

For the point-to-point operators, one makes precede the operator by a point:
  • .* for the multiplication
  • ./ for division
  • .^ for the power
and ` for transposed (attention within the meaning of the apostrophe).

M: = {1, 2; 3,4}; M.* M; M * M give

-: M: = {1, 2; 3, 4} -: {1, 4; 9, 16} -: {7, 10; 15, 22}

Examples

Layout of curves:

N: =space (T, T, 50); there: = (n-1.0). /(2*n-1) ^.5; there: =evalf (there); stud (xy, line, N, there);

It should be noticed that y is calculated twice, the formula:

there: = evalf ((n-1.0). /(2*n-1) ^.5);

causing an error.

External bonds

  • official page of Matt
  • the order Yubnub for Matt: the order SUBDUES

Random links:Commission of regulation of energy | Murad IV | Tony Tony Chopper | Littleton (Colorado) | Associations Contact | Staub_rouillé