You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm attemping to take the area matrix A (#Fx1) and expand it out into a diagonal matrix Ad, where the diagonal is A repeated three times. Is igl::repdiag the correct function to use here? If so, what is the correct way of using it?
I've tried the following:
Ad = igl::repdiag(A,3);
igl::repdiag(A,3,Ad);
in both cases, Ad, ends up being the same shape as A.