Home || Visual Search || Applications || Architecture || Important Messages || OGL || Src

template<class MatT>
void Impala::Core::Matrix::SetColumn ( MatT *  m,
int  index,
const Vector::VectorTem< Real64 > &  col 
) [inline]

Definition at line 17 of file SetColumn.h.

References ILOG_VAR, MatE(), MatNrCol(), MatNrRow(), and Impala::Core::Vector::VectorTem< ElemT >::Size().

Referenced by Impala::Application::ConceptSet::DoApproxFikModel().

00018 {
00019     ILOG_VAR(Impala.Core.Matrix.SetColumn);
00020     int length = MatNrRow(m);
00021     if (length != col.Size())
00022         ILOG_ERROR_NODE("nonconformant operands");
00023     if (index < 0 || index >= MatNrCol(m))
00024         ILOG_ERROR_NODE("faulty column index: " << index);
00025     for (int i=0 ; i<length ; i++)
00026         *MatE(m, i, index) = col[i];
00027 }

Here is the call graph for this function:


Generated on Thu Jan 13 09:20:16 2011 for ImpalaSrc by  doxygen 1.5.1