21#ifndef __ANTARES_LIBS_ARRAY_CORRELATION_HXX__
22#define __ANTARES_LIBS_ARRAY_CORRELATION_HXX__
23#include "antares/study/area/area.h"
29inline void InterAreaCorrelationResetMatrix(
Matrix<>* m, AreaList* l)
33 m->
resize(l->size(), l->size());
47template<
class StringT>
48inline void Correlation::set(
Matrix<>& m,
const Area& from,
const Area& to,
const StringT& value)
51 if (!value.template to<double>(d))
54 <<
"' / '" << to.
name <<
"' (got '" << value <<
"')";
Definition for a single area.
Definition area.h:52
AreaName name
Name of the area.
Definition area.h:213
Yuni::CString< 30, false > correlationName
The name to displays in logs.
Definition correlation.h:143
Mode mode() const
Get the current mode.
Definition correlation.hxx:42
A n-by-n matrix.
Definition jit.h:30
void fillUnit()
Make the matrix an unit matrix (identity matrix)
Definition matrix.hxx:362
void resize(uint w, uint h, bool fixedSize=false)
Resize the matrix.
Definition matrix.hxx:555