Macros | Functions
vnl_diag_matrix.hxx File Reference
#include <iostream>
#include "vnl_diag_matrix.h"

Go to the source code of this file.

Macros

#define VNL_DIAG_MATRIX_INSTANTIATE(T)
 

Functions

template<class T >
std::ostream & operator<< (std::ostream &s, const vnl_diag_matrix< T > &D)
 Print in MATLAB diag([1 2 3]) form. More...
 

Macro Definition Documentation

◆ VNL_DIAG_MATRIX_INSTANTIATE

#define VNL_DIAG_MATRIX_INSTANTIATE (   T)
Value:
template class VNL_EXPORT vnl_diag_matrix<T >; \
/*template VNL_EXPORT vnl_matrix<T > operator* (vnl_matrix<T > const &, vnl_diag_matrix<T > const &); */\
/*template VNL_EXPORT vnl_matrix<T > operator* (vnl_diag_matrix<T > const &, vnl_matrix<T > const &); */\
/*template VNL_EXPORT vnl_matrix<T > operator+ (vnl_matrix<T > const &, vnl_diag_matrix<T > const &); */\
/*template VNL_EXPORT vnl_matrix<T > operator+ (vnl_diag_matrix<T > const &, vnl_matrix<T > const &); */\
/*template VNL_EXPORT vnl_matrix<T > operator- (vnl_matrix<T > const &, vnl_diag_matrix<T > const &); */\
/*template VNL_EXPORT vnl_matrix<T > operator- (vnl_diag_matrix<T > const &, vnl_matrix<T > const &); */\
/*template VNL_EXPORT vnl_vector<T > operator* (const vnl_vector<T >&, vnl_diag_matrix<T > const &); */\
/*template VNL_EXPORT vnl_vector<T > operator* (vnl_diag_matrix<T > const &, const vnl_vector<T >&); */\
template VNL_EXPORT std::ostream& operator<< (std::ostream& s, vnl_diag_matrix<T > const &)
std::ostream & operator<<(std::ostream &s, vnl_decnum const &r)
decimal output.
Definition: vnl_decnum.h:393
stores a diagonal matrix as a single vector.

Definition at line 46 of file vnl_diag_matrix.hxx.

Function Documentation

◆ operator<<()

template<class T >
std::ostream& operator<< ( std::ostream &  s,
const vnl_diag_matrix< T > &  D 
)

Print in MATLAB diag([1 2 3]) form.

Definition at line 37 of file vnl_diag_matrix.hxx.