Classes | Functions
vnl_sym_matrix.h File Reference

Contains class for symmetric matrices. More...

#include <iosfwd>
#include <cassert>
#include <vnl/vnl_vector.h>
#include <vnl/vnl_matrix.h>
#include <vnl/vnl_c_vector.h>
#include "vnl/vnl_export.h"

Go to the source code of this file.

Classes

class  vnl_sym_matrix< T >
 stores a symmetric matrix as just the diagonal and lower triangular part. More...
 
class  vnl_sym_matrix< T >
 stores a symmetric matrix as just the diagonal and lower triangular part. More...
 

Functions

template<class T >
VNL_EXPORT std::ostream & operator<< (std::ostream &, vnl_sym_matrix< T > const &)
 print in lower triangular form. More...
 
template<class T >
VNL_EXPORT bool operator== (const vnl_sym_matrix< T > &a, const vnl_sym_matrix< T > &b)
 
template<class T >
VNL_EXPORT bool operator== (const vnl_sym_matrix< T > &a, const vnl_matrix< T > &b)
 
template<class T >
VNL_EXPORT bool operator== (const vnl_matrix< T > &a, const vnl_sym_matrix< T > &b)
 
template<class T >
void swap (vnl_sym_matrix< T > &a, vnl_sym_matrix< T > &b)
 Swap the contents of a and b. More...
 

Detailed Description

Contains class for symmetric matrices.

Author
Ian Scott (Manchester ISBE)
Date
6 Dec 2001

Definition in file vnl_sym_matrix.h.

Function Documentation

◆ operator<<()

template<class T >
VNL_EXPORT std::ostream & operator<< ( std::ostream &  ,
vnl_sym_matrix< T > const &   
)

print in lower triangular form.

Definition at line 96 of file vnl_sym_matrix.hxx.

◆ operator==() [1/3]

template<class T >
VNL_EXPORT bool operator== ( const vnl_sym_matrix< T > &  a,
const vnl_sym_matrix< T > &  b 
)

Definition at line 110 of file vnl_sym_matrix.hxx.

◆ operator==() [2/3]

template<class T >
VNL_EXPORT bool operator== ( const vnl_sym_matrix< T > &  a,
const vnl_matrix< T > &  b 
)

Definition at line 124 of file vnl_sym_matrix.hxx.

◆ operator==() [3/3]

template<class T >
VNL_EXPORT bool operator== ( const vnl_matrix< T > &  a,
const vnl_sym_matrix< T > &  b 
)

Definition at line 141 of file vnl_sym_matrix.hxx.

◆ swap()

template<class T >
void swap ( vnl_sym_matrix< T > &  a,
vnl_sym_matrix< T > &  b 
)

Swap the contents of a and b.

Definition at line 268 of file vnl_sym_matrix.h.