cisst-saw
Loading...
Searching...
No Matches
MinAndMax Class Reference

#include <vctFixedSizeVectorRecursiveEngines.h>

Public Types

typedef vctFixedSizeVectorRecursiveEngines< _size-1 >::MinAndMax RecursiveStep

Static Public Member Functions

template<class _inputVectorType>
static void Unfold (const _inputVectorType &inputVector, typename _inputVectorType::value_type &minValue, typename _inputVectorType::value_type &maxValue)

Detailed Description

A specialized engine for computing the minimum and maximum elements of a matrix in one pass. This implementation is more efficient than computing them separately.

Member Typedef Documentation

◆ RecursiveStep

typedef vctFixedSizeVectorRecursiveEngines<_size-1>::MinAndMax MinAndMax::RecursiveStep

Member Function Documentation

◆ Unfold()

template<class _inputVectorType>
void MinAndMax::Unfold ( const _inputVectorType & inputVector,
typename _inputVectorType::value_type & minValue,
typename _inputVectorType::value_type & maxValue )
inlinestatic

The documentation for this class was generated from the following file: