vnl_real.h

来自「InsightToolkit-1.4.0(有大量的优化算法程序)」· C头文件 代码 · 共 29 行

H
29
字号
// This is vxl/vnl/vnl_real.h
#ifndef vnl_real_h_
#define vnl_real_h_
//:
// \file
// \brief Functions to return the real parts of complex arrays, vectors, matrices
//
// \verbatim
// Modifications
// Peter Vanroose - 2 July 2002 - part of vnl_complex_ops.h moved here
// \endverbatim

#include <vcl_complex.h>
#include <vnl/vnl_vector.h>
#include <vnl/vnl_matrix.h>

//: Return array R of real parts of complex array C.
template <class T> void vnl_real(vcl_complex<T> const* C, T* R, unsigned int n);

//: Vector of real parts of vnl_vector<vcl_complex<T> >.
// \relates vnl_vector
template <class T> vnl_vector<T> vnl_real(vnl_vector<vcl_complex<T> > const& C);

//: Matrix of real parts of vnl_matrix<vcl_complex<T> >.
// \relates vnl_matrix
template <class T> vnl_matrix<T> vnl_real(vnl_matrix<vcl_complex<T> > const& C);

#endif // vnl_real_h_

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?