Lines Matching refs:parameter_block
158 const ParameterBlock* parameter_block = parameter_blocks_[i]; in IsValid() local
159 if (parameter_block->index() != i || in IsValid()
160 parameter_block->state_offset() != state_offset || in IsValid()
161 parameter_block->delta_offset() != delta_offset) { in IsValid()
164 << parameter_block->ToString(); in IsValid()
178 const ParameterBlock* parameter_block = parameter_blocks_[i]; in ParameterBlocksAreFinite() local
179 const double* array = parameter_block->user_state(); in ParameterBlocksAreFinite()
180 const int size = parameter_block->Size(); in ParameterBlocksAreFinite()
197 const ParameterBlock* parameter_block = parameter_blocks_[i]; in IsBoundsConstrained() local
198 if (parameter_block->IsConstant()) { in IsBoundsConstrained()
201 const int size = parameter_block->Size(); in IsBoundsConstrained()
203 const double lower_bound = parameter_block->LowerBoundForParameter(j); in IsBoundsConstrained()
204 const double upper_bound = parameter_block->UpperBoundForParameter(j); in IsBoundsConstrained()
217 const ParameterBlock* parameter_block = parameter_blocks_[i]; in IsFeasible() local
218 const double* parameters = parameter_block->user_state(); in IsFeasible()
219 const int size = parameter_block->Size(); in IsFeasible()
220 if (parameter_block->IsConstant()) { in IsFeasible()
225 const double lower_bound = parameter_block->LowerBoundForParameter(j); in IsFeasible()
226 const double upper_bound = parameter_block->UpperBoundForParameter(j); in IsFeasible()
244 const double lower_bound = parameter_block->LowerBoundForParameter(j); in IsFeasible()
245 const double upper_bound = parameter_block->UpperBoundForParameter(j); in IsFeasible()
311 ParameterBlock* parameter_block = residual_block->parameter_blocks()[k]; in RemoveFixedBlocks() local
312 if (!parameter_block->IsConstant()) { in RemoveFixedBlocks()
314 parameter_block->set_index(1); in RemoveFixedBlocks()
343 ParameterBlock* parameter_block = parameter_blocks_[i]; in RemoveFixedBlocks() local
344 if (parameter_block->index() == -1) { in RemoveFixedBlocks()
345 removed_parameter_blocks->push_back(parameter_block->mutable_user_state()); in RemoveFixedBlocks()
347 parameter_blocks_[num_active_parameter_blocks++] = parameter_block; in RemoveFixedBlocks()