diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-12-09 12:01:44 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-12-09 12:01:44 +0300 |
commit | 9e365069afe156f33fadfad9705e1325f894cd54 (patch) | |
tree | 78373044d029feb51f987b45208e0c1a36958625 /source/blender/blenlib/intern/math_statistics.c | |
parent | d8b42751625c915113b64f5a2d9c72f19f009fee (diff) |
Cleanup: move public doc-strings into headers for 'blenlib'
- Added space below non doc-string comments to make it clear
these aren't comments for the symbols directly below them.
- Use doxy sections for some headers.
- Minor improvements to doc-strings.
Ref T92709
Diffstat (limited to 'source/blender/blenlib/intern/math_statistics.c')
-rw-r--r-- | source/blender/blenlib/intern/math_statistics.c | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/source/blender/blenlib/intern/math_statistics.c b/source/blender/blenlib/intern/math_statistics.c index b90ac99dbfe..8087e7a962a 100644 --- a/source/blender/blenlib/intern/math_statistics.c +++ b/source/blender/blenlib/intern/math_statistics.c @@ -87,18 +87,6 @@ static void covariance_m_vn_ex_task_cb(void *__restrict userdata, } } -/** - * \brief Compute the covariance matrix of given set of nD coordinates. - * - * \param n: the dimension of the vectors (and hence, of the covariance matrix to compute). - * \param cos_vn: the nD points to compute covariance from. - * \param nbr_cos_vn: the number of nD coordinates in cos_vn. - * \param center: the center (or mean point) of cos_vn. If NULL, - * it is assumed cos_vn is already centered. - * \param use_sample_correction: whether to apply sample correction - * (i.e. get 'sample variance' instead of 'population variance'). - * \return r_covmat the computed covariance matrix. - */ void BLI_covariance_m_vn_ex(const int n, const float *cos_vn, const int nbr_cos_vn, @@ -128,14 +116,6 @@ void BLI_covariance_m_vn_ex(const int n, BLI_task_parallel_range(0, n * n, &data, covariance_m_vn_ex_task_cb, &settings); } -/** - * \brief Compute the covariance matrix of given set of 3D coordinates. - * - * \param cos_v3: the 3D points to compute covariance from. - * \param nbr_cos_v3: the number of 3D coordinates in cos_v3. - * \return r_covmat the computed covariance matrix. - * \return r_center the computed center (mean) of 3D points (may be NULL). - */ void BLI_covariance_m3_v3n(const float (*cos_v3)[3], const int nbr_cos_v3, const bool use_sample_correction, |