Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Age grading for race results (running) based on tables provided by WMA

License

NotificationsYou must be signed in to change notification settings

Runalyze/age-grade

Repository files navigation

Latest Stable VersionBuild StatusCode CoverageScrutinizer Code QualityMIT License

Library to provide age grading for race results (running) based on tables provided byAlan Jones using standards byWMA (World Masters Athletics) andUSATF (USA Track and Field).

Usage

useRunalyze\AgeGrade\Lookup;useRunalyze\AgeGrade\Table\MaleTable;$Lookup =newLookup(newMaleTable(),54);echo$Lookup->getAgeGrade(10.0,42 *60 +25);// output: 0.7329

Internally,getAgeGrade() returns anAgeGrade object that will return the rounded age grade value when transformed to a string.You can fetch more details by respective methods:

$Lookup =newLookup(newMaleTable(),54);$AgeGrade =$Lookup->getAgeGrade(10.0,42 *60 +25);$AgeGrade->getPerformance();// returns 0.7329$AgeGrade->getAgeStandard();// returns 1865$AgeGrade->getOpenStandard();// returns 1603$AgeGrade->getAgeFactor();// returns 0.8594

License

About

Age grading for race results (running) based on tables provided by WMA

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages


[8]ページ先頭

©2009-2025 Movatter.jp