1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
|
<!-- HTML header for doxygen 1.8.3.1-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.3.1"/>
<title>Templates -- Meow: meow::BallProjection< Scalar > Class Template Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
$(document).ready(initResizable);
$(window).load(resizeHeight);
</script>
<link href="stylesheet.css" rel="stylesheet" type="text/css" />
<link href="custom.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectlogo"><img alt="Logo" src="logo.png"/></td>
<td style="padding-left: 0.5em;">
<div id="projectname">Templates -- Meow
 <span id="projectnumber">1.1.2</span>
</div>
<div id="projectbrief">不能,也不應該先編譯成obj-file的templates</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.3.1 -->
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
<div id="nav-tree">
<div id="nav-tree-contents">
<div id="nav-sync" class="sync"></div>
</div>
</div>
<div id="splitbar" style="-moz-user-select:none;"
class="ui-resizable-handle">
</div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('classmeow_1_1BallProjection.html','');});
</script>
<div id="doc-content">
<div class="header">
<div class="summary">
<a href="#nested-classes">Classes</a> |
<a href="#pub-methods">Public Member Functions</a> |
<a href="classmeow_1_1BallProjection-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">meow::BallProjection< Scalar > Class Template Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>A ball projection is to project the given vector to a hyper-sphere.
<a href="classmeow_1_1BallProjection.html#details">More...</a></p>
<p><code>#include "<a class="el" href="Transformations_8h_source.html">Transformations.h</a>"</code></p>
<div class="dynheader">
Inheritance diagram for meow::BallProjection< Scalar >:</div>
<div class="dyncontent">
<div class="center">
<img src="classmeow_1_1BallProjection.png" usemap="#meow::BallProjection< Scalar >_map" alt=""/>
<map id="meow::BallProjection< Scalar >_map" name="meow::BallProjection< Scalar >_map">
<area href="classmeow_1_1Transformation.html" title="A base class for implementing kinds of transformations." alt="meow::Transformation< Scalar >" shape="rect" coords="0,0,195,24"/>
</map>
</div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a1efa5c200a9d5605453b47e3856ccf28"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classmeow_1_1BallProjection.html#a1efa5c200a9d5605453b47e3856ccf28">BallProjection</a> (<a class="el" href="classmeow_1_1BallProjection.html">BallProjection</a> const &b)</td></tr>
<tr class="separator:a1efa5c200a9d5605453b47e3856ccf28"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:af7e722b66c6bbc7245726902b6849850"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classmeow_1_1BallProjection.html#af7e722b66c6bbc7245726902b6849850">BallProjection</a> (size_t d)</td></tr>
<tr class="separator:af7e722b66c6bbc7245726902b6849850"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a9d9d151e138e50c2bb4cd3d039fb0808"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classmeow_1_1BallProjection.html#a9d9d151e138e50c2bb4cd3d039fb0808">BallProjection</a> (size_t d, Scalar const &r)</td></tr>
<tr class="separator:a9d9d151e138e50c2bb4cd3d039fb0808"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aec71a15af880bdaea8042986c11e2187"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classmeow_1_1BallProjection.html">BallProjection</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classmeow_1_1BallProjection.html#aec71a15af880bdaea8042986c11e2187">copyFrom</a> (<a class="el" href="classmeow_1_1BallProjection.html">BallProjection</a> const &b)</td></tr>
<tr class="memdesc:aec71a15af880bdaea8042986c11e2187"><td class="mdescLeft"> </td><td class="mdescRight">Copy settings from another one. <a href="#aec71a15af880bdaea8042986c11e2187">More...</a><br/></td></tr>
<tr class="separator:aec71a15af880bdaea8042986c11e2187"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:adaf8d494c1177664f49bb63a5d2f36b0"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classmeow_1_1BallProjection.html">BallProjection</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classmeow_1_1BallProjection.html#adaf8d494c1177664f49bb63a5d2f36b0">referenceFrom</a> (<a class="el" href="classmeow_1_1BallProjection.html">BallProjection</a> const &b)</td></tr>
<tr class="memdesc:adaf8d494c1177664f49bb63a5d2f36b0"><td class="mdescLeft"> </td><td class="mdescRight">Reference settings from another one. <a href="#adaf8d494c1177664f49bb63a5d2f36b0">More...</a><br/></td></tr>
<tr class="separator:adaf8d494c1177664f49bb63a5d2f36b0"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:adf2bcb2f82e9f7e2136b187317ba3211"><td class="memItemLeft" align="right" valign="top">Scalar </td><td class="memItemRight" valign="bottom"><a class="el" href="classmeow_1_1BallProjection.html#adf2bcb2f82e9f7e2136b187317ba3211">parameter</a> (size_t i) const </td></tr>
<tr class="memdesc:adf2bcb2f82e9f7e2136b187317ba3211"><td class="mdescLeft"> </td><td class="mdescRight">same as <code><a class="el" href="classmeow_1_1BallProjection.html#a82416bac8768d0f40fc09e8cd3896bc8" title="Return the value of the radius.">radius()</a></code> <a href="#adf2bcb2f82e9f7e2136b187317ba3211">More...</a><br/></td></tr>
<tr class="separator:adf2bcb2f82e9f7e2136b187317ba3211"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a288814dc861482dd70129a698b1a2d7e"><td class="memItemLeft" align="right" valign="top">Scalar </td><td class="memItemRight" valign="bottom"><a class="el" href="classmeow_1_1BallProjection.html#a288814dc861482dd70129a698b1a2d7e">parameter</a> (size_t i, Scalar const &s)</td></tr>
<tr class="memdesc:a288814dc861482dd70129a698b1a2d7e"><td class="mdescLeft"> </td><td class="mdescRight">same as <code>radius(s)</code> <a href="#a288814dc861482dd70129a698b1a2d7e">More...</a><br/></td></tr>
<tr class="separator:a288814dc861482dd70129a698b1a2d7e"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a82416bac8768d0f40fc09e8cd3896bc8"><td class="memItemLeft" align="right" valign="top">Scalar </td><td class="memItemRight" valign="bottom"><a class="el" href="classmeow_1_1BallProjection.html#a82416bac8768d0f40fc09e8cd3896bc8">radius</a> () const </td></tr>
<tr class="memdesc:a82416bac8768d0f40fc09e8cd3896bc8"><td class="mdescLeft"> </td><td class="mdescRight">Return the value of the radius. <a href="#a82416bac8768d0f40fc09e8cd3896bc8">More...</a><br/></td></tr>
<tr class="separator:a82416bac8768d0f40fc09e8cd3896bc8"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a5e4bbc9cf477002fab2dad6f37e2553c"><td class="memItemLeft" align="right" valign="top">Scalar </td><td class="memItemRight" valign="bottom"><a class="el" href="classmeow_1_1BallProjection.html#a5e4bbc9cf477002fab2dad6f37e2553c">radius</a> (Scalar const &r)</td></tr>
<tr class="memdesc:a5e4bbc9cf477002fab2dad6f37e2553c"><td class="mdescLeft"> </td><td class="mdescRight">Setup the radius. <a href="#a5e4bbc9cf477002fab2dad6f37e2553c">More...</a><br/></td></tr>
<tr class="separator:a5e4bbc9cf477002fab2dad6f37e2553c"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a3eff2f36a83ba683da6bc9bb82699b30"><td class="memItemLeft" align="right" valign="top">size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classmeow_1_1BallProjection.html#a3eff2f36a83ba683da6bc9bb82699b30">dimension</a> () const </td></tr>
<tr class="memdesc:a3eff2f36a83ba683da6bc9bb82699b30"><td class="mdescLeft"> </td><td class="mdescRight">Get the dimension of this projection. <a href="#a3eff2f36a83ba683da6bc9bb82699b30">More...</a><br/></td></tr>
<tr class="separator:a3eff2f36a83ba683da6bc9bb82699b30"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a2573c364dd1e0d7de32b1e2afc0bb1b5"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classmeow_1_1Matrix.html">Matrix</a>< Scalar > </td><td class="memItemRight" valign="bottom"><a class="el" href="classmeow_1_1BallProjection.html#a2573c364dd1e0d7de32b1e2afc0bb1b5">transformate</a> (<a class="el" href="classmeow_1_1Matrix.html">Matrix</a>< Scalar > const &x) const </td></tr>
<tr class="memdesc:a2573c364dd1e0d7de32b1e2afc0bb1b5"><td class="mdescLeft"> </td><td class="mdescRight">Project the input vector(s) onto the hyper-sphere and return it. <a href="#a2573c364dd1e0d7de32b1e2afc0bb1b5">More...</a><br/></td></tr>
<tr class="separator:a2573c364dd1e0d7de32b1e2afc0bb1b5"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a4fb7773f5566e93435ba56defbb7efc6"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classmeow_1_1Matrix.html">Matrix</a>< Scalar > </td><td class="memItemRight" valign="bottom"><a class="el" href="classmeow_1_1BallProjection.html#a4fb7773f5566e93435ba56defbb7efc6">jacobian</a> (<a class="el" href="classmeow_1_1Matrix.html">Matrix</a>< Scalar > const &x) const </td></tr>
<tr class="memdesc:a4fb7773f5566e93435ba56defbb7efc6"><td class="mdescLeft"> </td><td class="mdescRight">Return the jacobian matrix (derivate by the input vector) of this projection. <a href="#a4fb7773f5566e93435ba56defbb7efc6">More...</a><br/></td></tr>
<tr class="separator:a4fb7773f5566e93435ba56defbb7efc6"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ad2d62da97dd4b527c254e62a1ec949d8"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classmeow_1_1Matrix.html">Matrix</a>< Scalar > </td><td class="memItemRight" valign="bottom"><a class="el" href="classmeow_1_1BallProjection.html#ad2d62da97dd4b527c254e62a1ec949d8">jacobian</a> (<a class="el" href="classmeow_1_1Matrix.html">Matrix</a>< Scalar > const &x, size_t i) const </td></tr>
<tr class="memdesc:ad2d62da97dd4b527c254e62a1ec949d8"><td class="mdescLeft"> </td><td class="mdescRight">Return the jacobian matrix (derivate by radius) of this projection. <a href="#ad2d62da97dd4b527c254e62a1ec949d8">More...</a><br/></td></tr>
<tr class="separator:ad2d62da97dd4b527c254e62a1ec949d8"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a8e7e0ddd31c51bbaa934f77aee760f18"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classmeow_1_1BallProjection.html">BallProjection</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classmeow_1_1BallProjection.html#a8e7e0ddd31c51bbaa934f77aee760f18">operator=</a> (<a class="el" href="classmeow_1_1BallProjection.html">BallProjection</a> const &b)</td></tr>
<tr class="memdesc:a8e7e0ddd31c51bbaa934f77aee760f18"><td class="mdescLeft"> </td><td class="mdescRight">Same as <code>copyFrom(b)</code> <a href="#a8e7e0ddd31c51bbaa934f77aee760f18">More...</a><br/></td></tr>
<tr class="separator:a8e7e0ddd31c51bbaa934f77aee760f18"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a4f2e133f911088b7e13cabc52b3e6b92"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classmeow_1_1Matrix.html">Matrix</a>< Scalar > </td><td class="memItemRight" valign="bottom"><a class="el" href="classmeow_1_1BallProjection.html#a4f2e133f911088b7e13cabc52b3e6b92">operator()</a> (<a class="el" href="classmeow_1_1Matrix.html">Matrix</a>< Scalar > const &v) const </td></tr>
<tr class="memdesc:a4f2e133f911088b7e13cabc52b3e6b92"><td class="mdescLeft"> </td><td class="mdescRight">Same as <code>transformate(v)</code> <a href="#a4f2e133f911088b7e13cabc52b3e6b92">More...</a><br/></td></tr>
<tr class="separator:a4f2e133f911088b7e13cabc52b3e6b92"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="inherit_header pub_methods_classmeow_1_1Transformation"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classmeow_1_1Transformation')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="classmeow_1_1Transformation.html">meow::Transformation< Scalar ></a></td></tr>
<tr class="memitem:a96471a49fe0b9737ad5b98b8e917385e inherit pub_methods_classmeow_1_1Transformation"><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classmeow_1_1Transformation.html#a96471a49fe0b9737ad5b98b8e917385e">~Transformation</a> ()</td></tr>
<tr class="separator:a96471a49fe0b9737ad5b98b8e917385e inherit pub_methods_classmeow_1_1Transformation"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a9c4d19fe8d95967596b06bc026bdf200 inherit pub_methods_classmeow_1_1Transformation"><td class="memItemLeft" align="right" valign="top">size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classmeow_1_1Transformation.html#a9c4d19fe8d95967596b06bc026bdf200">inputRows</a> () const </td></tr>
<tr class="memdesc:a9c4d19fe8d95967596b06bc026bdf200 inherit pub_methods_classmeow_1_1Transformation"><td class="mdescLeft"> </td><td class="mdescRight">Return the number of rows of the input matrix. <a href="#a9c4d19fe8d95967596b06bc026bdf200">More...</a><br/></td></tr>
<tr class="separator:a9c4d19fe8d95967596b06bc026bdf200 inherit pub_methods_classmeow_1_1Transformation"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a1b556b6b0798d4e03cae5cdc474dca13 inherit pub_methods_classmeow_1_1Transformation"><td class="memItemLeft" align="right" valign="top">size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classmeow_1_1Transformation.html#a1b556b6b0798d4e03cae5cdc474dca13">inputCols</a> () const </td></tr>
<tr class="memdesc:a1b556b6b0798d4e03cae5cdc474dca13 inherit pub_methods_classmeow_1_1Transformation"><td class="mdescLeft"> </td><td class="mdescRight">Return the number of columns of the input matrix. <a href="#a1b556b6b0798d4e03cae5cdc474dca13">More...</a><br/></td></tr>
<tr class="separator:a1b556b6b0798d4e03cae5cdc474dca13 inherit pub_methods_classmeow_1_1Transformation"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aae50028aba551ad3459335299794f8af inherit pub_methods_classmeow_1_1Transformation"><td class="memItemLeft" align="right" valign="top">size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classmeow_1_1Transformation.html#aae50028aba551ad3459335299794f8af">outputRows</a> () const </td></tr>
<tr class="memdesc:aae50028aba551ad3459335299794f8af inherit pub_methods_classmeow_1_1Transformation"><td class="mdescLeft"> </td><td class="mdescRight">Return the number of rows of the output matrix. <a href="#aae50028aba551ad3459335299794f8af">More...</a><br/></td></tr>
<tr class="separator:aae50028aba551ad3459335299794f8af inherit pub_methods_classmeow_1_1Transformation"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a45fb012c3276a37a71805590ab3d75a8 inherit pub_methods_classmeow_1_1Transformation"><td class="memItemLeft" align="right" valign="top">size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classmeow_1_1Transformation.html#a45fb012c3276a37a71805590ab3d75a8">outputCols</a> () const </td></tr>
<tr class="memdesc:a45fb012c3276a37a71805590ab3d75a8 inherit pub_methods_classmeow_1_1Transformation"><td class="mdescLeft"> </td><td class="mdescRight">Return the number of columns of the output matrix. <a href="#a45fb012c3276a37a71805590ab3d75a8">More...</a><br/></td></tr>
<tr class="separator:a45fb012c3276a37a71805590ab3d75a8 inherit pub_methods_classmeow_1_1Transformation"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a2dedc054a656a962e8556472aa767dbb inherit pub_methods_classmeow_1_1Transformation"><td class="memItemLeft" align="right" valign="top">size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classmeow_1_1Transformation.html#a2dedc054a656a962e8556472aa767dbb">parameterSize</a> () const </td></tr>
<tr class="memdesc:a2dedc054a656a962e8556472aa767dbb inherit pub_methods_classmeow_1_1Transformation"><td class="mdescLeft"> </td><td class="mdescRight">Return the number of parameters. <a href="#a2dedc054a656a962e8556472aa767dbb">More...</a><br/></td></tr>
<tr class="separator:a2dedc054a656a962e8556472aa767dbb inherit pub_methods_classmeow_1_1Transformation"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a71a1e75ebcf4d692cb9f0dcfeba1c1e4 inherit pub_methods_classmeow_1_1Transformation"><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classmeow_1_1Transformation.html#a71a1e75ebcf4d692cb9f0dcfeba1c1e4">inversable</a> () const </td></tr>
<tr class="memdesc:a71a1e75ebcf4d692cb9f0dcfeba1c1e4 inherit pub_methods_classmeow_1_1Transformation"><td class="mdescLeft"> </td><td class="mdescRight">Return whether this transformation is inversable or not. <a href="#a71a1e75ebcf4d692cb9f0dcfeba1c1e4">More...</a><br/></td></tr>
<tr class="separator:a71a1e75ebcf4d692cb9f0dcfeba1c1e4 inherit pub_methods_classmeow_1_1Transformation"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aa9a476c677e7efc805c0fbdccfb48b38 inherit pub_methods_classmeow_1_1Transformation"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classmeow_1_1Matrix.html">Matrix</a>< Scalar > </td><td class="memItemRight" valign="bottom"><a class="el" href="classmeow_1_1Transformation.html#aa9a476c677e7efc805c0fbdccfb48b38">transformateInv</a> (<a class="el" href="classmeow_1_1Matrix.html">Matrix</a>< Scalar > const &x) const </td></tr>
<tr class="memdesc:aa9a476c677e7efc805c0fbdccfb48b38 inherit pub_methods_classmeow_1_1Transformation"><td class="mdescLeft"> </td><td class="mdescRight">Do the inverse transformation. <a href="#aa9a476c677e7efc805c0fbdccfb48b38">More...</a><br/></td></tr>
<tr class="separator:aa9a476c677e7efc805c0fbdccfb48b38 inherit pub_methods_classmeow_1_1Transformation"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a0186764bb80869bd80b81efb5bb1ee95 inherit pub_methods_classmeow_1_1Transformation"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classmeow_1_1Matrix.html">Matrix</a>< Scalar > </td><td class="memItemRight" valign="bottom"><a class="el" href="classmeow_1_1Transformation.html#a0186764bb80869bd80b81efb5bb1ee95">jacobianInv</a> (<a class="el" href="classmeow_1_1Matrix.html">Matrix</a>< Scalar > const &x) const </td></tr>
<tr class="memdesc:a0186764bb80869bd80b81efb5bb1ee95 inherit pub_methods_classmeow_1_1Transformation"><td class="mdescLeft"> </td><td class="mdescRight">Return the jacobian matrix of the inverse transformation. <a href="#a0186764bb80869bd80b81efb5bb1ee95">More...</a><br/></td></tr>
<tr class="separator:a0186764bb80869bd80b81efb5bb1ee95 inherit pub_methods_classmeow_1_1Transformation"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a4e7e3b24d0879eddc53951dfb357db0b inherit pub_methods_classmeow_1_1Transformation"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classmeow_1_1Matrix.html">Matrix</a>< Scalar > </td><td class="memItemRight" valign="bottom"><a class="el" href="classmeow_1_1Transformation.html#a4e7e3b24d0879eddc53951dfb357db0b">jacobianInv</a> (<a class="el" href="classmeow_1_1Matrix.html">Matrix</a>< Scalar > const &x, size_t i) const </td></tr>
<tr class="memdesc:a4e7e3b24d0879eddc53951dfb357db0b inherit pub_methods_classmeow_1_1Transformation"><td class="mdescLeft"> </td><td class="mdescRight">Return the jacobian matrix of the inverse transformation. <a href="#a4e7e3b24d0879eddc53951dfb357db0b">More...</a><br/></td></tr>
<tr class="separator:a4e7e3b24d0879eddc53951dfb357db0b inherit pub_methods_classmeow_1_1Transformation"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
Additional Inherited Members</h2></td></tr>
<tr class="inherit_header pro_methods_classmeow_1_1Transformation"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_classmeow_1_1Transformation')"><img src="closed.png" alt="-"/> Protected Member Functions inherited from <a class="el" href="classmeow_1_1Transformation.html">meow::Transformation< Scalar ></a></td></tr>
<tr class="memitem:a129b2465033d0f6c8f57e4ee36c52b6c inherit pro_methods_classmeow_1_1Transformation"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classmeow_1_1Transformation.html#a129b2465033d0f6c8f57e4ee36c52b6c">Transformation</a> (size_t <a class="el" href="classmeow_1_1Transformation.html#a9c4d19fe8d95967596b06bc026bdf200">inputRows</a>, size_t <a class="el" href="classmeow_1_1Transformation.html#a1b556b6b0798d4e03cae5cdc474dca13">inputCols</a>, size_t <a class="el" href="classmeow_1_1Transformation.html#aae50028aba551ad3459335299794f8af">outputRows</a>, size_t <a class="el" href="classmeow_1_1Transformation.html#a45fb012c3276a37a71805590ab3d75a8">outputCols</a>, size_t psize)</td></tr>
<tr class="separator:a129b2465033d0f6c8f57e4ee36c52b6c inherit pro_methods_classmeow_1_1Transformation"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ac457f3968b21842afa72344e34e7ada2 inherit pro_methods_classmeow_1_1Transformation"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classmeow_1_1Transformation.html#ac457f3968b21842afa72344e34e7ada2">Transformation</a> (<a class="el" href="classmeow_1_1Transformation.html">Transformation</a> const &b)</td></tr>
<tr class="separator:ac457f3968b21842afa72344e34e7ada2 inherit pro_methods_classmeow_1_1Transformation"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:abe781169171fa3b8206a91e166779d74 inherit pro_methods_classmeow_1_1Transformation"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classmeow_1_1Transformation.html">Transformation</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classmeow_1_1Transformation.html#abe781169171fa3b8206a91e166779d74">copyFrom</a> (<a class="el" href="classmeow_1_1Transformation.html">Transformation</a> const &b)</td></tr>
<tr class="memdesc:abe781169171fa3b8206a91e166779d74 inherit pro_methods_classmeow_1_1Transformation"><td class="mdescLeft"> </td><td class="mdescRight">Copy from the specified one. <a href="#abe781169171fa3b8206a91e166779d74">More...</a><br/></td></tr>
<tr class="separator:abe781169171fa3b8206a91e166779d74 inherit pro_methods_classmeow_1_1Transformation"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a9b6ec99d8363742f77c63a49ba9467b5 inherit pro_methods_classmeow_1_1Transformation"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classmeow_1_1Transformation.html">Transformation</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classmeow_1_1Transformation.html#a9b6ec99d8363742f77c63a49ba9467b5">referenceFrom</a> (<a class="el" href="classmeow_1_1Transformation.html">Transformation</a> const &b)</td></tr>
<tr class="memdesc:a9b6ec99d8363742f77c63a49ba9467b5 inherit pro_methods_classmeow_1_1Transformation"><td class="mdescLeft"> </td><td class="mdescRight">Ceference from the specified one. <a href="#a9b6ec99d8363742f77c63a49ba9467b5">More...</a><br/></td></tr>
<tr class="separator:a9b6ec99d8363742f77c63a49ba9467b5 inherit pro_methods_classmeow_1_1Transformation"><td class="memSeparator" colspan="2"> </td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><h3>template<class Scalar><br/>
class meow::BallProjection< Scalar ></h3>
<p>A ball projection is to project the given vector to a hyper-sphere. </p>
<p>Assume:</p>
<ul>
<li>The dimension of a ball projection is <img class="formulaInl" alt="$ N $" src="form_15.png"/></li>
<li>The radius of the hyper-sphere is <img class="formulaInl" alt="$ R $" src="form_38.png"/></li>
</ul>
<p>Then the transformation is like below: <br/>
</p>
<p class="formulaDsp">
<img class="formulaDsp" alt="\[ \left[ \begin{array}{c} x_1 \\ x_2 \\ x_3 \\ . \\ . \\ . \\ x_N \\ \end{array} \right] \stackrel{transformate}{\rightarrow} \left[ \begin{array}{c} \frac{x_1 \times R}{L} \\ \frac{x_2 \times R}{L} \\ \frac{x_3 \times R}{L} \\ . \\ . \\ . \\ \frac{x_N \times R}{L} \\ \end{array} \right] \\ \]" src="form_39.png"/>
</p>
<p> where <img class="formulaInl" alt="$ L=\sqrt{x_1^2 + x_2^2 + x_3^2 + ... + x_N^2 } $" src="form_40.png"/> </p>
<dl class="section author"><dt>Author</dt><dd>cat_leopard </dd></dl>
</div><h2 class="groupheader">Constructor & Destructor Documentation</h2>
<a class="anchor" id="a1efa5c200a9d5605453b47e3856ccf28"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template<class Scalar > </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classmeow_1_1BallProjection.html">meow::BallProjection</a>< Scalar >::<a class="el" href="classmeow_1_1BallProjection.html">BallProjection</a> </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classmeow_1_1BallProjection.html">BallProjection</a>< Scalar > const & </td>
<td class="paramname"><em>b</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Constructor, copy settings from given <a class="el" href="classmeow_1_1BallProjection.html" title="A ball projection is to project the given vector to a hyper-sphere.">BallProjection</a> </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">b</td><td>another ball projection class </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="af7e722b66c6bbc7245726902b6849850"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template<class Scalar > </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classmeow_1_1BallProjection.html">meow::BallProjection</a>< Scalar >::<a class="el" href="classmeow_1_1BallProjection.html">BallProjection</a> </td>
<td>(</td>
<td class="paramtype">size_t </td>
<td class="paramname"><em>d</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Constructor and setup, radius = 1 </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">d</td><td>Dimension of the input/output vector </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="a9d9d151e138e50c2bb4cd3d039fb0808"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template<class Scalar > </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classmeow_1_1BallProjection.html">meow::BallProjection</a>< Scalar >::<a class="el" href="classmeow_1_1BallProjection.html">BallProjection</a> </td>
<td>(</td>
<td class="paramtype">size_t </td>
<td class="paramname"><em>d</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">Scalar const & </td>
<td class="paramname"><em>r</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Constructor and setup </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">d</td><td>Dimension of the input/output vector </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">r</td><td>Radius of the hyper-sphere </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="aec71a15af880bdaea8042986c11e2187"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template<class Scalar > </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classmeow_1_1BallProjection.html">BallProjection</a>& <a class="el" href="classmeow_1_1BallProjection.html">meow::BallProjection</a>< Scalar >::copyFrom </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classmeow_1_1BallProjection.html">BallProjection</a>< Scalar > const & </td>
<td class="paramname"><em>b</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Copy settings from another one. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">b</td><td>Another one </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><code>*this</code> </dd></dl>
</div>
</div>
<a class="anchor" id="a3eff2f36a83ba683da6bc9bb82699b30"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template<class Scalar > </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">size_t <a class="el" href="classmeow_1_1BallProjection.html">meow::BallProjection</a>< Scalar >::dimension </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Get the dimension of this projection. </p>
</div>
</div>
<a class="anchor" id="a4fb7773f5566e93435ba56defbb7efc6"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template<class Scalar > </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classmeow_1_1Matrix.html">Matrix</a><Scalar> <a class="el" href="classmeow_1_1BallProjection.html">meow::BallProjection</a>< Scalar >::jacobian </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classmeow_1_1Matrix.html">Matrix</a>< Scalar > const & </td>
<td class="paramname"><em>x</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Return the jacobian matrix (derivate by the input vector) of this projection. </p>
<p>This method only allow a vector-like matrix be input. Assume:</p>
<ul>
<li>The dimension of a ball projection is <img class="formulaInl" alt="$ N $" src="form_15.png"/></li>
<li>The length of the input vector is <img class="formulaInl" alt="$ L=\sqrt{x_1^2+x_2^2+...+x_N^2} $" src="form_45.png"/></li>
<li>The radius of the hyper-sphere is <img class="formulaInl" alt="$ R $" src="form_38.png"/></li>
</ul>
<p>Then the jacobian matrix is like below: <br/>
</p>
<p class="formulaDsp">
<img class="formulaDsp" alt="\[ \frac{R}{L^3} \times \left[ \begin{array}{ccccc} L^2-x_1^2 & -x_1x_2 & -x_1x_3 & ... & -x_1x_N \\ -x_2x_1 & L^2-x_2^2 & -x_2x_3 & ... & -x_2x_N \\ -x_3x_1 & -x_3x_2 & L^2-x_3^2 & ... & -x_3x_N \\ . & . & . & & . \\ . & . & . & & . \\ . & . & . & & . \\ -x_Nx_1 & -x_Nx_2 & -x_Nx_3 & ... & L^2-x_N^2 \\ \end{array} \right] \]" src="form_46.png"/>
</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">x</td><td>The input matrix. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The output matrix. </dd></dl>
<p>Reimplemented from <a class="el" href="classmeow_1_1Transformation.html#a97b459877b4e508193071fa166a126c9">meow::Transformation< Scalar ></a>.</p>
</div>
</div>
<a class="anchor" id="ad2d62da97dd4b527c254e62a1ec949d8"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template<class Scalar > </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classmeow_1_1Matrix.html">Matrix</a><Scalar> <a class="el" href="classmeow_1_1BallProjection.html">meow::BallProjection</a>< Scalar >::jacobian </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classmeow_1_1Matrix.html">Matrix</a>< Scalar > const & </td>
<td class="paramname"><em>x</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">size_t </td>
<td class="paramname"><em>i</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Return the jacobian matrix (derivate by radius) of this projection. </p>
<p>This method only allow a vector-like matrix be input. Assume:</p>
<ul>
<li>The dimension of a ball projection is <img class="formulaInl" alt="$ N $" src="form_15.png"/></li>
<li>The length of the input vector is <img class="formulaInl" alt="$ L=\sqrt{x_1^2+x_2^2+...+x_N^2} $" src="form_45.png"/></li>
<li>The radius of the hyper-sphere is <img class="formulaInl" alt="$ R $" src="form_38.png"/></li>
</ul>
<p>Then the jacobian matrix is like below: <br/>
</p>
<p class="formulaDsp">
<img class="formulaDsp" alt="\[ R \times \left[ \begin{array}{c} \frac{x_1}{L} \\ \frac{x_2}{L} \\ \frac{x_3}{L} \\ . \\ . \\ . \\ \frac{x_N}{L} \\ \end{array} \right] \]" src="form_47.png"/>
</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">x</td><td>The input matrix. </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">i</td><td>Useless parameter </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The output matrix. </dd></dl>
<p>Reimplemented from <a class="el" href="classmeow_1_1Transformation.html#a18590a4501b79a9ad38eb8fa3c966eb8">meow::Transformation< Scalar ></a>.</p>
</div>
</div>
<a class="anchor" id="a4f2e133f911088b7e13cabc52b3e6b92"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template<class Scalar > </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classmeow_1_1Matrix.html">Matrix</a><Scalar> <a class="el" href="classmeow_1_1BallProjection.html">meow::BallProjection</a>< Scalar >::operator() </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classmeow_1_1Matrix.html">Matrix</a>< Scalar > const & </td>
<td class="paramname"><em>v</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Same as <code>transformate(v)</code> </p>
</div>
</div>
<a class="anchor" id="a8e7e0ddd31c51bbaa934f77aee760f18"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template<class Scalar > </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classmeow_1_1BallProjection.html">BallProjection</a>& <a class="el" href="classmeow_1_1BallProjection.html">meow::BallProjection</a>< Scalar >::operator= </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classmeow_1_1BallProjection.html">BallProjection</a>< Scalar > const & </td>
<td class="paramname"><em>b</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Same as <code>copyFrom(b)</code> </p>
</div>
</div>
<a class="anchor" id="adf2bcb2f82e9f7e2136b187317ba3211"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template<class Scalar > </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">Scalar <a class="el" href="classmeow_1_1BallProjection.html">meow::BallProjection</a>< Scalar >::parameter </td>
<td>(</td>
<td class="paramtype">size_t </td>
<td class="paramname"><em>i</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>same as <code><a class="el" href="classmeow_1_1BallProjection.html#a82416bac8768d0f40fc09e8cd3896bc8" title="Return the value of the radius.">radius()</a></code> </p>
<p>Implements <a class="el" href="classmeow_1_1Transformation.html#a09e71e5af508d7c0e09fdbeaacbe4365">meow::Transformation< Scalar ></a>.</p>
</div>
</div>
<a class="anchor" id="a288814dc861482dd70129a698b1a2d7e"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template<class Scalar > </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">Scalar <a class="el" href="classmeow_1_1BallProjection.html">meow::BallProjection</a>< Scalar >::parameter </td>
<td>(</td>
<td class="paramtype">size_t </td>
<td class="paramname"><em>i</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">Scalar const & </td>
<td class="paramname"><em>s</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>same as <code>radius(s)</code> </p>
<p>Implements <a class="el" href="classmeow_1_1Transformation.html#a2a90b93490712232b81a628b5057526f">meow::Transformation< Scalar ></a>.</p>
</div>
</div>
<a class="anchor" id="a82416bac8768d0f40fc09e8cd3896bc8"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template<class Scalar > </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">Scalar <a class="el" href="classmeow_1_1BallProjection.html">meow::BallProjection</a>< Scalar >::radius </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Return the value of the radius. </p>
</div>
</div>
<a class="anchor" id="a5e4bbc9cf477002fab2dad6f37e2553c"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template<class Scalar > </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">Scalar <a class="el" href="classmeow_1_1BallProjection.html">meow::BallProjection</a>< Scalar >::radius </td>
<td>(</td>
<td class="paramtype">Scalar const & </td>
<td class="paramname"><em>r</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Setup the radius. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">r</td><td>New value of the radius </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>New radius </dd></dl>
</div>
</div>
<a class="anchor" id="adaf8d494c1177664f49bb63a5d2f36b0"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template<class Scalar > </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classmeow_1_1BallProjection.html">BallProjection</a>& <a class="el" href="classmeow_1_1BallProjection.html">meow::BallProjection</a>< Scalar >::referenceFrom </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classmeow_1_1BallProjection.html">BallProjection</a>< Scalar > const & </td>
<td class="paramname"><em>b</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Reference settings from another one. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">b</td><td>Another one </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><code>*this</code> </dd></dl>
</div>
</div>
<a class="anchor" id="a2573c364dd1e0d7de32b1e2afc0bb1b5"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template<class Scalar > </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classmeow_1_1Matrix.html">Matrix</a><Scalar> <a class="el" href="classmeow_1_1BallProjection.html">meow::BallProjection</a>< Scalar >::transformate </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classmeow_1_1Matrix.html">Matrix</a>< Scalar > const & </td>
<td class="paramname"><em>x</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Project the input vector(s) onto the hyper-sphere and return it. </p>
<p>If the number of columns of the input matrix is larger than 1, this method will think that you want to transform multiple vector once and the number of columns of the output matrix will be the same of the number of columns of the input one.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">x</td><td>The input matrix. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The output matrix. </dd></dl>
<dl class="section note"><dt>Note</dt><dd>Take into account that too much safty checking will lead to inefficient, this method will not checking whether the dimension of the input vector/matrix is right. So be sure the data is valid before you call this method. </dd></dl>
<p>Implements <a class="el" href="classmeow_1_1Transformation.html#aa0c299b9ad13020a9eb460de01378ddc">meow::Transformation< Scalar ></a>.</p>
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>meowpp/math/<a class="el" href="Transformations_8h_source.html">Transformations.h</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- HTML footer for doxygen 1.8.3.1-->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="namespacemeow.html">meow</a></li><li class="navelem"><a class="el" href="classmeow_1_1BallProjection.html">BallProjection</a></li>
<li class="footer">Generated on Sun Jun 1 2014 13:54:36 for Templates -- Meow by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.3.1 </li>
</ul>
</div>
</body>
</html>
|