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
should be replaced by E_i=(Ai^2+Bi^2)Wi^2mi, in which mi=Xi_tMXi, in which Xi is the ith eigenvector, and M is the mass matrix and _t stands for the transpose. In other words, Xi_tMXi is matrix notation of the scalar product of the two vectors, Xi and MXi, i.e. Xi.MXi.
The text was updated successfully, but these errors were encountered:
you are referring to this line of code E[i, :] = 0.5 * (A[i, :].T**2 + B[i, :].T**2) * omega**2 * masses * np.sum(Xi**2, 0).T
so the correct form would be: E[i, :] = (A[i, :].T**2 + B[i, :].T**2) * omega**2 * Xi.T*masses*Xi
should be replaced by E_i=(Ai^2+Bi^2)Wi^2mi, in which mi=Xi_tMXi, in which Xi is the ith eigenvector, and M is the mass matrix and _t stands for the transpose. In other words, Xi_tMXi is matrix notation of the scalar product of the two vectors, Xi and MXi, i.e. Xi.MXi.
The text was updated successfully, but these errors were encountered: