/dports/devel/py-qutip/qutip-4.6.2/qutip/tests/ |
H A D | test_scheduler.py | 39 from qutip import process_fidelity, qeye, tracedist 121 assert(tracedist(result0*result1.dag(), qeye(result0.dims[0])) < 1.0e-7) 154 assert(tracedist(result0*result1.dag(), qeye(result0.dims[0])) < 1.0e-7) 183 assert(tracedist(result0*result1.dag(), qeye(result0.dims[0])) < 1.0e-7) 213 assert(tracedist(result0*result1.dag(), qeye(result0.dims[0])) < 1.0e-7) 251 assert(tracedist(result0*result1.dag(), qeye(result0.dims[0])) < 1.0e-7)
|
H A D | test_metrics.py | 50 fidelity, tracedist, hellinger_dist, dnorm, average_gate_fidelity, 145 assert tracedist(state, state) == pytest.approx(0, abs=1e-6) 156 assert tracedist(left, right) == pytest.approx(1, abs=1e-6) 162 D = tracedist(rho1, rho2) 163 DU = tracedist(U*rho1*U.dag(), U*rho2*U.dag()) 265 assert 1 - fidelity(left, right) <= tracedist(left, right) + tol
|
/dports/games/dhewm3/dhewm3-1.5.1/neo/game/physics/ |
H A D | Physics_Player.cpp | 1125 float tracedist; in CheckLadder() local 1142 tracedist = 1.0f; in CheckLadder() 1144 tracedist = 48.0f; in CheckLadder() 1147 end = current.origin + tracedist * forward; in CheckLadder() 1160 end = start + tracedist * forward; in CheckLadder()
|
/dports/games/dhewm3/dhewm3-1.5.1/neo/d3xp/physics/ |
H A D | Physics_Player.cpp | 1125 float tracedist; in CheckLadder() local 1142 tracedist = 1.0f; in CheckLadder() 1144 tracedist = 48.0f; in CheckLadder() 1147 end = current.origin + tracedist * forward; in CheckLadder() 1160 end = start + tracedist * forward; in CheckLadder()
|
/dports/games/zdoom/zdoom-2.8.1/src/g_shared/ |
H A D | a_sharedglobal.h | 13 … sector_t *sec, fixed_t x, fixed_t y, fixed_t z, angle_t angle, fixed_t tracedist, bool permanent);
|
H A D | a_decals.cpp | 756 …, sector_t *sec, fixed_t x, fixed_t y, fixed_t z, angle_t angle, fixed_t tracedist, bool permanent) in ShootDecal() argument 771 tracedist, 0, 0, NULL, trace, TRACE_NoSky); in ShootDecal()
|
/dports/devel/py-qutip/qutip-4.6.2/qutip/ |
H A D | metrics.py | 158 def tracedist(A, B, sparse=False, tol=0): function
|
/dports/games/iortcw/iortcw-1.51c/SP/code/game/ |
H A D | bg_pmove.c | 3738 float tracedist; local 3750 tracedist = 1.0; 3752 tracedist = TRACE_LADDER_DIST; 3784 VectorMA( pm->ps->origin, tracedist, flatforward, spot ); 3809 if ( pml.ladder && !pml.walking && ( trace.fraction * tracedist > 1.0 ) ) { 3815 VectorMA( pm->ps->origin, -tracedist, laddervec, spot );
|
H A D | ai_cast_funcs.c | 101 float AICast_GetRandomViewAngle( cast_state_t *cs, float tracedist ) { in AICast_GetRandomViewAngle() argument 124 VectorMA( start, tracedist, dir, end ); in AICast_GetRandomViewAngle()
|
H A D | g_func_decs.h | 1375 extern float AICast_GetRandomViewAngle ( cast_state_t * cs , float tracedist ) ;
|
/dports/games/iortcw/iortcw-1.51c/MP/code/game/ |
H A D | bg_pmove.c | 3487 float tracedist; in PM_CheckLadderMove() local 3499 tracedist = 1.0; in PM_CheckLadderMove() 3501 tracedist = TRACE_LADDER_DIST; in PM_CheckLadderMove() 3533 VectorMA( pm->ps->origin, tracedist, flatforward, spot ); in PM_CheckLadderMove() 3558 if ( pml.ladder && !pml.walking && ( trace.fraction * tracedist > 1.0 ) ) { in PM_CheckLadderMove() 3564 VectorMA( pm->ps->origin, -tracedist, laddervec, spot ); in PM_CheckLadderMove()
|
H A D | ai_cast_funcs.c | 101 float AICast_GetRandomViewAngle( cast_state_t *cs, float tracedist ) { in AICast_GetRandomViewAngle() argument 124 VectorMA( start, tracedist, dir, end ); in AICast_GetRandomViewAngle()
|
/dports/games/barony/Barony-3.3.7/src/ |
H A D | actmonster.cpp | 7413 int tracedist = 0; in handleMonsterAttack() local 7416 tracedist = 1024; in handleMonsterAttack() 7420 tracedist = 160; in handleMonsterAttack() 7423 tracedist = getMonsterEffectiveDistanceOfRangedWeapon(myStats->weapon); in handleMonsterAttack() 7428 tracedist = STRIKERANGE; in handleMonsterAttack() 7439 lineTrace(this, this->x, this->y, newTangent, tracedist, 0, false); in handleMonsterAttack()
|