Edge Rewrite
// HTMLRewriter · presentation

This page was redesigned at the edge.

Cloudflare fetched the original article and streamed it through HTMLRewriter to apply an entirely new visual system without rebuilding the source page.

// request.cf · coarse context

A page that knows where it met you.

Only coarse request metadata is shown. This demo does not display or persist visitor IP addresses.

Country
US
Cloudflare location
CMH
Connection
HTTP/2
Language
Not provided

Ray ID: a21ca4e48be7b179

Jump to content

// Workers AI · dad joke modeWhat did matrix addition say to its friend? "You add to my life.

From Wikipedia, the free encyclopedia
Illustration of the addition of two matrices.

In mathematics, matrix addition is the operation of adding two matrices by adding the corresponding entries together.

For a vector, , adding two matrices would have the geometric effect of applying each matrix transformation separately onto , then adding the transformed vectors.

Definition

[edit]

Two matrices must have an equal number of rows and columns to be added.[1] In which case, the sum of two matrices A and B will be a matrix which has the same number of rows and columns as A and B. The sum of A and B, denoted A + B, is computed by adding corresponding elements of A and B:[2][3]

Or more concisely (assuming that A + B = C):[4]

For example:

Similarly, it is also possible to subtract one matrix from another, as long as they have the same dimensions. The difference of A and B, denoted A B, is computed by subtracting elements of B from corresponding elements of A, and has the same dimensions as A and B. For example:

See also

[edit]

Notes

[edit]
  1. Elementary Linear Algebra by Rorres Anton 10e p53
  2. Lipschutz & Lipson 2017.
  3. Riley, Hobson & Bence 2006.
  4. Weisstein, Eric W. "Matrix Addition". mathworld.wolfram.com. Retrieved 2020-09-07.

References

[edit]