The Laplacian of a signed graph containing ambivalent ties.

`laplacian_matrix_complex(g, attr, norm = FALSE)`

- g
igraph object.

- attr
edge attribute name that encodes positve ("P"), negative ("N") and ambivalent ("A") ties.

- norm
Whether to calculate the normalized Laplacian. See definitions below.

a complex matrix

See laplacian_matrix of igraph for more details. In the complex case, D is a diagonal matrix containing the absolute values of row sums of the complex adjacency matrix.