Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

MODEL::SSA Class Template Reference

#include <ssa.h>

Collaboration diagram for MODEL::SSA:

Collaboration graph
[legend]
List of all members.

Public Types

typedef NT::number numT
typedef NT::vect vect
typedef NT::matrix matrix
typedef Jacobian<2*dims>::matrix system
typedef Jacobian<2*dims>::vect input
typedef NumericTraits<complex,
dims>::vect 
response
typedef response cinput
typedef NT::vf vf

Public Methods

 SSA (vf &my_sys, const string &parm)
counter set_stat_param (const number &value)
void set_stat_point (const counter &po=1)
void set_stat_point (const vect &right_there)
const ScanList<dims,NT>& get_stat_points (void)
response calc_point (const number &omega)
ScanList<dims,complex> calc_response (const number &from, const number &to, const counter &n)
ScanList<dims> calc_response_norm (const number &from, const number &to, const counter &n)
void set_dep (const vect &input)
void set_dep (const cinput &input)

Private Methods

void calc_dep (void)
void put_omega (const number &omega)
 NO_COPY (SSA)

Private Attributes

bool all_is_well
Jacobian<dims>* J
matrix j
system A
RootScan<dims,nelem>* rs
ScanList<dims,nelem> statp
vect here
ParameterP p
input linpar

Detailed Description

template<integer dims, typename nelem = number, class NT = NumericTraits<nelem,dims>> class MODEL::SSA

Feed me a Vectorfunction and I can give you a small signal analysis for any parameter. Actually, I will calculate it for all parameters

Definition at line 36 of file ssa.h.


Constructor & Destructor Documentation

SSA ( vf & my_sys,
const string & parm )
 

For my_sys, for this input parameter

Definition at line 151 of file ssa.h.


Member Function Documentation

void calc_dep ( void ) [private]
 

Calculate the parameter dependency: partial FD

Definition at line 287 of file ssa.h.

Referenced by set_stat_point().

SSA< dims, nelem, NT >::response calc_point ( const number & omega )
 

get a single response point. For that detailed analysis

Definition at line 219 of file ssa.h.

Referenced by calc_response(), and calc_response_norm().

ScanList< dims, complex > calc_response ( const number & from,
const number & to,
const counter & n )
 

get a list of responses, equally spaced in a log scale

Definition at line 241 of file ssa.h.

ScanList< dims > calc_response_norm ( const number & from,
const number & to,
const counter & n )
 

get a list of responses, but this this just the norm, no phase information, please

Definition at line 262 of file ssa.h.

const ScanList< dims, NT > & get_stat_points ( void )
 

get a list of the stationary points

void put_omega ( const number & omega ) [private]
 

fill omega depency in system matrix A

Definition at line 339 of file ssa.h.

Referenced by calc_point().

void set_dep ( const cinput & input ) [inline]
 

set the depency manually when it is complex. This is needed if we want to use these routines for other purposes, like noise analysis, where the sources are not necessarily the inputs

Definition at line 95 of file ssa.h.

void set_dep ( const vect & input ) [inline]
 

set the depency manually. This is needed if we want to use these routines for other purposes, like noise analysis, where the sources are not necessarily the inputs

Definition at line 85 of file ssa.h.

counter set_stat_param ( const number & value )
 

Set the stationary parameter value around which we will modulate. This will return the number of stable stationary points the system have been able to find. Use get_stat_points to get a list in ScanList format

Definition at line 166 of file ssa.h.

void set_stat_point ( const vect & right_there )
 

Or (DANGEROUS) set it explicitly. Nobody guarantees this will work (and give meaningfull results) if you do not have a valid point

Definition at line 207 of file ssa.h.

void set_stat_point ( const counter & po = 1 )
 

Once you have some points, choose one

Definition at line 183 of file ssa.h.


Member Data Documentation

system A [private]
 

A matrix twice as large for the complex problem

Definition at line 124 of file ssa.h.

Jacobian< dims > * J [private]
 

The function/jacobian in question

Definition at line 118 of file ssa.h.

bool all_is_well [private]
 

Tells all calculations that all is well and they can go ahead

Definition at line 115 of file ssa.h.

vect here [private]
 

The stationary point

Definition at line 133 of file ssa.h.

matrix j [private]
 

The actual jacobian of the vectorfunction

Definition at line 121 of file ssa.h.

input linpar [private]
 

The linear approximation of the way the equations respond to the input. Also twice as large, but only the top half in used

Definition at line 140 of file ssa.h.

ParameterP p [private]
 

The parameter

Definition at line 136 of file ssa.h.

RootScan< dims, nelem > * rs [private]
 

The rootscanner

Definition at line 127 of file ssa.h.

ScanList< dims, nelem > statp [private]
 

The list of stationary points

Definition at line 130 of file ssa.h.


The documentation for this class was generated from the following file:
To get the sources or tarballs, please go to SourceForge or you can use the CVS repository.

More Info? Michael Peeters. Also, check our research website: www.alna.vub.ac.be

Last update: June 2002.


Looking for Open Source? Check out SourceForge Logo !