本文整理汇总了C++中PCA::transfer方法的典型用法代码示例。如果您正苦于以下问题:C++ PCA::transfer方法的具体用法?C++ PCA::transfer怎么用?C++ PCA::transfer使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类PCA
的用法示例。
在下文中一共展示了PCA::transfer方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: Covariance
DIRECT (CrossCorrelationTable_to_CrossCorrelationTables)
autoCrossCorrelationTables thee = CrossCorrelationTables_create ();
long nrows = 0, ncols = 0, nselected = 0;
LOOP {
iam (CrossCorrelationTable); nselected++;
if (nselected == 1) {
nrows = my numberOfRows;
ncols = my numberOfColumns;
}
if (my numberOfRows != nrows || my numberOfColumns != ncols) Melder_throw ("Dimensions of table ",
IOBJECT, " differs from the rest.");
autoCrossCorrelationTable myc = Data_copy (me);
Collection_addItem (thee.peek(), myc.transfer());
}
praat_new (thee.transfer(), L"ct_", Melder_integer (nselected));
END
FORM (Sound_to_Covariance_channels, L"Sound: To Covariance (channels)", L"Sound: To Covariance (channels)...")
REAL (L"left Time range (s)", L"0.0")
REAL (L"right Time range (s)", L"10.0")
OK
DO
LOOP {
iam (Sound);
praat_new (Sound_to_Covariance_channels (me, GET_REAL (L"left Time range"), GET_REAL (L"right Time range")), my name);
}
END
FORM (Sound_to_CrossCorrelationTable, L"Sound: To CrossCorrelationTable", L"Sound: To CrossCorrelationTable...")
REAL (L"left Time range (s)", L"0.0")