mirror of
https://github.com/davisking/dlib.git
synced 2024-11-01 10:14:53 +08:00
Made a comment clearer
--HG-- extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%404060
This commit is contained in:
parent
530e354fdf
commit
73c0598c1b
@ -27,11 +27,11 @@ double sinc(double x)
|
||||
|
||||
int main()
|
||||
{
|
||||
// Here we declare that our samples will be 1 dimensional column vectors. The reason for
|
||||
// using a matrix here is that in general you can use N dimensional vectors as inputs to the
|
||||
// krls object. But here we only have 1 dimension to make the example simple.
|
||||
// (Note that if you don't know the dimensionality of your vectors at compile time
|
||||
// you can change the first number to a 0 and then set the size at runtime)
|
||||
// Here we declare that our samples will be 1 dimensional column vectors. In general,
|
||||
// you can use N dimensional vectors as inputs to the krls object. But here we only
|
||||
// have 1 dimension to make the example simple. (Note that if you don't know the
|
||||
// dimensionality of your vectors at compile time you can change the first number to
|
||||
// a 0 and then set the size at runtime)
|
||||
typedef matrix<double,1,1> sample_type;
|
||||
|
||||
// Now we are making a typedef for the kind of kernel we want to use. I picked the
|
||||
|
Loading…
Reference in New Issue
Block a user