Clarify that projection is Euclidean

This commit is contained in:
Aaron Fenyes 2024-12-23 11:28:19 -08:00
parent 6df0e855cf
commit f5ba861ffa

View File

@ -139,8 +139,9 @@ impl ConfigSubspace {
self.assembly_dim
}
// find the projection onto this subspace of the motion where the element
// with the given column index has velocity `v`
// find the projection onto this subspace, with respect to the Euclidean
// inner product, of the motion where the element with the given column
// index has velocity `v`
pub fn proj(&self, v: &DVectorView<f64>, column_index: usize) -> DMatrix<f64> {
if self.dim() == 0 {
const ELEMENT_DIM: usize = 5;