Manuals/calci/MATRIXREPLACECOLUMN
Jump to navigation
Jump to search
MATRIXREPLACECOLUMN (a,Column,ColumnIndex)
- 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} is any matrix.
Description
- This function replace the column entries with the given values in the given matrix.
- 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 MATRIXREPLACECOLUMN (a,Column,ColumnIndex)} , 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} is a matrix with any order.
- 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 Column} is the entries to be replaced in the given matrix.
- 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 ColumnIndex} is the number of the column to be replaced.
- Suppose the column of the given matrix is more than the replaced column then the remaining entries will be displayed as Null.
Examples
1. MATRIXREPLACECOLUMN([[1,-1,2,-1],[2,-2,3,-3],[1,1,1,0],[1,-1,4,3]],[-8,-20,-2,4],3)
| 1 | -1 | 2 | -8 |
| 2 | -2 | 3 | -20 |
| 1 | 1 | 1 | -2 |
| 1 | -1 | 4 | 4 |
2. MATRIXREPLACECOLUMN([[1,-1,2,-1],[2,-2,3,-3],[1,1,1,0],[1,-1,4,3]],[-8,-2,4,9,31],3)
| 1 | -1 | 2 | -8 |
| 2 | -2 | 3 | -2 |
| 1 | 1 | 1 | 4 |
| 1 | -1 | 4 | 9 |