Graphics Reference
In-Depth Information
c =
5 8 21
d =
10 8 6
e =
0.4000 0.5000 0.6667
f =
0.5000 1.0000 3.5000
g =
5.0000 2.0000 0.4286
h =
5.0000 2.0000 0.4286
i =
25 16 9
j =
32 16 8
k =
5 16 2187
Since the variable operands are vectors of the same dimension in all cases, the operations will be carried out
element to element (for the sum and the difference there is no distinction between vectors and matrices, as they are
identical operations in both cases).
In terms of operators with array variables, the most important are specified below:
A + B, A-B, A * B
Addition, subtraction and the product of matrices
A\B
If A is square, A\B = inv (A) * B. If A is not square, A\B is the solution in the sense of least-squares
system AX = B
B/A
Coincides with (A ' \ B')'
A n
Matches A * A * A *… * N times (n scale)
p A
Performs the calculation only if p is a scalar
Search WWH ::




Custom Search