wecopttool.dofmat_to_vec
- dofmat_to_vec(mat)[source]
Flatten a matrix that has one column per DOF.
Returns a 1D vector.
Opposite of
wecopttool.vec_to_dofmat()
.- Parameters:
mat (ArrayLike) – Matrix to be flattened.
- Return type:
See also
Flatten a matrix that has one column per DOF.
Returns a 1D vector.
Opposite of wecopttool.vec_to_dofmat()
.
mat (ArrayLike) – Matrix to be flattened.
See also