~ubuntu-branches/ubuntu/precise/insighttoolkit/precise

« back to all changes in this revision

Viewing changes to Code/Common/itkCovariantVector.txx

  • Committer: Bazaar Package Importer
  • Author(s): Steve M. Robbins
  • Date: 2008-12-19 20:16:49 UTC
  • mfrom: (1.2.1 upstream) (4.1.1 sid)
  • Revision ID: james.westby@ubuntu.com-20081219201649-drt97guwl2ryt0cn

* New upstream version.
  - patches/nifti-versioning.patch: Remove.  Applied upstream.
  - control:
  - rules: Update version numbers, package names.

* control: Build-depend on uuid-dev (gdcm uses it).

* copyright: Update download URL.

* rules: Adhere to parallel=N in DEB_BUILD_OPTIONS by setting MAKEFLAGS.

* compat: Set to 7.
* control: Update build-dep on debhelper to version >= 7.

* CMakeCache.txt.debian: Set CMAKE_BUILD_TYPE to "RELEASE" so that we
  build with -O3 (not -O2), necessary to optimize the templated code.

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
  Program:   Insight Segmentation & Registration Toolkit
4
4
  Module:    $RCSfile: itkCovariantVector.txx,v $
5
5
  Language:  C++
6
 
  Date:      $Date: 2006-03-19 04:36:58 $
7
 
  Version:   $Revision: 1.40 $
 
6
  Date:      $Date: 2008-10-07 12:04:18 $
 
7
  Version:   $Revision: 1.41 $
8
8
 
9
9
  Copyright (c) Insight Software Consortium. All rights reserved.
10
10
  See ITKCopyright.txt or http://www.itk.org/HTML/Copyright.htm for details.
14
14
     PURPOSE.  See the above copyright notices for more information.
15
15
 
16
16
=========================================================================*/
17
 
#ifndef _itkCovariantVector_txx
18
 
#define _itkCovariantVector_txx
 
17
#ifndef __itkCovariantVector_txx
 
18
#define __itkCovariantVector_txx
19
19
 
20
20
#include "itkCovariantVector.h" 
21
21
#include <vnl/vnl_math.h>
105
105
  return result;
106
106
}
107
107
 
108
 
 
109
 
 
110
108
/**
111
109
 * Returns a temporary copy of a vector
112
110
 */
123
121
  return result;
124
122
}
125
123
 
126
 
 
127
 
 
128
124
/**
129
125
 * Returns a temporary copy of a vector
130
126
 */
193
189
  return sum;
194
190
}
195
191
 
196
 
 
197
 
 
198
192
/**
199
193
 * Returns vector's Euclidean Norm
200
194
 */
309
303
  return vnl_vector_ref<T>( NVectorDimension,
310
304
                            const_cast<T*>(this->GetDataPointer()));
311
305
}
312
 
 
313
 
 
314
306
 
315
307
} // end namespace itk
316
308
 
317
 
 
318
309
#endif