template<class MatT>
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:
|