CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
materialEffect::Covariance Class Reference

#include <MaterialEffectsUpdator.h>

Public Member Functions

void add (AlgebraicSymMatrix55 &cov) const
 
Covarianceoperator+= (Covariance const &cov)
 
float operator[] (CovIndex i) const
 
float & operator[] (CovIndex i)
 

Private Attributes

float data [4] ={0}
 

Detailed Description

Definition at line 20 of file MaterialEffectsUpdator.h.

Member Function Documentation

void materialEffect::Covariance::add ( AlgebraicSymMatrix55 cov) const
inline
Covariance& materialEffect::Covariance::operator+= ( Covariance const &  cov)
inline

Definition at line 31 of file MaterialEffectsUpdator.h.

References data, and mps_fire::i.

31  {
32  for(int i=0;i!=4;++i) data[i]+=cov.data[i];
33  return *this;
34  }
float materialEffect::Covariance::operator[] ( CovIndex  i) const
inline

Definition at line 22 of file MaterialEffectsUpdator.h.

References data, and mps_fire::i.

float& materialEffect::Covariance::operator[] ( CovIndex  i)
inline

Definition at line 23 of file MaterialEffectsUpdator.h.

References data, and mps_fire::i.

Member Data Documentation

float materialEffect::Covariance::data[4] ={0}
private