00001 /* 00002 * $Id$ 00003 * 00004 * Author: David Fournier 00005 * Copyright (c) 2008-2012 Regents of the University of California 00006 */ 00011 #include "fvar.hpp" 00012 00017 void dvar_matrix::rowshift(int min ) 00018 { 00019 m = m + rowmin() - min; 00020 index_max+=min-index_min; 00021 index_min=min; 00022 } 00023 00028 void dvar_matrix::colshift( int min) 00029 { 00030 for (int i=rowmin(); i<=rowmax(); i++) 00031 { 00032 this->elem(i).shift(min); 00033 } 00034 //shape->colshift(min); 00035 }
Generated on Tue Mar 8 2016 19:51:34 for ADMB Documentation by 1.8.0 |