Skip to content

Commit

Permalink
DOC: Fix typos and grammar
Browse files Browse the repository at this point in the history
Fix typos and grammar.
  • Loading branch information
jhlegarreta authored and dzenanz committed Sep 2, 2022
1 parent b9ee374 commit fb0a377
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -130,11 +130,11 @@ class ITK_TEMPLATE_EXPORT GaussianMembershipFunction : public MembershipFunction
CovarianceMatrixType m_Covariance; // covariance matrix

// inverse covariance matrix. automatically calculated
// when covariance matirx is set.
// when covariance matrix is set.
CovarianceMatrixType m_InverseCovariance;

// pre_factor (normalization term). automatically calculated
// when covariance matirx is set.
// when covariance matrix is set.
double m_PreFactor;

/** Boolean to cache whether the covariance is singular or nearly singular */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ class ITK_TEMPLATE_EXPORT MahalanobisDistanceMembershipFunction : public Members
CovarianceMatrixType m_Covariance; // covariance matrix

// inverse covariance matrix. automatically calculated
// when covariance matirx is set.
// when covariance matrix is set.
CovarianceMatrixType m_InverseCovariance;

/** Boolean to cache whether the covariance is singular or nearly singular */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ class ITK_TEMPLATE_EXPORT MahalanobisDistanceMetric : public DistanceMetric<TVec
CovarianceMatrixType m_Covariance; // covariance matrix

// inverse covariance matrix which is automatically calculated
// when covariance matirx is set. This speed up the GetProbability()
// when covariance matrix is set. This speeds up the GetProbability()
CovarianceMatrixType m_InverseCovariance;

double m_Epsilon{ 1e-100 };
Expand Down

0 comments on commit fb0a377

Please sign in to comment.