.ModelicaReference.Operators.'symmetric()'

Information

Returns a symmetric matrix

Syntax

symmetric(A)

Description

Returns a matrix where the diagonal elements and the elements above the diagonal are identical to the corresponding elements of matrix A and where the elements below the diagonal are set equal to the elements above the diagonal of A, i.e.,

B := symmetric(A)
     -> B[i,j] := A[i,j], if i ≤ j,
        B[i,j] := A[j,i], if i > j.

Generated at 2019-09-16T01:37:28Z by OpenModelicaOpenModelica 1.14.0~dev-26728-gbf603de using GenerateDoc.mos