/dports/science/siconos/siconos-4.4.0/externals/numeric_bindings/boost/numeric/bindings/blas/level1/ |
H A D | rot.hpp | 64 inline void rot( const int n, float* x, const int incx, float* y, in rot() function 74 inline void rot( const int n, double* x, const int incx, double* y, in rot() function 84 inline void rot( const int n, std::complex<float>* x, const int incx, in rot() function 95 inline void rot( const int n, std::complex<double>* x, const int incx, in rot() function 107 inline void rot( const int n, float* x, const int incx, float* y, 117 inline void rot( const int n, double* x, const int incx, double* y, 127 inline void rot( const int n, std::complex<float>* x, const int incx, 170 inline void rot( const fortran_int_t n, std::complex<float>* x, 181 inline void rot( const fortran_int_t n, std::complex<double>* x, 217 detail::rot( bindings::size(x), bindings::begin_value(x), in invoke() [all …]
|
/dports/science/chrono/chrono-7.0.1/src/chrono/utils/ |
H A D | ChUtilsCreators.cpp | 50 sphere->Rot = rot; in AddSphereGeometry() 69 ellipsoid->Rot = rot; in AddEllipsoidGeometry() 88 box->Rot = rot; in AddBoxGeometry() 129 capsule->Rot = rot; in AddCapsuleGeometry() 151 cylinder->Rot = rot; in AddCylinderGeometry() 180 cone->Rot = rot; in AddConeGeometry() 416 body->SetRot(rot); in AddTriangleMeshConvexDecompositionSplit() 505 box->Rot = rot; in AddRoundedBoxGeometry() 528 rcyl->Rot = rot; in AddRoundedCylinderGeometry() 583 body->SetRot(rot); in CreateBoxContainer() [all …]
|
H A D | ChUtilsGeometry.h | 151 TransformGyration(J, pos, rot); 165 TransformGyration(J, pos, rot); 173 const ChQuaternion<>& rot = ChQuaternion<>(1, 0, 0, 0)) { 180 TransformGyration(J, pos, rot); 213 TransformGyration(J, pos, rot); 237 TransformGyration(J, pos, rot); 254 TransformGyration(J, pos, rot); 273 TransformGyration(J, pos, rot); 293 TransformGyration(J, pos, rot); 311 TransformGyration(J, pos, rot); [all …]
|
/dports/science/chrono/chrono-7.0.1/src/chrono/fea/ |
H A D | ChLinkDirFrame.cpp | 42 ChMatrix33<> rot; in SetDirectionInBodyCoords() local 43 rot.Set_A_Xdir(dir_loc); in SetDirectionInBodyCoords() 44 m_csys.rot = rot.Get_A_quaternion(); in SetDirectionInBodyCoords() 79 ChMatrix33<> Arw = m_csys.rot >> m_body->coord.rot; in GetConstraintViolation() 89 ChMatrix33<> A(m_body->coord.rot); in GetReactionOnBody() 90 ChMatrix33<> C(m_csys.rot); in GetReactionOnBody() 139 ChMatrix33<> Arw = m_csys.rot >> m_body->coord.rot; in IntLoadConstraint_C() 197 ChMatrix33<> Arw = m_csys.rot >> m_body->coord.rot; in ConstraintsBiLoad_C() 213 ChMatrix33<> Aow(m_body->coord.rot); in ConstraintsLoadJacobians() 214 ChMatrix33<> Aro(m_csys.rot); in ConstraintsLoadJacobians() [all …]
|
/dports/science/chrono/chrono-7.0.1/src/chrono/collision/ |
H A D | ChCollisionModelChrono.h | 82 const ChMatrix33<>& rot = ChMatrix33<>(1) ///< rotation in model coordinates 92 const ChMatrix33<>& rot = ChMatrix33<>(1) ///< rotation in model coordinates 103 const ChMatrix33<>& rot = ChMatrix33<>(1) ///< rotation in model coordinates 113 const ChMatrix33<>& rot = ChMatrix33<>(1) ///< rotation in model coordinates 123 const ChMatrix33<>& rot = ChMatrix33<>(1) ///< rotation in model coordinates 132 const ChMatrix33<>& rot = ChMatrix33<>(1) ///< rotation in model coordinates 143 const ChMatrix33<>& rot = ChMatrix33<>(1) ///< rotation in model coordinates 153 const ChMatrix33<>& rot = ChMatrix33<>(1) ///< rotation in model coordinates 164 const ChMatrix33<>& rot = ChMatrix33<>(1) ///< rotation in model coordinates 173 const ChMatrix33<>& rot = ChMatrix33<>(1) ///< rotation in model coordinates [all …]
|
H A D | ChCollisionModelBullet.h | 88 const ChMatrix33<>& rot = ChMatrix33<>(1) ///< rotation in model coordinates 98 const ChMatrix33<>& rot = ChMatrix33<>(1) ///< rotation in model coordinates 108 const ChMatrix33<>& rot = ChMatrix33<>(1) ///< rotation in model coordinates 117 const ChMatrix33<>& rot = ChMatrix33<>(1) ///< rotation in model coordinates 127 const ChMatrix33<>& rot = ChMatrix33<>(1) ///< rotation in model coordinates 138 const ChMatrix33<>& rot = ChMatrix33<>(1) ///< rotation in model coordinates 149 const ChMatrix33<>& rot = ChMatrix33<>(1) ///< rotation in model coordinates 162 const ChMatrix33<>& rot = ChMatrix33<>(1) ///< rotation in model coordinates 175 const ChMatrix33<>& rot = ChMatrix33<>(1) ///< rotation in model coordinates 244 const ChMatrix33<>& rot = ChMatrix33<>(1) ///< rotation in model coordinates [all …]
|
/dports/devel/plan9port/plan9port-1f098efb7370a0b28306d10681e21883fb1c1507/src/cmd/map/ |
H A D | symbol.c | 152 static double rot[2][2]; variable 176 rot[0][0] = y1*s; in setrot() 177 rot[0][1] = x1*s; in setrot() 178 rot[1][0] = -x1*s; in setrot() 179 rot[1][1] = y1*s; in setrot() 182 rot[0][0] = rot[1][1] = s; in setrot() 183 rot[0][1] = rot[1][0] = 0; in setrot() 190 *px = rot[0][0]*sp->x + rot[0][1]*sp->y; in dorot() 191 *py = rot[1][0]*sp->x + rot[1][1]*sp->y; in dorot()
|
/dports/devel/llvm-devel/llvm-project-f05c95f10fc1d8171071735af8ad3a9e87633120/llvm/test/Transforms/InstCombine/ |
H A D | icmp-fsh.ll | 15 %r = icmp eq i8 %rot, 0 29 call void @use(i8 %rot) 30 %r = icmp ne i8 %rot, 0 40 %r = icmp eq i8 %rot, -1 77 call void @use(i8 %rot) 78 %r = icmp eq i8 %rot, 0 88 %r = icmp ne i8 %rot, 0 98 %r = icmp eq i8 %rot, -1 108 %r = icmp ne i8 %rot, -1 121 %r = icmp ne i8 %rot, 1 [all …]
|
/dports/devel/bullet/bullet3-3.21/Extras/VHACD/inc/ |
H A D | vhacdVolume.h | 246 void AlignToPrincipalAxes(double (&rot)[3][3]) const; 254 const Vec3<double>& barycenter, const double (&rot)[3][3]); 271 const double (&rot)[3][3], Vec3<double>& pt){}; in ComputeAlignedPoint() 278 pt[0] = rot[0][0] * x + rot[1][0] * y + rot[2][0] * z; 279 pt[1] = rot[0][1] * x + rot[1][1] * y + rot[2][1] * z; 280 pt[2] = rot[0][2] * x + rot[1][2] * y + rot[2][2] * z; 288 pt[0] = rot[0][0] * x + rot[1][0] * y + rot[2][0] * z; 289 pt[1] = rot[0][1] * x + rot[1][1] * y + rot[2][1] * z; 290 pt[2] = rot[0][2] * x + rot[1][2] * y + rot[2][2] * z; 297 ComputeAlignedPoint(points, 0, barycenter, rot, pt); in ComputeBB() [all …]
|
/dports/devel/godot/godot-3.2.3-stable/thirdparty/vhacd/inc/ |
H A D | vhacdVolume.h | 243 void AlignToPrincipalAxes(double (&rot)[3][3]) const; 268 const double (&rot)[3][3], Vec3<double>& pt){}; in ComputeAlignedPoint() 275 pt[0] = rot[0][0] * x + rot[1][0] * y + rot[2][0] * z; 276 pt[1] = rot[0][1] * x + rot[1][1] * y + rot[2][1] * z; 277 pt[2] = rot[0][2] * x + rot[1][2] * y + rot[2][2] * z; 285 pt[0] = rot[0][0] * x + rot[1][0] * y + rot[2][0] * z; 286 pt[1] = rot[0][1] * x + rot[1][1] * y + rot[2][1] * z; 287 pt[2] = rot[0][2] * x + rot[1][2] * y + rot[2][2] * z; 291 const Vec3<double>& barycenter, const double (&rot)[3][3]) in ComputeBB() 294 ComputeAlignedPoint(points, 0, barycenter, rot, pt); in ComputeBB() [all …]
|
/dports/devel/godot-tools/godot-3.2.3-stable/thirdparty/vhacd/inc/ |
H A D | vhacdVolume.h | 243 void AlignToPrincipalAxes(double (&rot)[3][3]) const; 268 const double (&rot)[3][3], Vec3<double>& pt){}; in ComputeAlignedPoint() 275 pt[0] = rot[0][0] * x + rot[1][0] * y + rot[2][0] * z; 276 pt[1] = rot[0][1] * x + rot[1][1] * y + rot[2][1] * z; 277 pt[2] = rot[0][2] * x + rot[1][2] * y + rot[2][2] * z; 285 pt[0] = rot[0][0] * x + rot[1][0] * y + rot[2][0] * z; 286 pt[1] = rot[0][1] * x + rot[1][1] * y + rot[2][1] * z; 287 pt[2] = rot[0][2] * x + rot[1][2] * y + rot[2][2] * z; 291 const Vec3<double>& barycenter, const double (&rot)[3][3]) in ComputeBB() 294 ComputeAlignedPoint(points, 0, barycenter, rot, pt); in ComputeBB() [all …]
|
/dports/devel/py-bullet3/bullet3-3.21/Extras/VHACD/inc/ |
H A D | vhacdVolume.h | 246 void AlignToPrincipalAxes(double (&rot)[3][3]) const; 254 const Vec3<double>& barycenter, const double (&rot)[3][3]); 271 const double (&rot)[3][3], Vec3<double>& pt){}; in ComputeAlignedPoint() 278 pt[0] = rot[0][0] * x + rot[1][0] * y + rot[2][0] * z; 279 pt[1] = rot[0][1] * x + rot[1][1] * y + rot[2][1] * z; 280 pt[2] = rot[0][2] * x + rot[1][2] * y + rot[2][2] * z; 288 pt[0] = rot[0][0] * x + rot[1][0] * y + rot[2][0] * z; 289 pt[1] = rot[0][1] * x + rot[1][1] * y + rot[2][1] * z; 290 pt[2] = rot[0][2] * x + rot[1][2] * y + rot[2][2] * z; 297 ComputeAlignedPoint(points, 0, barycenter, rot, pt); in ComputeBB() [all …]
|
/dports/science/cp2k/cp2k-2e995eec7fd208c8a72d9544807bd8b8ba8cd1cc/src/motion/ |
H A D | dimer_types.F | 138 NULLIFY (dimer_env%nvec, dimer_env%rot%g0, dimer_env%rot%g1, dimer_env%rot%g1p, & 144 ALLOCATE (dimer_env%rot%g0(natom*3)) 145 ALLOCATE (dimer_env%rot%g1(natom*3)) 146 ALLOCATE (dimer_env%rot%g1p(natom*3)) 204 dimer_env%rot%g0 = 0.0_dp 205 dimer_env%rot%g1 = 0.0_dp 206 dimer_env%rot%g1p = 0.0_dp 248 IF (ASSOCIATED(dimer_env%rot%g0)) THEN 249 DEALLOCATE (dimer_env%rot%g0) 252 DEALLOCATE (dimer_env%rot%g1) [all …]
|
/dports/science/cp2k-data/cp2k-7.1.0/src/motion/ |
H A D | dimer_types.F | 139 NULLIFY (dimer_env%nvec, dimer_env%rot%g0, dimer_env%rot%g1, dimer_env%rot%g1p, & 145 ALLOCATE (dimer_env%rot%g0(natom*3)) 146 ALLOCATE (dimer_env%rot%g1(natom*3)) 147 ALLOCATE (dimer_env%rot%g1p(natom*3)) 205 dimer_env%rot%g0 = 0.0_dp 206 dimer_env%rot%g1 = 0.0_dp 207 dimer_env%rot%g1p = 0.0_dp 249 IF (ASSOCIATED(dimer_env%rot%g0)) THEN 250 DEALLOCATE (dimer_env%rot%g0) 253 DEALLOCATE (dimer_env%rot%g1) [all …]
|
/dports/games/irrlamb/irrlamb-1.0.1/src/OPCODE/ |
H A D | OPC_Common.h | 94 …inline_ void TransformPoint(Point& dest, const Point& source, const Matrix3x3& rot, const Point& t… in TransformPoint() argument 96 dest.x = trans.x + source.x * rot.m[0][0] + source.y * rot.m[1][0] + source.z * rot.m[2][0]; in TransformPoint() 97 dest.y = trans.y + source.x * rot.m[0][1] + source.y * rot.m[1][1] + source.z * rot.m[2][1]; in TransformPoint() 98 dest.z = trans.z + source.x * rot.m[0][2] + source.y * rot.m[1][2] + source.z * rot.m[2][2]; in TransformPoint()
|
/dports/games/xray_re-tools/xray_re-tools-52721d2/sources/utils/converter/opcode/ |
H A D | OPC_Common.h | 94 …inline_ void TransformPoint(Point& dest, const Point& source, const Matrix3x3& rot, const Point& t… in TransformPoint() argument 96 dest.x = trans.x + source.x * rot.m[0][0] + source.y * rot.m[1][0] + source.z * rot.m[2][0]; in TransformPoint() 97 dest.y = trans.y + source.x * rot.m[0][1] + source.y * rot.m[1][1] + source.z * rot.m[2][1]; in TransformPoint() 98 dest.z = trans.z + source.x * rot.m[0][2] + source.y * rot.m[1][2] + source.z * rot.m[2][2]; in TransformPoint()
|
/dports/games/alienarena/alienarena-7.66/source/unix/odesrc/OPCODE/ |
H A D | OPC_Common.h | 94 …inline_ void TransformPoint(Point& dest, const Point& source, const Matrix3x3& rot, const Point& t… in TransformPoint() argument 96 dest.x = trans.x + source.x * rot.m[0][0] + source.y * rot.m[1][0] + source.z * rot.m[2][0]; in TransformPoint() 97 dest.y = trans.y + source.x * rot.m[0][1] + source.y * rot.m[1][1] + source.z * rot.m[2][1]; in TransformPoint() 98 dest.z = trans.z + source.x * rot.m[0][2] + source.y * rot.m[1][2] + source.z * rot.m[2][2]; in TransformPoint()
|
/dports/games/alienarena-data/alienarena-7.66/source/unix/odesrc/OPCODE/ |
H A D | OPC_Common.h | 94 …inline_ void TransformPoint(Point& dest, const Point& source, const Matrix3x3& rot, const Point& t… in TransformPoint() argument 96 dest.x = trans.x + source.x * rot.m[0][0] + source.y * rot.m[1][0] + source.z * rot.m[2][0]; in TransformPoint() 97 dest.y = trans.y + source.x * rot.m[0][1] + source.y * rot.m[1][1] + source.z * rot.m[2][1]; in TransformPoint() 98 dest.z = trans.z + source.x * rot.m[0][2] + source.y * rot.m[1][2] + source.z * rot.m[2][2]; in TransformPoint()
|
/dports/devel/ode/ode-0.13/OPCODE/ |
H A D | OPC_Common.h | 94 …inline_ void TransformPoint(Point& dest, const Point& source, const Matrix3x3& rot, const Point& t… in TransformPoint() argument 96 dest.x = trans.x + source.x * rot.m[0][0] + source.y * rot.m[1][0] + source.z * rot.m[2][0]; in TransformPoint() 97 dest.y = trans.y + source.x * rot.m[0][1] + source.y * rot.m[1][1] + source.z * rot.m[2][1]; in TransformPoint() 98 dest.z = trans.z + source.x * rot.m[0][2] + source.y * rot.m[1][2] + source.z * rot.m[2][2]; in TransformPoint()
|
/dports/cad/PrusaSlicer/PrusaSlicer-version_2.3.3/src/libslic3r/SLA/ |
H A D | Rotfinder.cpp | 150 Transform3d to_transform3d(const XYRotation &rot) in to_transform3d() argument 153 rt.rotate(Eigen::AngleAxisd(rot[1], Vec3d::UnitY())); in to_transform3d() 199 struct RotArea { XYRotation rot; double area; }; in get_chull_rotations() member 204 double xdiff = r1.rot[X] - r2.rot[X], ydiff = r1.rot[Y] - r2.rot[Y]; in get_chull_rotations() 219 RotArea ra = {rot, fc.area}; in get_chull_rotations() 223 if (it == inputs.end() || !eqcmp(it->rot, rot)) in get_chull_rotations() 249 XYRotation rot; in find_best_rotation() local 281 Transform3d tr = to_transform3d(rot); in find_best_rotation() 300 [&mesh, &statusfn] (const XYRotation &rot) in find_best_rotation() 307 rot = result.optimum; in find_best_rotation() [all …]
|
/dports/astro/gpstk/GPSTk-8.0.0/core/lib/Math/ |
H A D | Triple.cpp | 255 Triple rot; in R1() local 256 rot[0] = (*this)[0]; in R1() 257 rot[1] = cosangle*(*this)[1] + sinangle*(*this)[2]; in R1() 259 return rot; in R1() 273 Triple rot; in R2() local 274 rot[0] = cosangle*(*this)[0] - sinangle*(*this)[2]; in R2() 275 rot[1] = (*this)[1]; in R2() 277 return rot; in R2() 291 Triple rot; in R3() local 294 rot[2] = (*this)[2]; in R3() [all …]
|
/dports/astro/geographiclib/GeographicLib-1.52/dotnet/Projections/ |
H A D | LocalCartesianPanel.cs | 91 double[,] rot = null; in OnConvert() 113 m_textBox00.Text = rot[0, 0].ToString("#.000000000000"); in OnConvert() 114 m_textBox01.Text = rot[0, 1].ToString("#.000000000000"); in OnConvert() 115 m_textBox02.Text = rot[0, 2].ToString("#.000000000000"); in OnConvert() 116 m_textBox10.Text = rot[1, 0].ToString("#.000000000000"); in OnConvert() 117 m_textBox11.Text = rot[1, 1].ToString("#.000000000000"); in OnConvert() 118 m_textBox12.Text = rot[1, 2].ToString("#.000000000000"); in OnConvert() 119 m_textBox20.Text = rot[2, 0].ToString("#.000000000000"); in OnConvert() 120 m_textBox21.Text = rot[2, 1].ToString("#.000000000000"); in OnConvert() 154 double[,] rot; in OnValidate() [all …]
|
/dports/graphics/inkscape/inkscape-1.1_2021-05-24_c4e8f9ed74/src/3rdparty/2geom/src/toys/ |
H A D | elliptiarc-3point-center-fitting.cpp | 95 double rot = std::atan2( -B, -(A - C) )/2; in make_elliptical_arc() local 98 if ( are_near(rot, 0) ) rot = 0; in make_elliptical_arc() 99 if ( are_near(rot, M_PI/2) || rot < 0 ) in make_elliptical_arc() 105 double cosrot = std::cos(rot); in make_elliptical_arc() 106 double sinrot = std::sin(rot); in make_elliptical_arc() 133 if ( are_near(rot, M_PI/2) in make_elliptical_arc() 134 || are_near(rot, -M_PI/2) in make_elliptical_arc() 137 rot = 0; in make_elliptical_arc() 139 else if ( rot < 0 ) in make_elliptical_arc() 141 rot += M_PI/2; in make_elliptical_arc() [all …]
|
/dports/math/lib2geom/lib2geom-1.1/src/toys/ |
H A D | elliptiarc-3point-center-fitting.cpp | 95 double rot = std::atan2( -B, -(A - C) )/2; in make_elliptical_arc() local 98 if ( are_near(rot, 0) ) rot = 0; in make_elliptical_arc() 99 if ( are_near(rot, M_PI/2) || rot < 0 ) in make_elliptical_arc() 105 double cosrot = std::cos(rot); in make_elliptical_arc() 106 double sinrot = std::sin(rot); in make_elliptical_arc() 133 if ( are_near(rot, M_PI/2) in make_elliptical_arc() 134 || are_near(rot, -M_PI/2) in make_elliptical_arc() 137 rot = 0; in make_elliptical_arc() 139 else if ( rot < 0 ) in make_elliptical_arc() 141 rot += M_PI/2; in make_elliptical_arc() [all …]
|
/dports/devel/rkcommon/rkcommon-1.8.0/rkcommon/utility/detail/ |
H A D | pcg_extras.hpp | 291 inline itype rotl(itype value, bitcount_t rot) in rotl() argument 296 return rot ? (value << rot) | (value >> (bits - rot)) : value; in rotl() 298 return (value << rot) | (value >> ((- rot) & mask)); in rotl() 303 inline itype rotr(itype value, bitcount_t rot) in rotr() argument 308 return rot ? (value >> rot) | (value << (bits - rot)) : value; in rotr() 310 return (value >> rot) | (value << ((- rot) & mask)); in rotr() 323 inline uint8_t rotr(uint8_t value, bitcount_t rot) in rotr() argument 356 return _rotr8(value, rot); in rotr() 361 return _rotr16(value, rot); in rotr() 366 return _rotr(value, rot); in rotr() [all …]
|