⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 vnl_vector_fixed_ref.txx

📁 InsightToolkit-1.4.0(有大量的优化算法程序)
💻 TXX
字号:
// This is vxl/vnl/vnl_vector_fixed_ref.txx
#ifndef vnl_vector_fixed_ref_txx_
#define vnl_vector_fixed_ref_txx_
// Author: Paul P. Smyth, Vicon Motion Systems Ltd. 
// Created: 02 May 2001
//
#include "vnl_vector_fixed_ref.h"
#include <vcl_cassert.h>

template<class T, unsigned n>
vnl_vector<T>& vnl_vector_fixed_ref<T,n>::pre_multiply (vnl_matrix<T> const& ) {
    assert(!"cannot use pre_multiply on vnl_vector_fixed<T,n>, since it deallocates the data storage");
    return *this;
}

template<class T, unsigned n>
vnl_vector<T>& vnl_vector_fixed_ref<T,n>::post_multiply (vnl_matrix<T> const& ) {
    assert(!"cannot use post_multiply on vnl_vector_fixed<T,n>, since it deallocates the data storage");
    return *this;
}

template<class T, unsigned n>
vnl_vector<T>& vnl_vector_fixed_ref<T,n>::operator*= (vnl_matrix<T> const& ) {
    assert(!"cannot use pre_multiply on vnl_vector_fixed_ref<T,n>, since it deallocates the data storage");
    return *this;
}

//------------------------------------------------------------

// instantiation macros for vnl_vector_fixed_ref<T,unsigned> :

#define VNL_VECTOR_FIXED_REF_INSTANTIATE(T,n) \
template class vnl_vector_fixed_ref<T, n >; \
VCL_INSTANTIATE_INLINE(vcl_ostream &operator<<(vcl_ostream & VCL_COMMA vnl_vector_fixed_ref<T VCL_COMMA n > const &))

#endif // vnl_vector_fixed_ref_txx_

⌨️ 快捷键说明

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