LSQTraits.h

Classes

LSQReal -- Typing support classes for LSQ classes (full description)
LSQComplex -- Type of complex numeric class indicator (full description)
LSQNull -- Non relevant class indicator (full description)
LSQType -- Determine if pointer type (full description)
LSQTraits -- Traits for numeric classes used (full description)
LSQTraits_F -- LSQTraits specialization for Float (full description)
LSQTraits_D -- LSQTraits specialization for Double (full description)
LSQTraits_CD -- LSQTraits specialization for DComplex (full description)
LSQTraits_CF -- LSQTraits specialization for Complex (full description)

class LSQReal

Interface

Description

Synopsis

The following classes are used in detremining the type of iterator presented to the LSQFit class. They are for a large part based on ideas by Alexandrescu(2001), 'Modern C++ design'.

Example

See LSQFit class, especially the LSQFit2.cc defintion file.

Motivation

To ease the interface to Fitting (and probably other) classes, by producing a framework that can be used with aips++ containers.

To Do

Type of real numeric class indicator

Member Description


class LSQComplex

Interface

Description

Member Description


class LSQNull

Interface

Description

Member Description


class LSQType

Types

enum

Interface

Description

Member Description

enum


class LSQTraits

Types

enum

size = 0

Interface

Description

Member Description

enum

Number of basic numeric type elements

template <> class LSQTraits_F<Float>

Types

enum

size = 1

Interface

Description

Member Description

enum


template <> class LSQTraits_D<Double>

Types

enum

size = 1

Interface

Description

Member Description

enum


template <> class LSQTraits_CD<std::complex<Double> >

Types

enum

size = 2

Interface

Description

Member Description

enum


template <> class LSQTraits_CF<std::complex<Float> >

Types

enum

size = 2

Interface

Description

Member Description

enum