SourcePro® API Reference Guide

 
List of all members | Public Types
rw_linear_algebra_traits< TypeT > Class Template Reference

A collection of traits typedefs. More...

#include <rw/lapack/latraits.h>

Public Types

typedef RWSymBandMat< TypeT > banded_hermitian_type
 
typedef TypeT generic_band_mat
 
typedef TypeT generic_skew_mat
 
typedef TypeT generic_sym_mat
 
typedef TypeT generic_tri_diag_mat
 
typedef RWSymMat< TypeT > hermitian_type
 
typedef mathFunTy lapkFunType
 
typedef TypeT narrow_lower_tri_mat
 
typedef TypeT narrow_sym_band_mat
 
typedef TypeT narrow_upper_tri_mat
 

Detailed Description

template<class TypeT>
class rw_linear_algebra_traits< TypeT >

The rw_linear_algebra_traits class is a helper class that contains only typedef information. The generic rw_linear_algebra_traits assumes that all the typedefs are set to T. Since this is not desirable for any types, we specialize for DComplex, double and float.

The specializations used in the library are contained in the file rw/math/latraits.h.

There are twelve public typedefs in each specialized rw_linear_algebra_traits class. Each typedef must be defined in a given specialization for proper results.

Synopsis
template <class T>
Specializations

Member Typedef Documentation

template<class TypeT >
typedef RWSymBandMat<TypeT> rw_linear_algebra_traits< TypeT >::banded_hermitian_type

Type to represent a symmetric banded hermitian matrix

template<class TypeT >
typedef TypeT rw_linear_algebra_traits< TypeT >::generic_band_mat

Type to represent a banded matrix

template<class TypeT >
typedef TypeT rw_linear_algebra_traits< TypeT >::generic_skew_mat

Type to represent a skew matrix

template<class TypeT >
typedef TypeT rw_linear_algebra_traits< TypeT >::generic_sym_mat

Type to represent a symmetric matrix

template<class TypeT >
typedef TypeT rw_linear_algebra_traits< TypeT >::generic_tri_diag_mat

Type to represent a tridiagonal matrix

template<class TypeT >
typedef RWSymMat<TypeT> rw_linear_algebra_traits< TypeT >::hermitian_type

Type to represent a symmetric hermitian matrix

template<class TypeT >
typedef mathFunTy rw_linear_algebra_traits< TypeT >::lapkFunType

Type to represent a Linear Algebra Package function

template<class TypeT >
typedef TypeT rw_linear_algebra_traits< TypeT >::narrow_lower_tri_mat

Type to represent a lower triangular matrix

template<class TypeT >
typedef TypeT rw_linear_algebra_traits< TypeT >::narrow_sym_band_mat

Type to represent a symmetric banded matrix

template<class TypeT >
typedef TypeT rw_linear_algebra_traits< TypeT >::narrow_upper_tri_mat

Type to represent a upper triangular matrix

Copyright © 2023 Rogue Wave Software, Inc., a Perforce company. All Rights Reserved.