52 #ifndef __PCL_MultiVector_h
53 #define __PCL_MultiVector_h
58 #include <pcl/Diagnostics.h>
174 for (
iterator i = this->Begin(), j = this->End(); i < j; ++i )
175 *i =
vector( vectorLength );
190 for (
iterator i = this->Begin(), j = this->End(); i < j; ++i )
191 *i =
vector( value, vectorLength );
215 *i = v0; *++i = v1; *++i = v2;
227 *i = v0; *++i = v1; *++i = v2; *++i = v3;
263 for (
iterator i = this->Begin(), j = this->End(); i < j; ++i )
274 for (
iterator i = this->Begin(), j = this->End(); i < j; ++i )
285 for (
iterator i = this->Begin(), j = this->End(); i < j; ++i )
296 for (
iterator i = this->Begin(), j = this->End(); i < j; ++i )
307 for (
iterator i = this->Begin(), j = this->End(); i < j; ++i )
318 for (
const_iterator i = this->Begin(), j = this->End(); i < j; ++i )
331 for (
const_iterator i = this->Begin(), j = this->End(); i < j; ++i )
336 #ifndef __PCL_NO_VECTOR_STATISTICS
344 if ( !this->IsEmpty() )
346 component min = this->Begin()->MinComponent();
347 for (
const_iterator i = this->Begin(), j = this->End(); ++i < j; )
348 min =
pcl::Min( min, i->MinComponent() );
360 if ( !this->IsEmpty() )
362 component max = this->Begin()->MaxComponent();
363 for (
const_iterator i = this->Begin(), j = this->End(); ++i < j; )
364 max =
pcl::Max( max, i->MaxComponent() );
375 #ifndef __PCL_NO_MULTIVECTOR_INSTANTIATE
64-bit floating point real multivector.
32-bit floating point real multivector.
Generic array of vectors.
GenericMultiVector(const vector &v0, const vector &v1, const vector &v2, const vector &v3)
component MinComponent() const
typename vector::scalar scalar
typename vector::iterator vector_iterator
GenericMultiVector(const vector &v0, const vector &v1, const vector &v2)
GenericMultiVector(size_type length, int vectorLength)
typename multivector_implementation::iterator iterator
GenericMultiVector(size_type length)
component MaxComponent() const
GenericMultiVector(const scalar &value, size_type length, int vectorLength)
GenericMultiVector(GenericMultiVector &&)=default
typename multivector_implementation::const_iterator const_iterator
GenericMultiVector()=default
GenericMultiVector(const GenericMultiVector &)=default
typename vector::const_iterator const_vector_iterator
typename vector::component component
GenericMultiVector(const vector &v0, const vector &v1)
Generic vector of arbitrary length.
double StableSum() const noexcept
64-bit floating point real multivector.
constexpr const T & Min(const T &a, const T &b) noexcept
constexpr const T & Max(const T &a, const T &b) noexcept