Simbody  3.5
SimTK::Vec< M, ELT, STRIDE >::Substitute< P > Struct Template Reference

Shape-preserving element substitution (always packed). More...

Public Types

typedef Vec< M, P > Type
 

Detailed Description

template<int M, class ELT, int STRIDE>
template<class P>
struct SimTK::Vec< M, ELT, STRIDE >::Substitute< P >

Shape-preserving element substitution (always packed).

That is, if T1==Vec<M,E,S> is the current Vec type, then type T2==T1::Substitute<P>::Type is the type of a shape-compatible, packed Vec whose elements are of type P rather than E, that is, T2==Vec<M,P,1>.

Member Typedef Documentation

template<int M, class ELT, int STRIDE>
template<class P >
typedef Vec<M,P> SimTK::Vec< M, ELT, STRIDE >::Substitute< P >::Type

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