Home
last modified time | relevance | path

Searched refs:TNeg (Results 1 – 25 of 27) sorted by relevance

12

/dports/science/simbody/simbody-Simbody-3.7/SimTKcommon/BigMatrix/include/SimTKcommon/internal/
H A DMatrix_.h56 typedef typename CNT<ELT>::TNeg ENeg;
64 typedef Matrix_<ENeg> TNeg; typedef
127 const TNeg& negate() const {return *reinterpret_cast<const TNeg*>(this); } in negate()
128 TNeg& updNegate() {return *reinterpret_cast<TNeg*>(this); } in updNegate()
130 const TNeg& operator-() const {return negate();}
131 TNeg& operator-() {return updNegate();}
H A DMatrixHelper.h81 typedef MatrixHelper<typename CNT<S>::TNeg> ThisNeg;
124 …MatrixHelper(const MatrixCommitment&, const MatrixHelper<typename CNT<S>::TNeg>& source, const Dee…
211 MatrixHelper& negatedCopyAssign(const MatrixHelper<typename CNT<S>::TNeg>&);
261 void addIn(const MatrixHelper<typename CNT<S>::TNeg>&);
263 void subIn(const MatrixHelper<typename CNT<S>::TNeg>&);
360 friend class MatrixHelper<typename CNT<S>::TNeg>;
H A DRowVectorBase.h49 typedef RowVectorBase<typename CNT<ELT>::TNeg> TNeg; typedef
73 RowVectorBase(const TNeg& source) : Base(source) {} in RowVectorBase()
285 const TNeg& negate() const {return *reinterpret_cast<const TNeg*>(this); } in negate()
286 TNeg& updNegate() {return *reinterpret_cast<TNeg*>(this); } in updNegate()
288 const TNeg& operator-() const {return negate();}
289 TNeg& operator-() {return updNegate();}
H A DVectorBase.h51 typedef VectorBase<typename CNT<ELT>::TNeg> TNeg; typedef
75 VectorBase(const TNeg& source) : Base(source) {} in VectorBase()
445 const TNeg& negate() const {return *reinterpret_cast<const TNeg*>(this); } in negate()
446 TNeg& updNegate() {return *reinterpret_cast<TNeg*>(this); } in updNegate()
448 const TNeg& operator-() const {return negate();}
449 TNeg& operator-() {return updNegate();}
H A DRowVectorView_.h48 typedef RowVectorView_< typename CNT<ELT>::TNeg > TNeg; typedef
H A DVectorView_.h48 typedef VectorView_< typename CNT<ELT>::TNeg > TNeg; typedef
H A DMatrixBase.h76 typedef typename CNT<E>::TNeg ENeg;
103 typedef MatrixBase<ENeg> TNeg; typedef
190 MatrixBase(const TNeg& b) in MatrixBase()
761 const TNeg& negate() const {return *reinterpret_cast<const TNeg*>(this); } in negate()
762 TNeg& updNegate() {return *reinterpret_cast<TNeg*>(this); } in updNegate()
764 const TNeg& operator-() const {return negate();}
765 TNeg& operator-() {return updNegate();}
H A DRowVector_.h56 typedef typename CNT<ELT>::TNeg ENeg;
H A DVector_.h54 typedef typename CNT<ELT>::TNeg ENeg;
/dports/science/simbody/simbody-Simbody-3.7/SimTKcommon/Scalar/include/SimTKcommon/internal/
H A DCompositeNumericalTypes.h139 typedef typename K::TNeg TNeg; typedef
211 static const TNeg& negate(const T& t) in negate()
212 { return reinterpret_cast<const TNeg&>(t); } in negate()
213 static TNeg& negate(T& t) in negate()
214 { return reinterpret_cast<TNeg&>(t); } in negate()
H A Dnegator.h84 typedef NUMBER TNeg; // negator evaporates typedef
86 typedef typename CNT<NReal>::TNeg TReal;
87 typedef typename CNT<NImag>::TNeg TImag;
88 typedef typename CNT<NComplex>::TNeg TComplex;
89 typedef typename CNT<NHerm>::TNeg THerm;
100 typedef typename CNT<NInvert>::TNeg TInvert;
128 typedef typename CNT<PMul>::TNeg Mul;
129 typedef typename CNT<PDvd>::TNeg Dvd;
131 typedef typename CNT<PSub>::TNeg Sub;
H A DNTraits.h446 typedef negator<C> TNeg; // type of this after *cast* to its negative
483 typedef typename CNT< typename CNT<P>::TNeg >::template Result<C>::Add Sub;
516 static const TNeg& negate(const T& t) {return reinterpret_cast<const TNeg&>(t);}
517 static TNeg& negate(T& t) {return reinterpret_cast<TNeg&>(t);}
668 typedef typename CNT<typename CNT<P>::TNeg>::template Result<T>::Add Sub;
702 static const TNeg& negate(const T& t) {return reinterpret_cast<const TNeg&>(t);}
703 static TNeg& negate(T& t) {return reinterpret_cast<TNeg&>(t);}
848 typedef negator<T> TNeg; \
875 typedef typename CNT< typename CNT<P>::TNeg >::template Result<R>::Add Sub; \
904 static const TNeg& negate(const T& t) {return reinterpret_cast<const TNeg&>(t);} \
[all …]
/dports/science/simbody/simbody-Simbody-3.7/SimTKcommon/tests/
H A DSpatialAlgebraTest.cpp83 SpatialVec::TNeg& nsv = sv.updNegate(); in testMiscSpatialAlgebra()
84 Vec6::TNeg& nsv6 = Vec6::TNeg::updAs(&nsv[0][0]); in testMiscSpatialAlgebra()
H A DMatVecTest.cpp405 Vec<2>::TNeg& nv1 = (Vec<2>::TNeg&)v1; in testMiscellaneous()
/dports/science/opensim-core/opensim-core-4.1/Bindings/SWIGSimTK/
H A DBigMatrix.h942 TNeg& updNegate() {return *reinterpret_cast<TNeg*>(this); } in updNegate()
1071 typedef VectorBase<typename CNT<ELT>::TNeg> TNeg; typedef
1468 const TNeg& negate() const {return *reinterpret_cast<const TNeg*>(this); } in negate()
1469 TNeg& updNegate() {return *reinterpret_cast<TNeg*>(this); } in updNegate()
1511 typedef RowVectorBase<typename CNT<ELT>::TNeg> TNeg; typedef
1766 const TNeg& negate() const {return *reinterpret_cast<const TNeg*>(this); } in negate()
1767 TNeg& updNegate() {return *reinterpret_cast<TNeg*>(this); } in updNegate()
2009 const TNeg& negate() const {return *reinterpret_cast<const TNeg*>(this); } in negate()
2010 TNeg& updNegate() {return *reinterpret_cast<TNeg*>(this); } in updNegate()
2045 typedef VectorView_< typename CNT<ELT>::TNeg > TNeg; typedef
[all …]
H A DVec.h146 typedef typename CNT<E>::TNeg ENeg;
219 typedef Vec<M,ENeg,STRIDE> TNeg; typedef
594 const TNeg& operator-() const { return negate(); }
597 TNeg& operator-() { return updNegate(); }
608 const TNeg& negate() const { return *reinterpret_cast<const TNeg*>(this); } in negate()
611 TNeg& updNegate() { return *reinterpret_cast< TNeg*>(this); } in updNegate()
H A DMat.h58 typedef typename CNT<E>::TNeg ENeg;
109 typedef Mat<M,N,ENeg,CS,RS> TNeg; typedef
685 const TNeg& operator-() const { return negate(); }
686 TNeg& operator-() { return updNegate(); }
690 const TNeg& negate() const { return *reinterpret_cast<const TNeg*>(this); } in negate()
691 TNeg& updNegate() { return *reinterpret_cast<TNeg*>(this); } in updNegate()
/dports/science/simbody/simbody-Simbody-3.7/SimTKcommon/BigMatrix/src/
H A DMatrixHelperRep.h101 typedef MatrixHelperRep<typename CNT<S>::TNeg> ThisNeg;
107 typedef typename CNT<S>::TNeg SNeg; // the negated version of S
352 void addIn(const MatrixHelper<typename CNT<S>::TNeg>&);
354 void subIn(const MatrixHelper<typename CNT<S>::TNeg>&);
764 friend class MatrixHelperRep<typename CNT<S>::TNeg>;
H A DMatrixHelper.cpp246 MatrixHelper<S>::MatrixHelper(const MatrixCommitment& mc, const MatrixHelper<typename CNT<S>::TNeg>… in MatrixHelper()
401 MatrixHelper<S>::negatedCopyAssign(const MatrixHelper<typename CNT<S>::TNeg>& h) { in negatedCopyAssign()
450 MatrixHelper<S>::addIn(const MatrixHelper<typename CNT<S>::TNeg>& h) { in addIn()
458 MatrixHelper<S>::subIn(const MatrixHelper<typename CNT<S>::TNeg>& h) { in subIn()
756 MatrixHelperRep<S>::addIn(const MatrixHelper<typename CNT<S>::TNeg>& nh) { in addIn()
772 MatrixHelperRep<S>::subIn(const MatrixHelper<typename CNT<S>::TNeg>& nh) { in subIn()
H A DMatrixHelperRep_Tri.h85 typedef typename CNT<S>::TNeg SNeg;
H A DMatrixHelperRep_Vector.h74 typedef typename CNT<S>::TNeg SNeg;
/dports/science/simbody/simbody-Simbody-3.7/SimTKcommon/SmallMatrix/include/SimTKcommon/internal/
H A DSymMat.h89 typedef typename CNT<E>::TNeg ENeg;
139 typedef SymMat<M,ENeg,RS> TNeg; typedef
597 const TNeg& operator-() const { return negate(); }
598 TNeg& operator-() { return updNegate(); }
602 const TNeg& negate() const { return *reinterpret_cast<const TNeg*>(this); } in negate()
603 TNeg& updNegate() { return *reinterpret_cast<TNeg*>(this); } in updNegate()
H A DVec.h193 typedef typename CNT<E>::TNeg ENeg;
268 typedef Vec<M,ENeg,STRIDE> TNeg; typedef
642 const TNeg& operator-() const { return negate(); }
645 TNeg& operator-() { return updNegate(); }
656 const TNeg& negate() const { return *reinterpret_cast<const TNeg*>(this); } in negate()
659 TNeg& updNegate() { return *reinterpret_cast< TNeg*>(this); } in updNegate()
H A DRow.h134 typedef typename CNT<E>::TNeg ENeg;
182 typedef Row<N,ENeg,STRIDE> TNeg; typedef
483 const TNeg& operator-() const { return negate(); }
484 TNeg& operator-() { return updNegate(); }
488 const TNeg& negate() const { return *reinterpret_cast<const TNeg*>(this); } in negate()
489 TNeg& updNegate() { return *reinterpret_cast<TNeg*>(this); } in updNegate()
H A DMat.h100 typedef typename CNT<E>::TNeg ENeg;
151 typedef Mat<M,N,ENeg,CS,RS> TNeg; typedef
724 const TNeg& operator-() const { return negate(); }
725 TNeg& operator-() { return updNegate(); }
729 const TNeg& negate() const { return *reinterpret_cast<const TNeg*>(this); } in negate()
730 TNeg& updNegate() { return *reinterpret_cast<TNeg*>(this); } in updNegate()

12