• Non ci sono risultati.

Matrix addition and multiplication 14/03

N/A
N/A
Protected

Academic year: 2021

Condividi "Matrix addition and multiplication 14/03"

Copied!
2
0
0

Testo completo

(1)

Matrix addition and multiplication 14/03

Summary

Rm,n is the set of matrices (arrays) of size m × n . Any matrix A ∈ Rm,n contains mn entries aij ∈ R .

If A, B ∈ Rm,n, their sum A + B is defined by adding the entries in corresponding positions.

If A ∈ Rm,n and λ ∈ R , to compute the product λA the number λ must multiply every element of A .

Example of special matrices:

(1 0 −5 8) ∈ R1,4,

 1 0

−5 8

∈ R4,1

Both represent the vector (1, 0, −5, 8) ∈ R4. They are related by the operation of transpose

(1 0 −5 8)T =

 1 0

−5 8

.

A matrix A is said to be symmetric if A = AT . Examples:

1 8 8 1

! ,

1 0 0 0 4 0 0 0 −7

 ,

1 0 0 0 1 0 0 0 1

 ,

0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

.

The third is the ‘identity matrix’, the last the ‘zero matrix’.

(2)

One can define the ‘dot product’ between any two vectors of the same ‘length’. If

r = (a1 · · ·an), c =

b1

...

bn

 then

r·c =a1b2 + · · · +anbn =

n

X

i=1

aibi.

Given matrices A ∈ Rm,n e B ∈ Rn,p, let

r1, . . . , rm be the rows of A , c1, . . . , cp the columns of B . Then

AB = (ri·cj) ∈ Rm,p

is the matrix whose entry in row i and column j is ri·cj . In particular, the matrix product r c is the 1 × 1 matrix with entry r·c.

Riferimenti

Documenti correlati

When the scenario has a negative correlation (Case C), the percentage of successes tends to be more packed around a given value.. Probability distribution of the opportunity value

The probability distributions of the velocities are bimodal, revealing the growth direction: negative velocities denote roots growing to the right, and positive velocities denote

A 6-year-old spayed female ferret (Mustela putorius furo) exhibiting clinical signs of weakness, anorexia, lethargy, weight loss, and frequent urination was presented for a

(PD-1) receptor on infiltrating T-cells, which otherwise produces an inhibition of T-cells directed against melanoma antigens, showed promising clinical activity and

We further demonstrate that our results are not showing redshift trends by constraining the mass and observable bias parameters for each tested scaling relation in two

Then E[`] is unramified at v by the N´ eron-Ogg-Shafarevich theorem (cf.. For what we have said above the bad reduction can be only of multiplicative type. Since the Hilbert class

We therefore would like to briefly retrace, in this paper, the history of the Na- tional Museum of Iraq (today also named Iraq Museum) in Baghdad while un- derlining the importance

•1.Spektakl Apocalypsis cum figuris był prezentowany w Mediolanie w dniach 27–28, 31 stycznia, 1, 4–5 lutego 1979. „Apocalypsis cum figuris”: kalendarium