This file is indexed.

/usr/share/doc/libcpl-dev/html/group__cpl__bivector.html is in libcpl-doc 7.1-3.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  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
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
<!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.10"/>
<title>Common Pipeline Library Reference Manual: Bi-vector object</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="doxygen.css" rel="stylesheet" type="text/css" />
<link href="cpl.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="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Common Pipeline Library Reference Manual
   &#160;<span id="projectnumber">7.1</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.10 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">Bi-vector object</div>  </div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:ga463e4f680e5debbd7a38b9bbfe84e676"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__cpl__error.html#ga44b4287e8a7a22122b94c220a1dd9459">cpl_error_code</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__cpl__bivector.html#ga463e4f680e5debbd7a38b9bbfe84e676">cpl_bivector_copy</a> (cpl_bivector *self, const cpl_bivector *other)</td></tr>
<tr class="memdesc:ga463e4f680e5debbd7a38b9bbfe84e676"><td class="mdescLeft">&#160;</td><td class="mdescRight">Copy contents of a bivector into another bivector.  <a href="#ga463e4f680e5debbd7a38b9bbfe84e676">More...</a><br /></td></tr>
<tr class="separator:ga463e4f680e5debbd7a38b9bbfe84e676"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gab49cf8bcea934646b96a4d4e476d7e54"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__cpl__bivector.html#gab49cf8bcea934646b96a4d4e476d7e54">cpl_bivector_delete</a> (cpl_bivector *f)</td></tr>
<tr class="memdesc:gab49cf8bcea934646b96a4d4e476d7e54"><td class="mdescLeft">&#160;</td><td class="mdescRight">Delete a cpl_bivector.  <a href="#gab49cf8bcea934646b96a4d4e476d7e54">More...</a><br /></td></tr>
<tr class="separator:gab49cf8bcea934646b96a4d4e476d7e54"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga5b591c22c1f053a2096142c375b59977"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__cpl__bivector.html#ga5b591c22c1f053a2096142c375b59977">cpl_bivector_dump</a> (const cpl_bivector *f, FILE *stream)</td></tr>
<tr class="memdesc:ga5b591c22c1f053a2096142c375b59977"><td class="mdescLeft">&#160;</td><td class="mdescRight">Dump a cpl_bivector as ASCII to a stream.  <a href="#ga5b591c22c1f053a2096142c375b59977">More...</a><br /></td></tr>
<tr class="separator:ga5b591c22c1f053a2096142c375b59977"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga0df055f034687a39b0ead9b1feeae045"><td class="memItemLeft" align="right" valign="top">cpl_bivector *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__cpl__bivector.html#ga0df055f034687a39b0ead9b1feeae045">cpl_bivector_duplicate</a> (const cpl_bivector *in)</td></tr>
<tr class="memdesc:ga0df055f034687a39b0ead9b1feeae045"><td class="mdescLeft">&#160;</td><td class="mdescRight">Duplicate a cpl_bivector.  <a href="#ga0df055f034687a39b0ead9b1feeae045">More...</a><br /></td></tr>
<tr class="separator:ga0df055f034687a39b0ead9b1feeae045"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga7b84e7673a8ea5ae32fb8161202e2f48"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__cpl__type.html#gacc431432a4fedf19ec6f7668dda3fbf0">cpl_size</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__cpl__bivector.html#ga7b84e7673a8ea5ae32fb8161202e2f48">cpl_bivector_get_size</a> (const cpl_bivector *in)</td></tr>
<tr class="memdesc:ga7b84e7673a8ea5ae32fb8161202e2f48"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the size of the cpl_bivector.  <a href="#ga7b84e7673a8ea5ae32fb8161202e2f48">More...</a><br /></td></tr>
<tr class="separator:ga7b84e7673a8ea5ae32fb8161202e2f48"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gafc6470ad3f5a7a6427404807309f3ab2"><td class="memItemLeft" align="right" valign="top">cpl_vector *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__cpl__bivector.html#gafc6470ad3f5a7a6427404807309f3ab2">cpl_bivector_get_x</a> (cpl_bivector *in)</td></tr>
<tr class="memdesc:gafc6470ad3f5a7a6427404807309f3ab2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get a pointer to the x vector of the cpl_bivector.  <a href="#gafc6470ad3f5a7a6427404807309f3ab2">More...</a><br /></td></tr>
<tr class="separator:gafc6470ad3f5a7a6427404807309f3ab2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaa7b11c49923e2538d454306ed39a34a9"><td class="memItemLeft" align="right" valign="top">const cpl_vector *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__cpl__bivector.html#gaa7b11c49923e2538d454306ed39a34a9">cpl_bivector_get_x_const</a> (const cpl_bivector *in)</td></tr>
<tr class="memdesc:gaa7b11c49923e2538d454306ed39a34a9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get a pointer to the x vector of the cpl_bivector.  <a href="#gaa7b11c49923e2538d454306ed39a34a9">More...</a><br /></td></tr>
<tr class="separator:gaa7b11c49923e2538d454306ed39a34a9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga1f13e7e98cc006f90242e339d7542776"><td class="memItemLeft" align="right" valign="top">double *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__cpl__bivector.html#ga1f13e7e98cc006f90242e339d7542776">cpl_bivector_get_x_data</a> (cpl_bivector *in)</td></tr>
<tr class="memdesc:ga1f13e7e98cc006f90242e339d7542776"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get a pointer to the x data part of the cpl_bivector.  <a href="#ga1f13e7e98cc006f90242e339d7542776">More...</a><br /></td></tr>
<tr class="separator:ga1f13e7e98cc006f90242e339d7542776"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga6df6e1f59656d27f36be998b18f53ea4"><td class="memItemLeft" align="right" valign="top">const double *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__cpl__bivector.html#ga6df6e1f59656d27f36be998b18f53ea4">cpl_bivector_get_x_data_const</a> (const cpl_bivector *in)</td></tr>
<tr class="memdesc:ga6df6e1f59656d27f36be998b18f53ea4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get a pointer to the x data part of the cpl_bivector.  <a href="#ga6df6e1f59656d27f36be998b18f53ea4">More...</a><br /></td></tr>
<tr class="separator:ga6df6e1f59656d27f36be998b18f53ea4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf8d11b6df2484e6e77923e898de9c9a1"><td class="memItemLeft" align="right" valign="top">cpl_vector *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__cpl__bivector.html#gaf8d11b6df2484e6e77923e898de9c9a1">cpl_bivector_get_y</a> (cpl_bivector *in)</td></tr>
<tr class="memdesc:gaf8d11b6df2484e6e77923e898de9c9a1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get a pointer to the y vector of the cpl_bivector.  <a href="#gaf8d11b6df2484e6e77923e898de9c9a1">More...</a><br /></td></tr>
<tr class="separator:gaf8d11b6df2484e6e77923e898de9c9a1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga314efce3125658f6e39b02a21d78a374"><td class="memItemLeft" align="right" valign="top">const cpl_vector *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__cpl__bivector.html#ga314efce3125658f6e39b02a21d78a374">cpl_bivector_get_y_const</a> (const cpl_bivector *in)</td></tr>
<tr class="memdesc:ga314efce3125658f6e39b02a21d78a374"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get a pointer to the y vector of the cpl_bivector.  <a href="#ga314efce3125658f6e39b02a21d78a374">More...</a><br /></td></tr>
<tr class="separator:ga314efce3125658f6e39b02a21d78a374"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga0b602bdb76caaae732af9825dd5a533b"><td class="memItemLeft" align="right" valign="top">double *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__cpl__bivector.html#ga0b602bdb76caaae732af9825dd5a533b">cpl_bivector_get_y_data</a> (cpl_bivector *in)</td></tr>
<tr class="memdesc:ga0b602bdb76caaae732af9825dd5a533b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get a pointer to the y data part of the cpl_bivector.  <a href="#ga0b602bdb76caaae732af9825dd5a533b">More...</a><br /></td></tr>
<tr class="separator:ga0b602bdb76caaae732af9825dd5a533b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga4efd181088428c4fe42541cad1c594af"><td class="memItemLeft" align="right" valign="top">const double *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__cpl__bivector.html#ga4efd181088428c4fe42541cad1c594af">cpl_bivector_get_y_data_const</a> (const cpl_bivector *in)</td></tr>
<tr class="memdesc:ga4efd181088428c4fe42541cad1c594af"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get a pointer to the y data part of the cpl_bivector.  <a href="#ga4efd181088428c4fe42541cad1c594af">More...</a><br /></td></tr>
<tr class="separator:ga4efd181088428c4fe42541cad1c594af"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga850415cc3fc168b3a847cbdfb308bef3"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__cpl__error.html#ga44b4287e8a7a22122b94c220a1dd9459">cpl_error_code</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__cpl__bivector.html#ga850415cc3fc168b3a847cbdfb308bef3">cpl_bivector_interpolate_linear</a> (cpl_bivector *fout, const cpl_bivector *fref)</td></tr>
<tr class="memdesc:ga850415cc3fc168b3a847cbdfb308bef3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Linear interpolation of a 1d-function.  <a href="#ga850415cc3fc168b3a847cbdfb308bef3">More...</a><br /></td></tr>
<tr class="separator:ga850415cc3fc168b3a847cbdfb308bef3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga12e8941b1eda64be7e5dafe16ce4dc24"><td class="memItemLeft" align="right" valign="top">cpl_bivector *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__cpl__bivector.html#ga12e8941b1eda64be7e5dafe16ce4dc24">cpl_bivector_new</a> (<a class="el" href="group__cpl__type.html#gacc431432a4fedf19ec6f7668dda3fbf0">cpl_size</a> n)</td></tr>
<tr class="memdesc:ga12e8941b1eda64be7e5dafe16ce4dc24"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create a new cpl_bivector.  <a href="#ga12e8941b1eda64be7e5dafe16ce4dc24">More...</a><br /></td></tr>
<tr class="separator:ga12e8941b1eda64be7e5dafe16ce4dc24"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaab67b348094c3be32d58e61b31a03954"><td class="memItemLeft" align="right" valign="top">cpl_bivector *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__cpl__bivector.html#gaab67b348094c3be32d58e61b31a03954">cpl_bivector_read</a> (const char *filename)</td></tr>
<tr class="memdesc:gaab67b348094c3be32d58e61b31a03954"><td class="mdescLeft">&#160;</td><td class="mdescRight">Read a list of values from an ASCII file and create a cpl_bivector.  <a href="#gaab67b348094c3be32d58e61b31a03954">More...</a><br /></td></tr>
<tr class="separator:gaab67b348094c3be32d58e61b31a03954"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga08f1150ccb737547db61aa4bb7043e60"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__cpl__error.html#ga44b4287e8a7a22122b94c220a1dd9459">cpl_error_code</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__cpl__bivector.html#ga08f1150ccb737547db61aa4bb7043e60">cpl_bivector_sort</a> (cpl_bivector *self, const cpl_bivector *other, cpl_sort_direction dir, cpl_sort_mode mode)</td></tr>
<tr class="memdesc:ga08f1150ccb737547db61aa4bb7043e60"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sort a cpl_bivector.  <a href="#ga08f1150ccb737547db61aa4bb7043e60">More...</a><br /></td></tr>
<tr class="separator:ga08f1150ccb737547db61aa4bb7043e60"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga1ea86fc1994ea6175a7da6db8966db86"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__cpl__bivector.html#ga1ea86fc1994ea6175a7da6db8966db86">cpl_bivector_unwrap_vectors</a> (cpl_bivector *f)</td></tr>
<tr class="memdesc:ga1ea86fc1994ea6175a7da6db8966db86"><td class="mdescLeft">&#160;</td><td class="mdescRight">Free memory associated to a cpl_bivector, excluding the two vectors.  <a href="#ga1ea86fc1994ea6175a7da6db8966db86">More...</a><br /></td></tr>
<tr class="separator:ga1ea86fc1994ea6175a7da6db8966db86"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga8ae96fc17c12f7140ac23448874b72ff"><td class="memItemLeft" align="right" valign="top">cpl_bivector *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__cpl__bivector.html#ga8ae96fc17c12f7140ac23448874b72ff">cpl_bivector_wrap_vectors</a> (cpl_vector *x, cpl_vector *y)</td></tr>
<tr class="memdesc:ga8ae96fc17c12f7140ac23448874b72ff"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create a new cpl_bivector from two cpl_vectors.  <a href="#ga8ae96fc17c12f7140ac23448874b72ff">More...</a><br /></td></tr>
<tr class="separator:ga8ae96fc17c12f7140ac23448874b72ff"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<p>This module provides functions to handle <em>cpl_bivector</em>.</p>
<p>A <em>cpl_bivector</em> is composed of two vectors of the same size. It can be used to store 1d functions, with the x and y positions of the samples, offsets in x and y or simply positions in an image.</p>
<p>This module provides among other things functions for interpolation and for sorting one vector according to another.</p>
<dl class="section user"><dt>Synopsis:</dt><dd><div class="fragment"><div class="line"><span class="preprocessor">#include &quot;cpl_bivector.h&quot;</span></div>
</div><!-- fragment --> </dd></dl>
<h2 class="groupheader">Function Documentation</h2>
<a class="anchor" id="ga463e4f680e5debbd7a38b9bbfe84e676"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__cpl__error.html#ga44b4287e8a7a22122b94c220a1dd9459">cpl_error_code</a> cpl_bivector_copy </td>
          <td>(</td>
          <td class="paramtype">cpl_bivector *&#160;</td>
          <td class="paramname"><em>self</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const cpl_bivector *&#160;</td>
          <td class="paramname"><em>other</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Copy contents of a bivector into another bivector. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">self</td><td>destination cpl_vector </td></tr>
    <tr><td class="paramname">other</td><td>source cpl_vector </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>CPL_ERROR_NONE or the relevant <a class="el" href="group__cpl__error.html#ga49a0c316d52d2afbfd9fd94b95344900" title="Available error codes. ">_cpl_error_code_</a> on error </dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="group__cpl__vector.html#ga82def4430dfa77393ae974bbc915d360" title="Resize the vector. ">cpl_vector_set_size()</a> if source and destination have different sizes.</dd></dl>
<p>Possible <a class="el" href="group__cpl__error.html#ga49a0c316d52d2afbfd9fd94b95344900" title="Available error codes. ">_cpl_error_code_</a> set in this function:</p><ul>
<li>CPL_ERROR_NULL_INPUT if an input pointer is NULL </li>
</ul>

<p>References <a class="el" href="group__cpl__bivector.html#gafc6470ad3f5a7a6427404807309f3ab2">cpl_bivector_get_x()</a>, <a class="el" href="group__cpl__bivector.html#gaa7b11c49923e2538d454306ed39a34a9">cpl_bivector_get_x_const()</a>, <a class="el" href="group__cpl__bivector.html#gaf8d11b6df2484e6e77923e898de9c9a1">cpl_bivector_get_y()</a>, <a class="el" href="group__cpl__bivector.html#ga314efce3125658f6e39b02a21d78a374">cpl_bivector_get_y_const()</a>, <a class="el" href="group__cpl__error.html#gga49a0c316d52d2afbfd9fd94b95344900a0239c1c63e9d21e98e45221a3ad60406">CPL_ERROR_NONE</a>, and <a class="el" href="group__cpl__vector.html#ga674d546d2a198c43d945444d34c154a8">cpl_vector_copy()</a>.</p>

</div>
</div>
<a class="anchor" id="gab49cf8bcea934646b96a4d4e476d7e54"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void cpl_bivector_delete </td>
          <td>(</td>
          <td class="paramtype">cpl_bivector *&#160;</td>
          <td class="paramname"><em>f</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Delete a cpl_bivector. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">f</td><td>cpl_bivector to delete </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>void</dd></dl>
<p>This function deletes a bivector. If the input bivector <em>f</em> is <code>NULL</code>, nothing is done, and no error is set. </p>

<p>References <a class="el" href="group__cpl__memory.html#ga9cd2b64cbbe05ec9f34fda048184b4d1">cpl_free()</a>, and <a class="el" href="group__cpl__vector.html#gaf563c19d309c5b60d148a84cb156c2cf">cpl_vector_delete()</a>.</p>

<p>Referenced by <a class="el" href="group__cpl__apertures.html#gabac3029e5f7d8eff821fe204c8ae98e6">cpl_apertures_get_fwhm()</a>, <a class="el" href="group__cpl__detector.html#gad77be43229e187b59bad4cdd766a53d0">cpl_flux_get_noise_ring()</a>, <a class="el" href="group__cpl__geom__img.html#ga91f5d0da222fcce4d019f2d241cc20f8">cpl_geom_img_offset_combine()</a>, <a class="el" href="group__cpl__image.html#ga3cee6b4b3544f5e44d246d31731fedc9">cpl_image_fit_gaussian()</a>, <a class="el" href="group__cpl__wlcalib.html#gaa572c49885eee4c9f97eb4435a05ea1a">cpl_wlcalib_slitmodel_delete()</a>, and <a class="el" href="group__cpl__wlcalib.html#gaf0a88f3bf76224ad48ae35aa4e003af8">cpl_wlcalib_slitmodel_set_catalog()</a>.</p>

</div>
</div>
<a class="anchor" id="ga5b591c22c1f053a2096142c375b59977"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void cpl_bivector_dump </td>
          <td>(</td>
          <td class="paramtype">const cpl_bivector *&#160;</td>
          <td class="paramname"><em>f</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">FILE *&#160;</td>
          <td class="paramname"><em>stream</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Dump a cpl_bivector as ASCII to a stream. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">f</td><td>Input cpl_bivector to dump or NULL </td></tr>
    <tr><td class="paramname">stream</td><td>Output stream, accepts <code>stdout</code> or <code>stderr</code> or NULL </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>void</dd></dl>
<p>Comment lines start with the hash character.</p>
<p>stream may be NULL in which case <code>stdout</code> is used.</p>
<dl class="section note"><dt>Note</dt><dd>In principle a cpl_bivector can be saved using <a class="el" href="group__cpl__bivector.html#ga5b591c22c1f053a2096142c375b59977" title="Dump a cpl_bivector as ASCII to a stream. ">cpl_bivector_dump()</a> and re-read using <a class="el" href="group__cpl__bivector.html#gaab67b348094c3be32d58e61b31a03954" title="Read a list of values from an ASCII file and create a cpl_bivector. ">cpl_bivector_read()</a>. This will however introduce significant precision loss due to the limited accuracy of the ASCII representation. </dd></dl>

<p>References <a class="el" href="group__cpl__bivector.html#ga7b84e7673a8ea5ae32fb8161202e2f48">cpl_bivector_get_size()</a>, <a class="el" href="group__cpl__vector.html#ga991ded30622122c78bb34191f7c7a7c6">cpl_vector_get_data_const()</a>, and <a class="el" href="group__cpl__vector.html#gac72d7e38ce2f5ac2e0863e2a11e9af1d">cpl_vector_get_size()</a>.</p>

</div>
</div>
<a class="anchor" id="ga0df055f034687a39b0ead9b1feeae045"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">cpl_bivector* cpl_bivector_duplicate </td>
          <td>(</td>
          <td class="paramtype">const cpl_bivector *&#160;</td>
          <td class="paramname"><em>in</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Duplicate a cpl_bivector. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">in</td><td>cpl_bivector to duplicate </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>1 newly allocated cpl_bivector or NULL on error</dd></dl>
<p>The returned object must be deallocated using <a class="el" href="group__cpl__bivector.html#gab49cf8bcea934646b96a4d4e476d7e54" title="Delete a cpl_bivector. ">cpl_bivector_delete()</a></p>
<p>Possible <a class="el" href="group__cpl__error.html#ga49a0c316d52d2afbfd9fd94b95344900" title="Available error codes. ">_cpl_error_code_</a> set in this function:</p><ul>
<li>CPL_ERROR_NULL_INPUT if an input pointer is NULL</li>
<li>CPL_ERROR_ILLEGAL_INPUT if the input bivector contains vectors of different sizes </li>
</ul>

<p>References <a class="el" href="group__cpl__error.html#gafb123879d8683c6d63681f433dc19bd0">cpl_ensure</a>, <a class="el" href="group__cpl__error.html#gga49a0c316d52d2afbfd9fd94b95344900ae6ab32df318c1af9afcddcb8249cad51">CPL_ERROR_ILLEGAL_INPUT</a>, <a class="el" href="group__cpl__error.html#gga49a0c316d52d2afbfd9fd94b95344900a7b054cf7927d1bd0a9b3693a6715be84">CPL_ERROR_NULL_INPUT</a>, <a class="el" href="group__cpl__memory.html#gac884edcb0a592489c65239d0e5d08785">cpl_malloc()</a>, <a class="el" href="group__cpl__vector.html#ga1bd48a276b770a01a7b079042f9e20d2">cpl_vector_duplicate()</a>, and <a class="el" href="group__cpl__vector.html#gac72d7e38ce2f5ac2e0863e2a11e9af1d">cpl_vector_get_size()</a>.</p>

</div>
</div>
<a class="anchor" id="ga7b84e7673a8ea5ae32fb8161202e2f48"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__cpl__type.html#gacc431432a4fedf19ec6f7668dda3fbf0">cpl_size</a> cpl_bivector_get_size </td>
          <td>(</td>
          <td class="paramtype">const cpl_bivector *&#160;</td>
          <td class="paramname"><em>in</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the size of the cpl_bivector. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">in</td><td>the input bivector </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The size or a negative number on error</dd></dl>
<p>Possible <a class="el" href="group__cpl__error.html#ga49a0c316d52d2afbfd9fd94b95344900" title="Available error codes. ">_cpl_error_code_</a> set in this function:</p><ul>
<li>CPL_ERROR_NULL_INPUT if an input pointer is NULL</li>
<li>CPL_ERROR_ILLEGAL_INPUT if the input bivector contains vectors of different sizes </li>
</ul>

<p>References <a class="el" href="group__cpl__error.html#gafb123879d8683c6d63681f433dc19bd0">cpl_ensure</a>, <a class="el" href="group__cpl__error.html#gga49a0c316d52d2afbfd9fd94b95344900ae6ab32df318c1af9afcddcb8249cad51">CPL_ERROR_ILLEGAL_INPUT</a>, <a class="el" href="group__cpl__error.html#gga49a0c316d52d2afbfd9fd94b95344900a7b054cf7927d1bd0a9b3693a6715be84">CPL_ERROR_NULL_INPUT</a>, and <a class="el" href="group__cpl__vector.html#gac72d7e38ce2f5ac2e0863e2a11e9af1d">cpl_vector_get_size()</a>.</p>

<p>Referenced by <a class="el" href="group__cpl__bivector.html#ga5b591c22c1f053a2096142c375b59977">cpl_bivector_dump()</a>, <a class="el" href="group__cpl__bivector.html#ga850415cc3fc168b3a847cbdfb308bef3">cpl_bivector_interpolate_linear()</a>, <a class="el" href="group__cpl__bivector.html#ga08f1150ccb737547db61aa4bb7043e60">cpl_bivector_sort()</a>, <a class="el" href="group__cpl__geom__img.html#ga91f5d0da222fcce4d019f2d241cc20f8">cpl_geom_img_offset_combine()</a>, <a class="el" href="group__cpl__geom__img.html#ga135df3510913add18d5550a8aa356923">cpl_geom_img_offset_fine()</a>, <a class="el" href="group__cpl__geom__img.html#ga8df5c11aeb84394817af6a0680c2859c">cpl_geom_img_offset_saa()</a>, <a class="el" href="group__cpl__plot.html#ga76b796e0a470a8f1d2ccddca402d2784">cpl_plot_bivector()</a>, and <a class="el" href="group__cpl__plot.html#gac5e072a0a464454180ea04fe5f35cd45">cpl_plot_bivectors()</a>.</p>

</div>
</div>
<a class="anchor" id="gafc6470ad3f5a7a6427404807309f3ab2"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">cpl_vector* cpl_bivector_get_x </td>
          <td>(</td>
          <td class="paramtype">cpl_bivector *&#160;</td>
          <td class="paramname"><em>in</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get a pointer to the x vector of the cpl_bivector. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">in</td><td>a cpl_bivector </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Pointer to the x vector or NULL on error</dd></dl>
<p>The returned pointer refers to an already created cpl_vector.</p>
<p>Possible <a class="el" href="group__cpl__error.html#ga49a0c316d52d2afbfd9fd94b95344900" title="Available error codes. ">_cpl_error_code_</a> set in this function:</p><ul>
<li>CPL_ERROR_NULL_INPUT if an input pointer is NULL </li>
</ul>

<p>References <a class="el" href="group__cpl__error.html#gafb123879d8683c6d63681f433dc19bd0">cpl_ensure</a>, and <a class="el" href="group__cpl__error.html#gga49a0c316d52d2afbfd9fd94b95344900a7b054cf7927d1bd0a9b3693a6715be84">CPL_ERROR_NULL_INPUT</a>.</p>

<p>Referenced by <a class="el" href="group__cpl__bivector.html#ga463e4f680e5debbd7a38b9bbfe84e676">cpl_bivector_copy()</a>, and <a class="el" href="group__cpl__geom__img.html#ga91f5d0da222fcce4d019f2d241cc20f8">cpl_geom_img_offset_combine()</a>.</p>

</div>
</div>
<a class="anchor" id="gaa7b11c49923e2538d454306ed39a34a9"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const cpl_vector* cpl_bivector_get_x_const </td>
          <td>(</td>
          <td class="paramtype">const cpl_bivector *&#160;</td>
          <td class="paramname"><em>in</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get a pointer to the x vector of the cpl_bivector. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">in</td><td>a cpl_bivector </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Pointer to the x vector or NULL on error </dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="group__cpl__bivector.html#gafc6470ad3f5a7a6427404807309f3ab2" title="Get a pointer to the x vector of the cpl_bivector. ">cpl_bivector_get_x</a> </dd></dl>

<p>References <a class="el" href="group__cpl__error.html#gafb123879d8683c6d63681f433dc19bd0">cpl_ensure</a>, and <a class="el" href="group__cpl__error.html#gga49a0c316d52d2afbfd9fd94b95344900a7b054cf7927d1bd0a9b3693a6715be84">CPL_ERROR_NULL_INPUT</a>.</p>

<p>Referenced by <a class="el" href="group__cpl__bivector.html#ga463e4f680e5debbd7a38b9bbfe84e676">cpl_bivector_copy()</a>, <a class="el" href="group__cpl__bivector.html#ga850415cc3fc168b3a847cbdfb308bef3">cpl_bivector_interpolate_linear()</a>, and <a class="el" href="group__cpl__geom__img.html#ga8df5c11aeb84394817af6a0680c2859c">cpl_geom_img_offset_saa()</a>.</p>

</div>
</div>
<a class="anchor" id="ga1f13e7e98cc006f90242e339d7542776"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double* cpl_bivector_get_x_data </td>
          <td>(</td>
          <td class="paramtype">cpl_bivector *&#160;</td>
          <td class="paramname"><em>in</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get a pointer to the x data part of the cpl_bivector. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">in</td><td>a cpl_bivector </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Pointer to the double x array or NULL on error </dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="group__cpl__vector.html#gaca37a188555aff6e2379199e7fae49be" title="Get a pointer to the data part of the vector. ">cpl_vector_get_data</a> The returned pointer refers to already allocated data.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>Use at your own risk: direct manipulation of vector data rules out any check performed by the vector object interface, and may introduce inconsistencies between the information maintained internally, and the actual vector data and structure.</dd></dl>
<p>Possible <a class="el" href="group__cpl__error.html#ga49a0c316d52d2afbfd9fd94b95344900" title="Available error codes. ">_cpl_error_code_</a> set in this function:</p><ul>
<li>CPL_ERROR_NULL_INPUT if an input pointer is NULL </li>
</ul>

<p>References <a class="el" href="group__cpl__error.html#gafb123879d8683c6d63681f433dc19bd0">cpl_ensure</a>, <a class="el" href="group__cpl__error.html#gga49a0c316d52d2afbfd9fd94b95344900a7b054cf7927d1bd0a9b3693a6715be84">CPL_ERROR_NULL_INPUT</a>, and <a class="el" href="group__cpl__vector.html#gaca37a188555aff6e2379199e7fae49be">cpl_vector_get_data()</a>.</p>

<p>Referenced by <a class="el" href="group__cpl__apertures.html#gabac3029e5f7d8eff821fe204c8ae98e6">cpl_apertures_get_fwhm()</a>, <a class="el" href="group__cpl__bivector.html#ga850415cc3fc168b3a847cbdfb308bef3">cpl_bivector_interpolate_linear()</a>, <a class="el" href="group__cpl__bivector.html#ga08f1150ccb737547db61aa4bb7043e60">cpl_bivector_sort()</a>, <a class="el" href="group__cpl__geom__img.html#ga91f5d0da222fcce4d019f2d241cc20f8">cpl_geom_img_offset_combine()</a>, <a class="el" href="group__cpl__geom__img.html#ga135df3510913add18d5550a8aa356923">cpl_geom_img_offset_fine()</a>, <a class="el" href="group__cpl__image.html#ga3cee6b4b3544f5e44d246d31731fedc9">cpl_image_fit_gaussian()</a>, and <a class="el" href="group__cpl__image.html#gaa81c4cf5dca4516e8423dde705cff48b">cpl_image_iqe()</a>.</p>

</div>
</div>
<a class="anchor" id="ga6df6e1f59656d27f36be998b18f53ea4"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const double* cpl_bivector_get_x_data_const </td>
          <td>(</td>
          <td class="paramtype">const cpl_bivector *&#160;</td>
          <td class="paramname"><em>in</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get a pointer to the x data part of the cpl_bivector. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">in</td><td>a cpl_bivector </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Pointer to the double x array or NULL on error </dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="group__cpl__bivector.html#ga1f13e7e98cc006f90242e339d7542776" title="Get a pointer to the x data part of the cpl_bivector. ">cpl_bivector_get_x_data</a> </dd></dl>

<p>References <a class="el" href="group__cpl__error.html#gafb123879d8683c6d63681f433dc19bd0">cpl_ensure</a>, <a class="el" href="group__cpl__error.html#gga49a0c316d52d2afbfd9fd94b95344900a7b054cf7927d1bd0a9b3693a6715be84">CPL_ERROR_NULL_INPUT</a>, and <a class="el" href="group__cpl__vector.html#ga991ded30622122c78bb34191f7c7a7c6">cpl_vector_get_data_const()</a>.</p>

<p>Referenced by <a class="el" href="group__cpl__bivector.html#ga850415cc3fc168b3a847cbdfb308bef3">cpl_bivector_interpolate_linear()</a>, <a class="el" href="group__cpl__bivector.html#ga08f1150ccb737547db61aa4bb7043e60">cpl_bivector_sort()</a>, <a class="el" href="group__cpl__detector.html#gad77be43229e187b59bad4cdd766a53d0">cpl_flux_get_noise_ring()</a>, <a class="el" href="group__cpl__geom__img.html#ga135df3510913add18d5550a8aa356923">cpl_geom_img_offset_fine()</a>, <a class="el" href="group__cpl__plot.html#ga76b796e0a470a8f1d2ccddca402d2784">cpl_plot_bivector()</a>, and <a class="el" href="group__cpl__plot.html#gac5e072a0a464454180ea04fe5f35cd45">cpl_plot_bivectors()</a>.</p>

</div>
</div>
<a class="anchor" id="gaf8d11b6df2484e6e77923e898de9c9a1"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">cpl_vector* cpl_bivector_get_y </td>
          <td>(</td>
          <td class="paramtype">cpl_bivector *&#160;</td>
          <td class="paramname"><em>in</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get a pointer to the y vector of the cpl_bivector. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">in</td><td>a cpl_bivector </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Pointer to the y vector or NULL on error</dd></dl>
<p>The returned pointer refers to an already created cpl_vector.</p>
<p>Possible <a class="el" href="group__cpl__error.html#ga49a0c316d52d2afbfd9fd94b95344900" title="Available error codes. ">_cpl_error_code_</a> set in this function:</p><ul>
<li>CPL_ERROR_NULL_INPUT if an input pointer is NULL </li>
</ul>

<p>References <a class="el" href="group__cpl__error.html#gafb123879d8683c6d63681f433dc19bd0">cpl_ensure</a>, and <a class="el" href="group__cpl__error.html#gga49a0c316d52d2afbfd9fd94b95344900a7b054cf7927d1bd0a9b3693a6715be84">CPL_ERROR_NULL_INPUT</a>.</p>

<p>Referenced by <a class="el" href="group__cpl__bivector.html#ga463e4f680e5debbd7a38b9bbfe84e676">cpl_bivector_copy()</a>, and <a class="el" href="group__cpl__geom__img.html#ga91f5d0da222fcce4d019f2d241cc20f8">cpl_geom_img_offset_combine()</a>.</p>

</div>
</div>
<a class="anchor" id="ga314efce3125658f6e39b02a21d78a374"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const cpl_vector* cpl_bivector_get_y_const </td>
          <td>(</td>
          <td class="paramtype">const cpl_bivector *&#160;</td>
          <td class="paramname"><em>in</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get a pointer to the y vector of the cpl_bivector. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">in</td><td>a cpl_bivector </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Pointer to the y vector or NULL on error </dd></dl>

<p>References <a class="el" href="group__cpl__error.html#gafb123879d8683c6d63681f433dc19bd0">cpl_ensure</a>, and <a class="el" href="group__cpl__error.html#gga49a0c316d52d2afbfd9fd94b95344900a7b054cf7927d1bd0a9b3693a6715be84">CPL_ERROR_NULL_INPUT</a>.</p>

<p>Referenced by <a class="el" href="group__cpl__bivector.html#ga463e4f680e5debbd7a38b9bbfe84e676">cpl_bivector_copy()</a>, and <a class="el" href="group__cpl__geom__img.html#ga8df5c11aeb84394817af6a0680c2859c">cpl_geom_img_offset_saa()</a>.</p>

</div>
</div>
<a class="anchor" id="ga0b602bdb76caaae732af9825dd5a533b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double* cpl_bivector_get_y_data </td>
          <td>(</td>
          <td class="paramtype">cpl_bivector *&#160;</td>
          <td class="paramname"><em>in</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get a pointer to the y data part of the cpl_bivector. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">in</td><td>a cpl_bivector </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Pointer to the double y array or NULL on error </dd></dl>
<dl class="section see"><dt>See also</dt><dd>cpl_vector_get_x_data</dd></dl>
<p>Possible <a class="el" href="group__cpl__error.html#ga49a0c316d52d2afbfd9fd94b95344900" title="Available error codes. ">_cpl_error_code_</a> set in this function:</p><ul>
<li>CPL_ERROR_NULL_INPUT if an input pointer is NULL </li>
</ul>

<p>References <a class="el" href="group__cpl__error.html#gafb123879d8683c6d63681f433dc19bd0">cpl_ensure</a>, <a class="el" href="group__cpl__error.html#gga49a0c316d52d2afbfd9fd94b95344900a7b054cf7927d1bd0a9b3693a6715be84">CPL_ERROR_NULL_INPUT</a>, and <a class="el" href="group__cpl__vector.html#gaca37a188555aff6e2379199e7fae49be">cpl_vector_get_data()</a>.</p>

<p>Referenced by <a class="el" href="group__cpl__apertures.html#gabac3029e5f7d8eff821fe204c8ae98e6">cpl_apertures_get_fwhm()</a>, <a class="el" href="group__cpl__bivector.html#ga850415cc3fc168b3a847cbdfb308bef3">cpl_bivector_interpolate_linear()</a>, <a class="el" href="group__cpl__bivector.html#ga08f1150ccb737547db61aa4bb7043e60">cpl_bivector_sort()</a>, <a class="el" href="group__cpl__geom__img.html#ga91f5d0da222fcce4d019f2d241cc20f8">cpl_geom_img_offset_combine()</a>, <a class="el" href="group__cpl__geom__img.html#ga135df3510913add18d5550a8aa356923">cpl_geom_img_offset_fine()</a>, and <a class="el" href="group__cpl__image.html#gaa81c4cf5dca4516e8423dde705cff48b">cpl_image_iqe()</a>.</p>

</div>
</div>
<a class="anchor" id="ga4efd181088428c4fe42541cad1c594af"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const double* cpl_bivector_get_y_data_const </td>
          <td>(</td>
          <td class="paramtype">const cpl_bivector *&#160;</td>
          <td class="paramname"><em>in</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get a pointer to the y data part of the cpl_bivector. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">in</td><td>a cpl_bivector </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Pointer to the double y array or NULL on error </dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="group__cpl__bivector.html#ga0b602bdb76caaae732af9825dd5a533b" title="Get a pointer to the y data part of the cpl_bivector. ">cpl_bivector_get_y_data</a> </dd></dl>

<p>References <a class="el" href="group__cpl__error.html#gafb123879d8683c6d63681f433dc19bd0">cpl_ensure</a>, <a class="el" href="group__cpl__error.html#gga49a0c316d52d2afbfd9fd94b95344900a7b054cf7927d1bd0a9b3693a6715be84">CPL_ERROR_NULL_INPUT</a>, and <a class="el" href="group__cpl__vector.html#ga991ded30622122c78bb34191f7c7a7c6">cpl_vector_get_data_const()</a>.</p>

<p>Referenced by <a class="el" href="group__cpl__bivector.html#ga850415cc3fc168b3a847cbdfb308bef3">cpl_bivector_interpolate_linear()</a>, <a class="el" href="group__cpl__bivector.html#ga08f1150ccb737547db61aa4bb7043e60">cpl_bivector_sort()</a>, <a class="el" href="group__cpl__detector.html#gad77be43229e187b59bad4cdd766a53d0">cpl_flux_get_noise_ring()</a>, <a class="el" href="group__cpl__geom__img.html#ga135df3510913add18d5550a8aa356923">cpl_geom_img_offset_fine()</a>, <a class="el" href="group__cpl__plot.html#ga76b796e0a470a8f1d2ccddca402d2784">cpl_plot_bivector()</a>, and <a class="el" href="group__cpl__plot.html#gac5e072a0a464454180ea04fe5f35cd45">cpl_plot_bivectors()</a>.</p>

</div>
</div>
<a class="anchor" id="ga850415cc3fc168b3a847cbdfb308bef3"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__cpl__error.html#ga44b4287e8a7a22122b94c220a1dd9459">cpl_error_code</a> cpl_bivector_interpolate_linear </td>
          <td>(</td>
          <td class="paramtype">cpl_bivector *&#160;</td>
          <td class="paramname"><em>fout</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const cpl_bivector *&#160;</td>
          <td class="paramname"><em>fref</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Linear interpolation of a 1d-function. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">fout</td><td>Preallocated with X-vector set, to hold interpolation in Y </td></tr>
    <tr><td class="paramname">fref</td><td>Reference 1d-function </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>CPL_ERROR_NONE or the relevant <a class="el" href="group__cpl__error.html#ga49a0c316d52d2afbfd9fd94b95344900" title="Available error codes. ">_cpl_error_code_</a></dd></dl>
<p>fref must have both its abscissa and ordinate defined. fout must have its abscissa defined and its ordinate allocated.</p>
<p>The linear interpolation will be done from the values in fref to the abscissa points in fout.</p>
<p>For each abscissa point in fout, fref must either have two neigboring abscissa points such that xref_i &lt; xout_j &lt; xref{i+1}, or a single identical abscissa point, such that xref_i == xout_j.</p>
<p>This is ensured by monotonely growing abscissa points in both fout and fref (and by min(xref) &lt;= min(xout) and max(xout) &lt; max(xref)).</p>
<p>However, for efficiency reasons (since fref can be very long) the monotonicity is only verified to the extent necessary to actually perform the interpolation.</p>
<p>This input requirement implies that extrapolation is not allowed.</p>
<p>Possible <a class="el" href="group__cpl__error.html#ga49a0c316d52d2afbfd9fd94b95344900" title="Available error codes. ">_cpl_error_code_</a> set in this function:</p><ul>
<li>CPL_ERROR_NULL_INPUT if an input pointer is NULL</li>
<li>CPL_ERROR_DATA_NOT_FOUND if fout has an endpoint which is out of range</li>
<li>CPL_ERROR_ILLEGAL_INPUT if the monotonicity requirement on the 2 input abscissa vectors is not met. </li>
</ul>

<p>References <a class="el" href="group__cpl__bivector.html#ga7b84e7673a8ea5ae32fb8161202e2f48">cpl_bivector_get_size()</a>, <a class="el" href="group__cpl__bivector.html#gaa7b11c49923e2538d454306ed39a34a9">cpl_bivector_get_x_const()</a>, <a class="el" href="group__cpl__bivector.html#ga1f13e7e98cc006f90242e339d7542776">cpl_bivector_get_x_data()</a>, <a class="el" href="group__cpl__bivector.html#ga6df6e1f59656d27f36be998b18f53ea4">cpl_bivector_get_x_data_const()</a>, <a class="el" href="group__cpl__bivector.html#ga0b602bdb76caaae732af9825dd5a533b">cpl_bivector_get_y_data()</a>, <a class="el" href="group__cpl__bivector.html#ga4efd181088428c4fe42541cad1c594af">cpl_bivector_get_y_data_const()</a>, <a class="el" href="group__cpl__error.html#gaf18e95fbc6fc2cfde2a2cc8a0920b12d">cpl_ensure_code</a>, <a class="el" href="group__cpl__error.html#gga49a0c316d52d2afbfd9fd94b95344900a5b82c7780a2a8a79dfafcac70717b830">CPL_ERROR_DATA_NOT_FOUND</a>, <a class="el" href="group__cpl__error.html#ga724de575c31ddf40f42786306f9dbdcb">cpl_error_get_code()</a>, <a class="el" href="group__cpl__error.html#gga49a0c316d52d2afbfd9fd94b95344900ae6ab32df318c1af9afcddcb8249cad51">CPL_ERROR_ILLEGAL_INPUT</a>, <a class="el" href="group__cpl__error.html#gga49a0c316d52d2afbfd9fd94b95344900a0239c1c63e9d21e98e45221a3ad60406">CPL_ERROR_NONE</a>, and <a class="el" href="group__cpl__vector.html#ga4be026aa6dee3f4ab5d84589946274b0">cpl_vector_find()</a>.</p>

</div>
</div>
<a class="anchor" id="ga12e8941b1eda64be7e5dafe16ce4dc24"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">cpl_bivector* cpl_bivector_new </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__cpl__type.html#gacc431432a4fedf19ec6f7668dda3fbf0">cpl_size</a>&#160;</td>
          <td class="paramname"><em>n</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Create a new cpl_bivector. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">n</td><td>Positive number of points </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>1 newly allocated cpl_bivector or NULL on error</dd></dl>
<p>The returned object must be deallocated using <a class="el" href="group__cpl__bivector.html#gab49cf8bcea934646b96a4d4e476d7e54" title="Delete a cpl_bivector. ">cpl_bivector_delete()</a> or <a class="el" href="group__cpl__bivector.html#ga1ea86fc1994ea6175a7da6db8966db86" title="Free memory associated to a cpl_bivector, excluding the two vectors. ">cpl_bivector_unwrap_vectors()</a>, provided the two cpl_vectors are deallocated separately.</p>
<p>Possible <a class="el" href="group__cpl__error.html#ga49a0c316d52d2afbfd9fd94b95344900" title="Available error codes. ">_cpl_error_code_</a> set in this function:</p><ul>
<li>CPL_ERROR_ILLEGAL_INPUT if n is &lt; 1. </li>
</ul>

<p>References <a class="el" href="group__cpl__error.html#gafb123879d8683c6d63681f433dc19bd0">cpl_ensure</a>, <a class="el" href="group__cpl__error.html#gga49a0c316d52d2afbfd9fd94b95344900ae6ab32df318c1af9afcddcb8249cad51">CPL_ERROR_ILLEGAL_INPUT</a>, <a class="el" href="group__cpl__memory.html#gac884edcb0a592489c65239d0e5d08785">cpl_malloc()</a>, and <a class="el" href="group__cpl__vector.html#ga0a0d8b61b19cd1d3668525a3f2d55e72">cpl_vector_new()</a>.</p>

<p>Referenced by <a class="el" href="group__cpl__apertures.html#gabac3029e5f7d8eff821fe204c8ae98e6">cpl_apertures_get_fwhm()</a>, <a class="el" href="group__cpl__geom__img.html#ga91f5d0da222fcce4d019f2d241cc20f8">cpl_geom_img_offset_combine()</a>, <a class="el" href="group__cpl__geom__img.html#ga135df3510913add18d5550a8aa356923">cpl_geom_img_offset_fine()</a>, and <a class="el" href="group__cpl__image.html#gaa81c4cf5dca4516e8423dde705cff48b">cpl_image_iqe()</a>.</p>

</div>
</div>
<a class="anchor" id="gaab67b348094c3be32d58e61b31a03954"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">cpl_bivector* cpl_bivector_read </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>filename</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Read a list of values from an ASCII file and create a cpl_bivector. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">filename</td><td>Name of the input ASCII file </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>1 newly allocated cpl_bivector or NULL on error </dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="group__cpl__vector.html#ga22eafa27bbfff382af647f0299a92bfa" title="Load a list of values from a FITS file. ">cpl_vector_load</a></dd></dl>
<p>The input ASCII file must contain two values per line.</p>
<p>The returned object must be deallocated using <a class="el" href="group__cpl__bivector.html#gab49cf8bcea934646b96a4d4e476d7e54" title="Delete a cpl_bivector. ">cpl_bivector_delete()</a> Two columns of numbers are expected in the input file.</p>
<p>In addition to normal files, FIFO (see man mknod) are also supported.</p>
<p>Possible <a class="el" href="group__cpl__error.html#ga49a0c316d52d2afbfd9fd94b95344900" title="Available error codes. ">_cpl_error_code_</a> set in this function:</p><ul>
<li>CPL_ERROR_NULL_INPUT if an input pointer is NULL</li>
<li>CPL_ERROR_FILE_IO if the file cannot be read</li>
<li>CPL_ERROR_BAD_FILE_FORMAT if the file contains no valid lines </li>
</ul>

<p>References <a class="el" href="group__cpl__bivector.html#ga8ae96fc17c12f7140ac23448874b72ff">cpl_bivector_wrap_vectors()</a>, <a class="el" href="group__cpl__error.html#gafb123879d8683c6d63681f433dc19bd0">cpl_ensure</a>, <a class="el" href="group__cpl__error.html#gga49a0c316d52d2afbfd9fd94b95344900a1749117c10756ba66ad8ec26c6daf578">CPL_ERROR_BAD_FILE_FORMAT</a>, <a class="el" href="group__cpl__error.html#gga49a0c316d52d2afbfd9fd94b95344900aa54303ad2fb0efc3f8c57c788b342c81">CPL_ERROR_FILE_IO</a>, <a class="el" href="group__cpl__error.html#gga49a0c316d52d2afbfd9fd94b95344900a7b054cf7927d1bd0a9b3693a6715be84">CPL_ERROR_NULL_INPUT</a>, <a class="el" href="group__cpl__vector.html#gaf563c19d309c5b60d148a84cb156c2cf">cpl_vector_delete()</a>, <a class="el" href="group__cpl__vector.html#ga0a0d8b61b19cd1d3668525a3f2d55e72">cpl_vector_new()</a>, <a class="el" href="group__cpl__vector.html#ga13138212c2b535b08cd1174afa479d28">cpl_vector_set()</a>, and <a class="el" href="group__cpl__vector.html#ga82def4430dfa77393ae974bbc915d360">cpl_vector_set_size()</a>.</p>

</div>
</div>
<a class="anchor" id="ga08f1150ccb737547db61aa4bb7043e60"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__cpl__error.html#ga44b4287e8a7a22122b94c220a1dd9459">cpl_error_code</a> cpl_bivector_sort </td>
          <td>(</td>
          <td class="paramtype">cpl_bivector *&#160;</td>
          <td class="paramname"><em>self</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const cpl_bivector *&#160;</td>
          <td class="paramname"><em>other</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">cpl_sort_direction&#160;</td>
          <td class="paramname"><em>dir</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">cpl_sort_mode&#160;</td>
          <td class="paramname"><em>mode</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sort a cpl_bivector. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">self</td><td>cpl_bivector to hold sorted result </td></tr>
    <tr><td class="paramname">other</td><td>Input cpl_bivector to sort, may equal self </td></tr>
    <tr><td class="paramname">dir</td><td>CPL_SORT_ASCENDING or CPL_SORT_DESCENDING </td></tr>
    <tr><td class="paramname">mode</td><td>CPL_SORT_BY_X or CPL_SORT_BY_Y </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>CPL_ERROR_NONE or the relevant <a class="el" href="group__cpl__error.html#ga49a0c316d52d2afbfd9fd94b95344900" title="Available error codes. ">_cpl_error_code_</a> on error</dd></dl>
<p>The values in the input are sorted according to direction and mode, and the result is placed self which must be of the same size as other.</p>
<p>As for qsort(): If two members compare as equal, their order in the sorted array is undefined.</p>
<p>In place sorting is supported.</p>
<p>Possible <a class="el" href="group__cpl__error.html#ga49a0c316d52d2afbfd9fd94b95344900" title="Available error codes. ">_cpl_error_code_</a> set in this function:</p><ul>
<li>CPL_ERROR_NULL_INPUT if an input pointer is NULL</li>
<li>CPL_ERROR_INCOMPATIBLE_INPUT if self and other have different sizes</li>
<li>CPL_ERROR_ILLEGAL_INPUT if dir is neither CPL_SORT_DESCENDING nor CPL_SORT_ASCENDING.</li>
<li>CPL_ERROR_UNSUPPORTED_MODE if self and other are the same or point to the same underlying arrays, or if mode is neither CPL_SORT_BY_X nor CPL_SORT_BY_Y </li>
</ul>

<p>References <a class="el" href="group__cpl__bivector.html#ga7b84e7673a8ea5ae32fb8161202e2f48">cpl_bivector_get_size()</a>, <a class="el" href="group__cpl__bivector.html#ga1f13e7e98cc006f90242e339d7542776">cpl_bivector_get_x_data()</a>, <a class="el" href="group__cpl__bivector.html#ga6df6e1f59656d27f36be998b18f53ea4">cpl_bivector_get_x_data_const()</a>, <a class="el" href="group__cpl__bivector.html#ga0b602bdb76caaae732af9825dd5a533b">cpl_bivector_get_y_data()</a>, <a class="el" href="group__cpl__bivector.html#ga4efd181088428c4fe42541cad1c594af">cpl_bivector_get_y_data_const()</a>, <a class="el" href="group__cpl__error.html#gaf18e95fbc6fc2cfde2a2cc8a0920b12d">cpl_ensure_code</a>, <a class="el" href="group__cpl__error.html#gga49a0c316d52d2afbfd9fd94b95344900ae6ab32df318c1af9afcddcb8249cad51">CPL_ERROR_ILLEGAL_INPUT</a>, <a class="el" href="group__cpl__error.html#gga49a0c316d52d2afbfd9fd94b95344900a67b9f44eb1db1ab12f0575dbb878c0fd">CPL_ERROR_INCOMPATIBLE_INPUT</a>, <a class="el" href="group__cpl__error.html#gga49a0c316d52d2afbfd9fd94b95344900a0239c1c63e9d21e98e45221a3ad60406">CPL_ERROR_NONE</a>, <a class="el" href="group__cpl__error.html#gga49a0c316d52d2afbfd9fd94b95344900a7b054cf7927d1bd0a9b3693a6715be84">CPL_ERROR_NULL_INPUT</a>, and <a class="el" href="group__cpl__error.html#gga49a0c316d52d2afbfd9fd94b95344900a74ef8e37f3412e85cfc22840d13bdd0c">CPL_ERROR_UNSUPPORTED_MODE</a>.</p>

</div>
</div>
<a class="anchor" id="ga1ea86fc1994ea6175a7da6db8966db86"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void cpl_bivector_unwrap_vectors </td>
          <td>(</td>
          <td class="paramtype">cpl_bivector *&#160;</td>
          <td class="paramname"><em>f</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Free memory associated to a cpl_bivector, excluding the two vectors. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">f</td><td>cpl_bivector to delete </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>void </dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="group__cpl__bivector.html#ga8ae96fc17c12f7140ac23448874b72ff" title="Create a new cpl_bivector from two cpl_vectors. ">cpl_bivector_wrap_vectors</a> </dd></dl>

<p>References <a class="el" href="group__cpl__memory.html#ga9cd2b64cbbe05ec9f34fda048184b4d1">cpl_free()</a>.</p>

<p>Referenced by <a class="el" href="group__cpl__plot.html#ga1bb893c5a03596a48f670c2608dc1b94">cpl_plot_column()</a>, and <a class="el" href="group__cpl__polynomial.html#gaa4cdbbf2a50f568d9768cf793b53b187">cpl_polynomial_fit()</a>.</p>

</div>
</div>
<a class="anchor" id="ga8ae96fc17c12f7140ac23448874b72ff"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">cpl_bivector* cpl_bivector_wrap_vectors </td>
          <td>(</td>
          <td class="paramtype">cpl_vector *&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">cpl_vector *&#160;</td>
          <td class="paramname"><em>y</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Create a new cpl_bivector from two cpl_vectors. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">x</td><td>the x cpl_vector </td></tr>
    <tr><td class="paramname">y</td><td>the y cpl_vector </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>1 cpl_bivector or NULL on error </dd></dl>
<dl class="section note"><dt>Note</dt><dd>The input cpl_vectors must have identical sizes. Afterwards one of those two vectors may be resized, which will corrupt the bivector. Such a corrupted bivector should not be used any more, but rather deallocated, using <a class="el" href="group__cpl__bivector.html#ga1ea86fc1994ea6175a7da6db8966db86" title="Free memory associated to a cpl_bivector, excluding the two vectors. ">cpl_bivector_unwrap_vectors()</a> or <a class="el" href="group__cpl__bivector.html#gab49cf8bcea934646b96a4d4e476d7e54" title="Delete a cpl_bivector. ">cpl_bivector_delete()</a>.</dd></dl>
<p>The returned object must be deallocated using <a class="el" href="group__cpl__bivector.html#gab49cf8bcea934646b96a4d4e476d7e54" title="Delete a cpl_bivector. ">cpl_bivector_delete()</a> or with <a class="el" href="group__cpl__bivector.html#ga1ea86fc1994ea6175a7da6db8966db86" title="Free memory associated to a cpl_bivector, excluding the two vectors. ">cpl_bivector_unwrap_vectors()</a>, provided the two cpl_vectors are deallocated separately.</p>
<p>Possible <a class="el" href="group__cpl__error.html#ga49a0c316d52d2afbfd9fd94b95344900" title="Available error codes. ">_cpl_error_code_</a> set in this function:</p><ul>
<li>CPL_ERROR_NULL_INPUT if an input pointer is NULL</li>
<li>CPL_ERROR_ILLEGAL_INPUT if the input vectors have different sizes </li>
</ul>

<p>References <a class="el" href="group__cpl__error.html#gafb123879d8683c6d63681f433dc19bd0">cpl_ensure</a>, <a class="el" href="group__cpl__error.html#gga49a0c316d52d2afbfd9fd94b95344900ae6ab32df318c1af9afcddcb8249cad51">CPL_ERROR_ILLEGAL_INPUT</a>, <a class="el" href="group__cpl__error.html#gga49a0c316d52d2afbfd9fd94b95344900a7b054cf7927d1bd0a9b3693a6715be84">CPL_ERROR_NULL_INPUT</a>, <a class="el" href="group__cpl__memory.html#gac884edcb0a592489c65239d0e5d08785">cpl_malloc()</a>, and <a class="el" href="group__cpl__vector.html#gac72d7e38ce2f5ac2e0863e2a11e9af1d">cpl_vector_get_size()</a>.</p>

<p>Referenced by <a class="el" href="group__cpl__bivector.html#gaab67b348094c3be32d58e61b31a03954">cpl_bivector_read()</a>, <a class="el" href="group__cpl__plot.html#ga1bb893c5a03596a48f670c2608dc1b94">cpl_plot_column()</a>, <a class="el" href="group__cpl__polynomial.html#gaa4cdbbf2a50f568d9768cf793b53b187">cpl_polynomial_fit()</a>, and <a class="el" href="group__cpl__ppm.html#gab7a7213433ef92ec70318f6bc3a1456f">cpl_ppm_match_positions()</a>.</p>

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.10
</small></address>
</body>
</html>