Manuals/calci/MATRIXADD

From ZCubes Wiki
Jump to navigation Jump to search
MATRIXADD (a,b,afactor,bfactor)


  • Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle a } and Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle b} are any two matrices.

Description

  • This function calculates the addition of the two matrices.
  • In Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle MATRIXADD (a,b,afactor,bfactor)} ,Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle a} and Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle b} are two matrices.
  • is the multiplying value with Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle a} and Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle bfactor} is the multiplying value with Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle b} .
  • Matrix addition is the basic operation of adding two matrices with the corresponding entries.
  • Two matrices must have an equal number of rows and columns.
  • The sum of matrices A and B is denoted by
  • Here <matrix>afactor</math> constant value is multiplied with each values in matrix A and Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle bfactor} constant value is multiplied with each values in matrix B.
  • Then it is doing the matrix addition with all the corresponding entries.
  • If the factor values are not given then it is doing usual matrix addition with the factor values as 1.

Examples

1. MATRIXADD([[10,14,17],[6,-3,-5],[21,-34,76]],[[22,25,33],[-17,19,20],[26,35,-21]])

32 39 50
-11 16 15
47 1 55

2. MATRIXADD([[4,5,10],[-12,34,31]],[[17,18,27],[29,-24,31]])

21 23 37
17 10 62

3. MATRIXADD([[6,7],[10,-12]],[[3.2,4],[5,15]],6,8)

61.6 74
100 48

See Also

References