Documentation/Calc Functions/MATR.INVERSA
TDF LibreOffice Document Liberation Project Blog comunitari Weblate Nextcloud Redmine Ask LibreOffice Donazione
Nome funzione:
MATR.INVERSA
Categoria:
Vettore
Riepilogo:
Determina l'inverso moltiplicativo di una matrice invertibile. Una matrice è invertibile solo se è quadrata (n x n) e ha un determinante diverso da zero.
Sintassi:
MATR.INVERSA(Matrice)
Restituisce:
Restituisce una matrice di numeri che rappresentano la matrice inversa. La matrice restituita ha le stesse dimensioni della matrice fornita.
Argomenti:
Matrice contiene la matrice quadrata dei valori da invertire. Questo argomento può assumere la forma di un intervallo di celle esplicito (come A1:C3), il nome di un intervallo denominato, il nome di un intervallo di database o una matrice di costanti in linea.
- Se Matrice non è un riferimento a un'area singola, MATR.INVERSA segnala un errore di argomento non valido (Err:502). L'operatore di concatenazione dei riferimenti tilde (~) non può essere utilizzato per unire più aree in questo argomento.
- Se Matrice non ha lo stesso numero di righe delle colonne, MATR.INVERSA segnala un errore di argomento non valido (Err:502).
- Se una cella all'interno di Matrice è vuota o contiene dati non numerici, MATR.INVERSA riporta un errore #VALORE!.
- Se Matrice non è invertibile (MATR.DETERM(Matrice) è uguale a 0), MATR.INVERSA segnala un errore di argomento non valido (Err:502 ).
Altri dettagli:
General information about Calc's array functions
To avoid repetition within the subsequent text, only Windows/Linux key combinations are specified. The following table shows the mapping between these key combinations and their macOS equivalents.
Windows/Linux key combination | macOS equivalent | Comments |
---|---|---|
Ctrl + ⇧ Shift + ↵ Enter | ⌘ Cmd + ⇧ Shift + ↵ Enter | Create an array formula. |
Ctrl + / | ⌘ Cmd + / | Select all cells in an array formula range. "/" is the division key on the numeric keypad. |
Ctrl + C | ⌘ Cmd + C | Copy. |
Ctrl + V | ⌘ Cmd + V | Paste. |
- An array is a rectangular range of cells containing data. For example, a square range of three rows by three columns is a 3 x 3 array. The smallest possible array is a 1 x 2 or 2 x 1 array, with two adjacent cells.
- A formula in which the individual values in a cell range are evaluated is referred to as an array formula. The difference between an array formula and other formulas is that the array formula deals with several values simultaneously instead of just one.
- If you create an array formula using the Function Wizard, you must mark the Array check box so that the results are returned in an array. Otherwise, only the value in the upper-left cell of the array being calculated is returned.
- If you enter the array formula directly into the cell, you must use the key combination Ctrl + ⇧ Shift + ↵ Enter instead of just the ↵ Enter key. Only then does the formula become an array formula.
- An array formula is displayed inside curly brackets or braces ("{" and "}"). It is not possible to create an array formula by manually entering these braces.
- Some array functions take parameters that are forced to evaluate as an array formula, even when the formula is entered normally. These are MATR.DETERM, MATR.INVERSA, MATR.PRODOTTO, MATR.SOMMA.PRODOTTO, SOMMA.DIFF.Q, SOMMA.SOMMA.Q, and SOMMA.Q.DIFF.
- Calc supports constant inline arrays in formulas. An inline array is enclosed within curly brackets or braces ("{" and "}"). Individual elements can be numbers (including negatives), logical constants (VERO, FALSO), or literal strings. Non-constant expressions are not allowed. Arrays can be entered with one or more rows, and one or more columns. All rows must comprise the same number of elements; similarly, all columns must comprise the same number of elements.
- Editing array formulas. Select the cell range containing the array formula. To select the whole range, position the cursor inside the range and press Ctrl + /. Then press F2 or position the cursor in the Input line, edit the formula as required, and use the key combination Ctrl + ⇧ Shift + ↵ Enter.
- Deleting array formulas. Select the cell range containing the array formula. To select the whole range, position the cursor inside the range and press Ctrl + /. Press Delete to delete the array contents, including the array formula. Alternatively, press ← Backspace to bring up the Delete Contents dialog box, select Formulas or Delete all, and click .
- Copying array formulas. Select the cell range containing the array formula. To select the whole range, position the cursor inside the range and press Ctrl + /. Then press F2 or position the cursor in the Input line. Copy the formula by pressing Ctrl + C. Select a range of cells where you want to insert the array formula and either press F2 or position the cursor in the Input line. Paste the formula by pressing Ctrl + V in the selected space and confirm it using the key combination Ctrl + ⇧ Shift + ↵ Enter. The selected range now contains the array formula.
- Adjusting an array range. Select the cell range containing the array formula. To select the whole range, position the cursor inside the range and press Ctrl + /. Below the selection, to the right, you will see a small icon with which you can zoom in or out on the range using your mouse. When you adjust the array range, the array formula will not be adjusted automatically - you are only changing the range in which the results will appear.
Esempi:
Formula | Descrizione | Restituisce |
---|---|---|
{=MATR.INVERSA(A1:B2)} immessa come formula di matrice dopo aver selezionato la cella A4. Le celle A1, A2, B1 e B2 contengono rispettivamente i valori 4, 3, 2 e 2. | Qui la funzione popola le celle A4, A5, B4 e B5 rispettivamente con i valori 1, -1,5, -1 e 2. Si noti che la formula di matrice {=MATR.PRODOTTO(A1:B2; A4:B5)} ora restituirebbe il 2 x 2 matrice identità [math]\displaystyle{ \begin{pmatrix}
1 & 0 \\
0 & 1
\end{pmatrix} }[/math]. |
Vedete la descrizione |
{=MATR.INVERSA(valori_matrice)} immessa come formula di una matrice dopo aver selezionato la cella D6. valori_matrice è un intervallo denominato che copre un'area di 2 x 2 celle contenente i valori {1,5, 3,5; 2, -4}. | Qui la funzione popola le celle D6, D7, E6 ed E7 con i valori 0,307692307692308, 0,153846153846154, 0,269230769230769 e -0,115384615384615 rispettivamente. | Vedete la descrizione |
{=MATR.INVERSA({1,2; 2,1})} immessa come formula di una matrice dopo aver selezionato la cella A1. | Qui la funzione popola le celle A1, A2, B1 e B2 con i valori -0,3333333333333333, 0,666666666666667, 0,6666666666666667 e -0,333333333333333333333333333 rispettivamente. | Vedete la descrizione |
Funzioni di LibreOffice correlate:
Standard ODF:
Funzioni equivalenti di Excel:
MATR.INVERSA