view release on metacpan or search on metacpan
gnumeric-test view on Meta::CPAN
$sheet = $workbook->sheet_new("Main Sheet");
$sheet->cell_set_value (0,0, [ GNOME::Gnumeric::VALUE_INTEGER, 1 ]);
$sheet->cell_set_value (1,0, [ GNOME::Gnumeric::VALUE_INTEGER, 1 ]);
$sheet->cell_set_text (0,1, "This is a test of text");
$sheet->cell_set_formula (2,0, "=A1+B1");
$workbook->recalc();
view all matches for this distribution
view release on metacpan or search on metacpan
lib/GO/AnnotationProvider/AnnotationParser.pm view on Meta::CPAN
particular aspect, and also to another node within that same
aspect. Can annotations be redundant? ie, if an entity is
annotated to a node, and an ancestor of the node, is that
annotation redundant? Does it depend on the evidence codes and
references. Or are such annotations reinforcing? These things
are useful to consider when formulating the confidence which can
be attributed to an annotation.
=cut
use strict;
view all matches for this distribution
view release on metacpan or search on metacpan
GOBO/Formula.pm view on Meta::CPAN
(Advanced OBO ontologies only)
Formulas have the roles GOBO::Attributed and GOBO::Identified. This
means they can have metadata attached. For example, who made the
formula and when.
=cut
1;
view all matches for this distribution
view release on metacpan or search on metacpan
lib/GPX/PlotElevation.pm view on Meta::CPAN
ylabel => 'Hoehe [m]',
output => undef,
fileformat => 'png',
width => 10,
height => 7,
formula => 'hsin',
_points => [],
_wp_points => [],
_total_dist => 0,
_gpx => undef,
_geodist => Geo::Distance->new(),
@_
};
bless($self, $class);
$self->{'_geodist'}->formula($self->{'formula'});
$self->_load_gpx();
$self->fileformat($self->{'fileformat'});
return($self);
}
view all matches for this distribution
view release on metacpan or search on metacpan
share/hex-describe-schroeder-table.txt view on Meta::CPAN
1,ransom note
1,deed
1,promissory note
1,legal contract
1,bearer bond
1,partial alchemical formula
1,rune rubbings
1,recipe
1,dungeon map
;paper mat
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Game/Life/Faster.pm view on Meta::CPAN
whose cells is considered "living" or "dead". The grid is seeded with an
initial population, and then the rules are iterated. In each iteration
cells change state based on their current state and how many of the 8
adjacent cells (orthogonally or diagonally) are "living".
In Conway's original formulation, the rules were that a "dead" cell
becomes alive if it has exactly two living neighbors, and a "living"
cell becomes "dead" unless it has two or three living neighbors.
This implementation was inspired by L<Game::Life|Game::Life>, and is
intended to be reasonably compatible with its API. But the internals
view all matches for this distribution
view release on metacpan or search on metacpan
$board = Game::Life::NDim::Board->new( dims => Game::Life::NDim::Dim->new([9, 9, 9]) );
$life = $board->get_life([5, 5, 5]);
is((scalar @{ $life->surround }), 26, "3D is surrounded by 26 cells");
# general formula surrounding cells = n^3 - 1
}
sub get_life {
diag 'get_life';
my $board = Game::Life::NDim::Board->new( dims => Game::Life::NDim::Dim->new([9,9]) );
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Game/WordBrain/WordList.pm view on Meta::CPAN
coffrets
coffs
cofighter
cofinal
coforeknown
coformulator
cofound
cofounded
cofounder
cofounding
cofoundress
lib/Game/WordBrain/WordList.pm view on Meta::CPAN
counterflory
counterflow
counterflux
counterfoil
counterforce
counterformula
counterfort
counterfugue
countergabble
countergabion
countergage
lib/Game/WordBrain/WordList.pm view on Meta::CPAN
formose
formosity
formous
formoxime
forms
formula
formula's
formulable
formulae
formulaic
formulaically
formular
formularies
formularisation
formularise
formularised
formulariser
formularising
formularism
formularist
formularistic
formularization
formularize
formularized
formularizer
formularizing
formulary
formulas
formulate
formulated
formulates
formulating
formulation
formulations
formulator
formulator's
formulators
formulatory
formule
formulisation
formulise
formulised
formuliser
lib/Game/WordBrain/WordList.pm view on Meta::CPAN
nonformidability
nonformidable
nonformidableness
nonformidably
nonforming
nonformulation
nonfortifiable
nonfortification
nonfortifying
nonfortuitous
nonfortuitously
lib/Game/WordBrain/WordList.pm view on Meta::CPAN
preforming
preformism
preformist
preformistic
preforms
preformulate
preformulated
preformulating
preformulation
prefortunate
prefortunately
prefortune
prefoundation
prefounder
lib/Game/WordBrain/WordList.pm view on Meta::CPAN
reformism
reformist
reformistic
reformproof
reforms
reformulate
reformulated
reformulates
reformulating
reformulation
reformulations
reforsake
refortification
refortified
refortifies
refortify
lib/Game/WordBrain/WordList.pm view on Meta::CPAN
unformatted
unformed
unformidable
unformidableness
unformidably
unformulable
unformularizable
unformularize
unformulated
unformulistic
unforsaken
unforsaking
unforseen
unforsook
view all matches for this distribution
view release on metacpan or search on metacpan
saves us the overhead of object creation/destruction!
* Implement "Objective", to track player objectives per level (some that
must be fullfilled, some that are optional, and some that should not
be fullfilled, as well as changing them from "must/can fullfill" to "no
longer necc."
* different interpolation formulas for state changes
* templates are hirachical, e.g. 'Physical::Food' needs to inherit
from 'Physical'. However, get_key(), validate() etc are not taking this into
account. Also, each template should store everything it inherited, to get
rid of the looking up of these values over and over again. (Construct
hirarchy tree after all templates have been loaded? That would avoid that
view all matches for this distribution
view release on metacpan or search on metacpan
doc/aibots.html view on Meta::CPAN
<h4><span lang=EN-US>Change Background (<!--[if gte vml 1]><v:shapetype id="_x0000_t75"
coordsize="21600,21600" o:spt="75" o:preferrelative="t" path="m@4@5l@4@11@9@11@9@5xe"
filled="f" stroked="f">
<v:stroke joinstyle="miter"/>
<v:formulas>
<v:f eqn="if lineDrawn pixelLineWidth 0"/>
<v:f eqn="sum @0 1 0"/>
<v:f eqn="sum 0 0 @1"/>
<v:f eqn="prod @2 1 2"/>
<v:f eqn="prod @3 21600 pixelWidth"/>
doc/aibots.html view on Meta::CPAN
<v:f eqn="prod @6 1 2"/>
<v:f eqn="prod @7 21600 pixelWidth"/>
<v:f eqn="sum @8 21600 0"/>
<v:f eqn="prod @7 21600 pixelHeight"/>
<v:f eqn="sum @10 21600 0"/>
</v:formulas>
<v:path o:extrusionok="f" gradientshapeok="t" o:connecttype="rect"/>
<o:lock v:ext="edit" aspectratio="t"/>
</v:shapetype><v:shape id="_x0000_i1025" type="#_x0000_t75" style='width:13.5pt;
height:13.5pt'>
<v:imagedata src="./aibots.files/image001.gif" o:title="wall"/>
view all matches for this distribution
view release on metacpan or search on metacpan
data/games/pool/3_vs_1_King_Theory.phn view on Meta::CPAN
1... 21-14 2. 31-24 ( 2. 2-6 14-5 3. 6-1 5-23 4. 31-24 23-30 5. 24-27
30-21 6. 27-23 21-3 7. 1-24 3-7 ( 7... 3-21 { This moves gives 3
kings timing to set up Gonyaev's "new special arrangement. } 8. 24-31
21-30 9. 31-26 30-21 10. 26-30 21-10 11. 22-15 10x26 { Black wins
using "sliding jump" which counts as one move } ) 8. 24-19 { Forces
lone king off line 3-21 and allows the 3 kings to formulate "Petrov's
Triangle." } 7-2 9. 19-10 { This move creates the tail of the
"triangle." } 2-13 10. 10-17 13-6 11. 23-9 6x13 12. 22-31 13x22 {
Black wins } ) 2... 14-32 3. 24-28 32-23 4. 2-6 23-14 5. 28-32 ( {
Charlie "The Great Charlie" Brown provided this analysis and claims
that his version of the 3 piece theory refutes that of Black's. }
view all matches for this distribution
view release on metacpan or search on metacpan
doc/Rules.pod view on Meta::CPAN
=head2 Global Considerations
Chess is an idealization of a battle. Each of the pieces has distinct capabilities that
must be accounted for in formulating strategies and tactics. When examining a board position
and selecting a move, it is important to pay attention to the guards and threats present before
and resulting from the move. A piece guards a square if the piece could capture an enemy piece
on that square on the next ply, not accounting for the fact that the enemy piece may not be able
to actually execute the capture due to constraints on its own king's disposition.
view all matches for this distribution
view release on metacpan or search on metacpan
t/patterns.txt view on Meta::CPAN
1|2|3|4|1|6|7|8|9|10:abreaction|acquainted|alphabetic|animatedly|archangels|belaboring|buckboards|crunchiest|excretions|implicants|implicated|implicates|imprisoned|inevitably|orthopedic|promptings|recordings|rephrasing|shoestring|temptingly|trustingl...
1|2|3|4|1|6|7|8|9|10|1:enumerative|
1|2|3|4|1|6|7|8|9|10|11:abreactions|alphabetics|browbeating|dreadnought|prospecting|rewardingly|unequivocal|untouchable|
1|2|3|4|1|6|7|8|9|10|11|10|13:unequivocally|
1|2|3|4|1|6|7|8|9|10|11|12:alphanumeric|untouchables|
1|2|3|4|1|6|7|8|9|10|11|12|13:reformulating|
1|2|3|4|1|6|7|8|9|10|11|4:nomenclature|
1|2|3|4|1|6|7|8|9|10|11|4|13:reformulation|
1|2|3|4|1|6|7|8|9|10|1|2:alphabetical|
1|2|3|4|1|6|7|8|9|10|1|2|2|14:alphabetically|
1|2|3|4|1|6|7|8|9|10|2:enumeration|reformulate|
1|2|3|4|1|6|7|8|9|10|2|12:reformulated|reformulates|
1|2|3|4|1|6|7|8|9|10|5:prospective|
1|2|3|4|1|6|7|8|9|10|5|12|13:prospectively|
1|2|3|4|1|6|7|8|9|10|5|4:prospectives|
1|2|3|4|1|6|7|8|9|10|6:alphabetize|
1|2|3|4|1|6|7|8|9|10|6|12:alphabetized|alphabetizes|
t/patterns.txt view on Meta::CPAN
1|2|3|4|5|6|6|8|9|7|11|12:unclassified|
1|2|3|4|5|6|6|8|9|7|2|12:reclassified|
1|2|3|4|5|6|6|8|9|7|2|6:reclassifies|
1|2|3|4|5|6|6|8|9|7|3|5|13|7|15|16:reclassification|
1|2|3|4|5|6|6|8|9|8|11|9|1:subcommittees|
1|2|3|4|5|6|7:Abelian|Abelson|Abidjan|Actaeon|Adamson|Afghans|African|Alberta|Alberto|Alcmena|Aldrich|Alfredo|Algenib|Algeria|Algiers|Almaden|Alvarez|Amadeus|Amazons|America|Amharic|Amherst|Anaheim|Anatole|Andover|Andrews|Anselmo|Antaeus|Antares|Anti...
1|2|3|4|5|6|7|1:absentia|anorexia|antisera|asphyxia|carbolic|carbonic|cosmetic|disabled|disarmed|dismayed|disowned|disputed|divorced|divulged|dockyard|drumhead|earphone|educable|emigrate|envisage|epilogue|equalize|exchange|exposure|gambling|gleaming|...
1|2|3|4|5|6|7|1|1:saltiness|shadiness|shakiness|sharpness|shortness|slackness|smartness|solidness|stainless|sulkiness|surliness|swiftness|
1|2|3|4|5|6|7|1|1|10|11:transmitted|
1|2|3|4|5|6|7|1|1|10|2:transmitter|
1|2|3|4|5|6|7|1|1|10|2|5:transmitters|
t/patterns.txt view on Meta::CPAN
1|2|3|4|5|6|7|7|9|6|3:congressmen|
1|2|3|4|5|6|7|7|9|6|7|7:harmlessness|ruthlessness|
1|2|3|4|5|6|7|7|9|7|11:volunteered|
1|2|3|4|5|6|7|7|9|7|11|12:disagreement|
1|2|3|4|5|6|7|7|9|7|11|12|3:disagreements|
1|2|3|4|5|6|7|8:Abramson|Ackerman|Adlerian|Adolphus|Africans|Agricola|Alberich|Albrecht|Albright|Aleutian|Algerian|Alphonse|American|Americas|Analects|Angelica|Arequipa|Argonaut|Asilomar|Atchison|Auckland|Auerbach|Austrian|Bancroft|Bayreuth|Beaumont|...
1|2|3|4|5|6|7|8|1:cryogenic|diagnosed|disgraced|displaced|displayed|disproved|disrupted|disturbed|dominated|dynamited|elucidate|emphasize|enclosure|encourage|endurable|enjoyable|equitable|espionage|excitable|exclusive|excusable|expansive|explosive|ex...
1|2|3|4|5|6|7|8|1|1:slightness|storminess|sturdiness|
1|2|3|4|5|6|7|8|1|10:asteroidal|compliance|conspiracy|elucidates|emphasized|encouraged|encourages|gatherings|networking|octahedron|overshadow|regulators|regulatory|ungrateful|unmerciful|
1|2|3|4|5|6|7|8|1|10|11:archipelago|incredulity|informality|informative|obfuscatory|
1|2|3|4|5|6|7|8|1|10|11|12:incompatible|incompatibly|
t/patterns.txt view on Meta::CPAN
1|2|3|4|5|6|7|8|2|1|3|8|5:antiresonator|
1|2|3|4|5|6|7|8|2|1|6:reconsiders|
1|2|3|4|5|6|7|8|2|1|7|5|13:reconsidering|
1|2|3|4|5|6|7|8|2|2|11:plentifully|
1|2|3|4|5|6|7|8|2|2|4|12:interchannel|
1|2|3|4|5|6|7|8|2|3:Aerobacter|Hanoverian|Tsunematsu|besmirches|congestion|conversion|convulsion|designates|formulator|intolerant|particular|understand|
1|2|3|4|5|6|7|8|2|3|11:formulators|matriculate|particulars|unexplained|
1|2|3|4|5|6|7|8|2|3|11|2|13:understanding|
1|2|3|4|5|6|7|8|2|3|11|2|13|14|15:understandingly|
1|2|3|4|5|6|7|8|2|3|11|2|13|6:understandings|
1|2|3|4|5|6|7|8|2|3|3:restfulness|
1|2|3|4|5|6|7|8|2|3|4|3:thermosphere|
t/patterns.txt view on Meta::CPAN
1|2|3|4|5|6|7|8|8|6|11:doubtlessly|faithlessly|fruitlessly|thanklessly|
1|2|3|4|5|6|7|8|8|7:marionette|silhouette|
1|2|3|4|5|6|7|8|8|7|1:silhouettes|
1|2|3|4|5|6|7|8|8|7|11:silhouetted|
1|2|3|4|5|6|7|8|8|7|11|12:earsplitting|
1|2|3|4|5|6|7|8|9:Abernathy|Alpheratz|Americans|Apetalous|Aphrodite|Archibald|Ashmolean|Auschwitz|Baltimore|Berkowitz|Bialystok|Blackburn|Blomquist|Bolshevik|Bromfield|Brunhilde|Brunswick|Bucharest|Bundestag|Byronizes|Byzantium|Cambridge|Catholics|Ca...
1|2|3|4|5|6|7|8|9|1:discharged|discounted|dislocated|dismounted|dispatched|downplayed|duplicated|exhaustive|expansible|metabolism|monetarism|sandwiches|scoundrels|searchings|shipwrecks|signatures|simulators|slanderous|slaughters|spreadings|subdomains...
1|2|3|4|5|6|7|8|9|10:Andromache|Babylonize|Blackstone|Bridgetown|Buchenwald|Burlingame|Candlewick|Charleston|Copernicus|Culbertson|Cumberland|Ektachrome|Fauntleroy|Fitzgerald|Fleischman|Fulbrights|Gatlinburg|Gilbertson|Heraclitus|Hieronymus|Kenilwort...
1|2|3|4|5|6|7|8|9|10|1:discouraged|disgruntled|speculators|subnetworks|subtrahends|sympathizes|thunderbolt|
1|2|3|4|5|6|7|8|9|10|10:harmfulness|typicalness|uprightness|
1|2|3|4|5|6|7|8|9|10|10|12:Jacksonville|Raymondville|domestically|impersonally|methodically|
1|2|3|4|5|6|7|8|9|10|10|2:hysterically|
1|2|3|4|5|6|7|8|9|10|10|6:Squaresville|
1|2|3|4|5|6|7|8|9|10|11:Babylonizes|Christendom|Rickenbaugh|Switzerland|abolishment|atmospheric|backgrounds|birthplaces|blameworthy|blaspheming|breakpoints|centrifugal|compatibles|complainers|comradeship|consumptive|copyrighted|countryside|countrywid...
1|2|3|4|5|6|7|8|9|10|11|1:speculations|subintervals|subordinates|switchboards|sympathizers|
1|2|3|4|5|6|7|8|9|10|11|10|13|14:discouragement|
1|2|3|4|5|6|7|8|9|10|11|11:multiprocess|rightfulness|watchfulness|
1|2|3|4|5|6|7|8|9|10|11|11|13:disgracefully|
1|2|3|4|5|6|7|8|9|10|11|11|5|14|15:multiprocessing|
t/patterns.txt view on Meta::CPAN
1|2|3|4|5|6|7|8|9|1|2|1:reconfigurer|
1|2|3|4|5|6|7|8|9|1|2|12:reconfigured|reconfigures|
1|2|3|4|5|6|7|8|9|1|7|5|8:reconfiguring|
1|2|3|4|5|6|7|8|9|2:Blumenthal|Devonshire|Englishman|Englishmen|Stuyvesant|Transputer|admonished|bricklayer|centigrade|centralize|centrifuge|decorative|demoralize|despicable|encryption|jeopardize|lengthwise|mensurable|mercantile|negotiable|neutralize...
1|2|3|4|5|6|7|8|9|2|1:demoralized|secondaries|
1|2|3|4|5|6|7|8|9|2|11:Baltimorean|bricklayers|centralized|centralizes|counterflow|demoralizes|encryptions|formulation|jeopardizes|nearsighted|neutralized|proclaimers|undertaking|
1|2|3|4|5|6|7|8|9|2|11|10:verticalness|
1|2|3|4|5|6|7|8|9|2|11|10|7|14:Nebuchadnezzar|
1|2|3|4|5|6|7|8|9|2|11|12:Liverpudlian|compensatory|formulations|undertakings|
1|2|3|4|5|6|7|8|9|2|11|12|13:boardinghouse|
1|2|3|4|5|6|7|8|9|2|11|12|13|11:boardinghouses|
1|2|3|4|5|6|7|8|9|2|11|9:discouraging|
1|2|3|4|5|6|7|8|9|2|1|4:southernmost|
1|2|3|4|5|6|7|8|9|2|2|12:Southernwood|
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Games/Dice/Probability.pm view on Meta::CPAN
When the object is created, the full distribution is calculated using as many
shortcuts and optimizations as possible. These include reducing logic based on
certain values of n, only calculating half of any standard distribution, and
using an identity to create the other "mirrored" half of the distribution.
Also, large-number math is reduced by using formulae that reduce the
calculations to much smaller numbers, including the very efficient binomial
coefficient method in Math::Symbolic::AuxFunctions. Lastly, each node's
distribution calculation and multi-node combined distribution calculation can
be Memoized, negating nearly all compute cycles for future identical
calculations. All of these combined create a very sleek and fast method of
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Games/Dice/Roll20/Spec.pod view on Meta::CPAN
=head2 Order of Operations
While the Roll20 dice engine does support basic math and functions such as
floor() and ceil(), it is first and foremost a dice engine, and so it has its
own order of operations. This means that putting parentheses inside of your
dice formula will not always affect the outcome of the roll (for example, you
can't force a variable to be interpreted before a macro). Here is the general
order of operations:
The roll is executed: first, dice are rolled for any dice (e.g. "2d6" is
rolled; including any special dice such as dropped or exploding), then the
result of that roll is substituted into the formula. Next, floor() and ceil()
functions are executed. Finally, the entire remaining formula is evaluated,
including observing proper math order of operations (parentheses first, then
multiplication/division, then addition/subtraction).
=head2 Types Of Dice
lib/Games/Dice/Roll20/Spec.pod view on Meta::CPAN
=back
=head1 Rounding Rolls and Math Functions
You may want to use rounding in your roll formulas to emulate mechanics such as
"half a level, rounded down to the nearest level." Roll20 provides several
functions to accomplish this:
=over 4
lib/Games/Dice/Roll20/Spec.pod view on Meta::CPAN
I<abs()> will calculate the absolute value of the roll
=back
You can use these functions almost anywhere in your roll formulas (around a
single math expression, groups of math expressions, or even the entire roll).
=head2 Grouped Rolls
B<This section is not yet implemented>
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Games/Ratings/Chess/FIDE.pm view on Meta::CPAN
Handbook B.02.10: http://www.fide.com/info/handbook?id=75&view=article).
FIDE uses a table with scoring probabilities in dependence from rating
differences between the players.
FIDE does _not_ use the formula P = 1/(1 + 10 ^ [D/400]).
Furthermore FIDE uses a development coefficient (K) depending on the current
rating and the number of rated games.
* K = 25 for a player with a total of less than 30 games.
* K = 15 as long as a player`s rating remains under 2400.
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Games/Roshambo/Thrownames.pm view on Meta::CPAN
},
'90' => {
'33' => 'confuses',
'32' => 'confuses',
'21' => 'whiz sharper than',
'7' => 'formulates',
'26' => 'calculates',
'17' => 'bores',
'2' => 'predicts',
'1' => 'measures',
'99' => 'class denies',
lib/Games/Roshambo/Thrownames.pm view on Meta::CPAN
'96' => 'brain',
'6' => 'test inspires',
'39' => 'word problem w/',
'36' => 'confuses',
'3' => 'test like',
'97' => 'formulates',
'94' => 'calculates',
'9' => 'measures',
'12' => 'measures',
'15' => 'measures',
'38' => 'after',
'8' => 'whiz sharp as',
'4' => 'is the',
'98' => 'formulates',
'34' => 'confuses',
'37' => 'confuses',
'101' => 'navigates',
'19' => 'mental',
'5' => 'uses number'
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Games/Word/Wordlist/Enable.pm view on Meta::CPAN
formalwear formamide formamides formant formants format formate formates
formation formations formative formatively formatives formats formatted
formatter formatters formatting forme formed formee former formerly formers
formes formfitting formful formic formicaries formicary formidabilities
formidability formidable formidableness formidablenesses formidably forming
formless formlessly formlessness formlessnesses formol formols forms formula
formulae formulaic formulaically formularies formularization formularizations
formularize formularized formularizer formularizers formularizes formularizing
formulary formulas formulate formulated formulates formulating formulation
formulations formulator formulators formulize formulized formulizes
formulizing formwork formworks formyl formyls fornical fornicate fornicated
fornicates fornicating fornication fornications fornicator fornicators
fornices fornix forrader forrarder forrit forsake forsaken forsaker forsakers
forsakes forsaking forsook forsooth forspent forswear forswearing forswears
forswore forsworn forsythia forsythias fort fortalice fortalices forte
lib/Games/Word/Wordlist/Enable.pm view on Meta::CPAN
prefilled prefinance prefinanced prefinances prefinancing prefire prefired
prefires prefiring prefix prefixal prefixed prefixes prefixing preflame
preflight prefocus prefocused prefocuses prefocusing prefocussed prefocusses
prefocussing preform preformat preformation preformationist preformationists
preformations preformats preformatted preformatting preformed preforming
preforms preformulate preformulated preformulates preformulating prefrank
prefranked prefranking prefranks prefreeze prefreezes prefreezing prefreshman
prefreshmen prefrontal prefrontals prefroze prefrozen pregame preganglionic
pregenital preggers pregnabilities pregnability pregnable pregnancies
pregnancy pregnant pregnantly pregnenolone pregnenolones preharvest
preharvests preheadache prehearing prehearings preheat preheated preheater
lib/Games/Word/Wordlist/Enable.pm view on Meta::CPAN
refocussing refold refolded refolding refolds reforest reforestation
reforestations reforested reforesting reforests reforge reforged reforges
reforging reform reformabilities reformability reformable reformat reformate
reformates reformation reformational reformations reformative reformatories
reformatory reformats reformatted reformatting reformed reformer reformers
reforming reformism reformisms reformist reformists reforms reformulate
reformulated reformulates reformulating reformulation reformulations
refortification refortifications refortified refortifies refortify
refortifying refought refound refoundation refoundations refounded refounding
refounds refract refracted refractile refracting refraction refractions
refractive refractively refractiveness refractivenesses refractivities
refractivity refractometer refractometers refractometric refractometries
lib/Games/Word/Wordlist/Enable.pm view on Meta::CPAN
unflatteringly unfledged unflexed unflinching unflinchingly unflyable
unfocused unfocussed unfoiled unfold unfolded unfolder unfolders unfolding
unfoldment unfoldments unfolds unfond unforced unforeseeable unforeseen
unforested unforged unforgettable unforgettably unforgivable unforgiven
unforgiving unforgivingness unforgivingnesses unforgot unforked unformed
unformulated unforthcoming unfortified unfortunate unfortunately unfortunates
unfossiliferous unfought unfound unfounded unframed unfree unfreed unfreedom
unfreedoms unfreeing unfrees unfreeze unfreezes unfreezing unfrequented
unfriended unfriendlier unfriendliest unfriendliness unfriendlinesses
unfriendly unfrivolous unfrock unfrocked unfrocking unfrocks unfroze unfrozen
unfruitful unfruitfully unfruitfulness unfruitfulnesses unfulfillable
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Gantry/Docs/Cookbook.pod view on Meta::CPAN
If you need to tell your client the UTC time of your response in valid
SOAP time format, call C<soap_current_time>, as I did on line 3.
Since my server's SOAP requests are simple, I can call C<params>
on line 5, just as I would to handle form parameters. The input
parameter is in the C<farenheit> key (line 6). A grade school formula
does the conversion on line 8.
Lines 9-16 build the structure of the return packet. The top level
tag is C<GantrySoapServiceResponse>. Inside it will be a list of tags
(order often matters to DTDs), one for the time, the other for the
view all matches for this distribution
view release on metacpan or search on metacpan
Genetics/API/DB/Insert.pm view on Meta::CPAN
$sth->finish() ;
# Code data
if ( $svFormat eq "Code" ) {
$sth = $dbh->prepare( "insert into CodeDerivation
(codeDerivationID, studyVariableID, code,
description, formula)
values (?, ?, ?, ?, ?)" ) ;
if ($svCategory eq "StaticLiabilityClass") {
$sth1 = $dbh->prepare( "insert into StaticLCPenetrance
(cdID, pen11, pen12, pen22, malePen1, malePen2)
values (?, ?, ?, ?, ?, ?)" ) ;
Genetics/API/DB/Insert.pm view on Meta::CPAN
$asdID = $sth->{'mysql_insertid'} ;
$sth->finish() ;
# AffectionStatusElement fields
if ( defined($aseListPtr = $$asdPtr{AffStatElements}) ) {
$sth = $dbh->prepare( "insert into AffectionStatusElement
(asElementID, asDefID, code, type, formula)
values (?, ?, ?, ?, ?)" ) ;
foreach $asePtr (@$aseListPtr) {
$sth->execute(undef, $asdID, $$asePtr{code}, $$asePtr{type}, $$asePtr{formula}) ;
}
$sth->finish() ;
}
# LiabilityClass data
# NB: these are dynamic LCs; if the SV is of category StaticLiabilityClass,
Genetics/API/DB/Insert.pm view on Meta::CPAN
$sth->finish() ;
# LiabilityClass fields
$lcListPtr = $$lcDefPtr{LiabilityClasses} ;
$sth = $dbh->prepare( "insert into LiabilityClass
(lcID, lcDefID, code, description, pen11, pen12,
pen22, malePen1, malePen2, formula)
values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)" ) ;
foreach $lcPtr (@$lcListPtr) {
$sth->execute(undef, $lcdID, $$lcPtr{code}, $$lcPtr{description}, $$lcPtr{pen11}, $$lcPtr{pen12}, $$lcPtr{pen22}, $$lcPtr{malePen1}, $$lcPtr{malePen2}, $$lcPtr{formula}) ;
}
$sth->finish() ;
}
}
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Genome/Model/Tools/Music/ClinicalCorrelation.pm.R view on Meta::CPAN
# self-defined x.names have to be found in column names of y.file and/or x.file
#################### myglm fuction ##############
myglm=function(z,trait,variant,covar=NA,ytype) {
if (nchar(covar)==0 | is.na(covar) | is.null(covar)) {
model=formula(paste(trait,"~",variant))
} else {
model=formula(paste(trait,"~",variant,"+",covar))
}
if (ytype=="B") fit=glm(formula=model,data=z,family=binomial(link = "logit"))
if (ytype=="Q") fit=glm(formula=model,data=z,family=gaussian(link = "identity"))
fit
}
#################################################
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Geo/Calc/XS.pm view on Meta::CPAN
=head1 DESCRIPTION
B<Geo::Calc::XS> implements a variety of calculations for latitude/longitude points
All these formulas are for calculations on the basis of a spherical earth
(ignoring ellipsoidal effects), which is accurate enough for most purposes.
[ In fact, the earth is very slightly ellipsoidal; using a spherical model
gives errors typically up to 0.3% ].
lib/Geo/Calc/XS.pm view on Meta::CPAN
$gc->distance_to( $point[, $precision] )
$gc->distance_to( { lat => 40.422371, lon => -3.704298 } )
$gc->distance_to( Geo::Calc::XS->new( lat => 40.422371, lon => -3.704298 ) )
This uses the "haversine" formula to calculate great-circle distances between
the two points - that is, the shortest distance over the earth's surface -
giving an `as-the-crow-flies` distance between the points (ignoring any hills!)
The haversine formula `remains particularly well-conditioned for numerical
computation even at small distances` - unlike calculations based on the spherical
law of cosines. It was published by R W Sinnott in Sky and Telescope, 1984,
though known about for much longer by navigators. (For the curious, c is the
angular distance in radians, and a is the square of half the chord length between
the points).
lib/Geo/Calc/XS.pm view on Meta::CPAN
(orthodrome); the final heading will differ from the initial heading by varying
degrees according to distance and latitude (if you were to go from say 35N,45E
(Baghdad) to 35N,135E (Osaka), you would start on a heading of 60 and end up on
a heading of 120!).
This formula is for the initial bearing (sometimes referred to as forward
azimuth) which if followed in a straight line along a great-circle arc will take
you from the start point to the end point
Returns the (initial) bearing from this point to the supplied point, in degrees
with the specified pricision
lib/Geo/Calc/XS.pm view on Meta::CPAN
$gc->destination_point( $bearing, $distance[, $precision] );
$gc->destination_point( 90, 1 );
Returns the destination point and the final bearing using Vincenty inverse
formula for ellipsoids.
C<$bearing> must be specified in degrees, where 0 is north and 90 is east, and
C<$distance> must be specified in this object's distance unit.
=cut
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Geo/Calc.pm view on Meta::CPAN
=head1 DESCRIPTION
C<Geo::Calc> implements a variety of calculations for latitude/longitude points
All these formulare are for calculations on the basis of a spherical earth
(ignoring ellipsoidal effects) which is accurate enough* for most purposes.
[ In fact, the earth is very slightly ellipsoidal; using a spherical model
gives errors typically up to 0.3% ].
lib/Geo/Calc.pm view on Meta::CPAN
=head2 distance_to
$gc->distance_to( $point[, $precision] )
$gc->distance_to( { lat => 40.422371, lon => -3.704298 } )
This uses the "haversine" formula to calculate great-circle distances between
the two points - that is, the shortest distance over the earth's surface -
giving an `as-the-crow-flies` distance between the points (ignoring any hills!)
The haversine formula `remains particularly well-conditioned for numerical
computation even at small distances` - unlike calculations based on the spherical
law of cosines. It was published by R W Sinnott in Sky and Telescope, 1984,
though known about for much longer by navigators. (For the curious, c is the
angular distance in radians, and a is the square of half the chord length between
the points).
lib/Geo/Calc.pm view on Meta::CPAN
(orthodrome); the final heading will differ from the initial heading by varying
degrees according to distance and latitude (if you were to go from say 35N,45E
(Baghdad) to 35N,135E (Osaka), you would start on a heading of 60 and end up on
a heading of 120!).
This formula is for the initial bearing (sometimes referred to as forward
azimuth) which if followed in a straight line along a great-circle arc will take
you from the start point to the end point
Returns the (initial) bearing from this point to the supplied point, in degrees
with the specified pricision
lib/Geo/Calc.pm view on Meta::CPAN
$gc->destination_point( $bearing, $distance[, $precision] );
$gc->destination_point( 90, 1 );
Returns the destination point and the final bearing using Vincenty inverse
formula for ellipsoids.
=cut
method destination_point ( Num $brng!, Num $s!, Int $precision? = -6 ) returns (HashRef[Num]) {
my $lat1 = $self->get_lat();
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Geo/Coordinates/Converter/LV03.pm view on Meta::CPAN
#_}
#_{ Warning
=head1 WARNING
The document from which I derived the formulas (see LINKS) contains
this friendly warning; »I<Diese Formeln haben eine reduzierte Genauigkeit und sind
vor allem für Navigationszwecke vorgesehen. Sie dürfen nicht für die amtliche Vermessung oder für geodätische Anwendungen verwendet werden!>« (that is: only to be used for navigational purposes,
not of exact (or even official) measurements or geodatic applications).
=cut
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Geo/Coordinates/ETRSTM35FIN.pm view on Meta::CPAN
=head1 AUTHOR
Perl port and CPAN package Matti Lattu, <matti@lattu.biz>
The conversion formulae have been acquired from a Python module from Olli Lammi
L<http://olammi.iki.fi/sw/fetch_map/>.
=head1 ACKNOWLEDGEMENTS
The Perl realization follows closely Geo::Coordinates::KKJ by Josep Roca.
view all matches for this distribution
view release on metacpan or search on metacpan
double tan2;
double tan3;
double tan4;
double tan5;
double tan6;
double t1; /* Term in coordinate conversion formula - GP to Y */
double t2; /* Term in coordinate conversion formula - GP to Y */
double t3; /* Term in coordinate conversion formula - GP to Y */
double t4; /* Term in coordinate conversion formula - GP to Y */
double t5; /* Term in coordinate conversion formula - GP to Y */
double t6; /* Term in coordinate conversion formula - GP to Y */
double t7; /* Term in coordinate conversion formula - GP to Y */
double t8; /* Term in coordinate conversion formula - GP to Y */
double t9; /* Term in coordinate conversion formula - GP to Y */
double tmd; /* True Meridional distance */
double tmdo; /* True Meridional distance for latitude of origin */
long Error_Code = TRANMERC_NO_ERROR;
double temp_Origin;
double temp_Long;
double sn; /* Radius of curvature in the prime vertical */
double sr; /* Radius of curvature in the meridian */
double t; /* Tangent of latitude */
double tan2;
double tan4;
double t10; /* Term in coordinate conversion formula - GP to Y */
double t11; /* Term in coordinate conversion formula - GP to Y */
double t12; /* Term in coordinate conversion formula - GP to Y */
double t13; /* Term in coordinate conversion formula - GP to Y */
double t14; /* Term in coordinate conversion formula - GP to Y */
double t15; /* Term in coordinate conversion formula - GP to Y */
double t16; /* Term in coordinate conversion formula - GP to Y */
double t17; /* Term in coordinate conversion formula - GP to Y */
double tmd; /* True Meridional distance */
double tmdo; /* True Meridional distance for latitude of origin */
long Error_Code = TRANMERC_NO_ERROR;
if ((Easting < (TranMerc_False_Easting - TranMerc_Delta_Easting))
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Geo/Coordinates/OSGB.pm view on Meta::CPAN
=head1 NAME
Geo::Coordinates::OSGB - Convert coordinates between Lat/Lon and the British National Grid
An implementation of co-ordinate conversion for England, Wales, and Scotland
based on formulae and data published by the Ordnance Survey of Great Britain.
=head1 VERSION
2.20
lib/Geo/Coordinates/OSGB.pm view on Meta::CPAN
See the test files for more examples of usage.
=head1 BUGS AND LIMITATIONS
The formulae supplied by the OS and used for the conversion routines are
specifically designed to be close floating-point approximations rather
than exact mathematical equivalences. So after round-trips like these:
($lat1,$lon1) = grid_to_ll(ll_to_grid($lat0,$lon0));
($e1,$n1) = ll_to_grid(grid_to_ll($e0,$n0));
neither C<$lat1 == $lat0> nor C<$lon1 == $lon0> nor C<$e1 == $e0> nor
C<$n1 == $n0> exactly. However the differences should be very small.
The OS formulae were designed to give an accuracy of about 1 mm of
error. This means that you can rely on the third decimal place for grid
references and about the seventh or eighth for latitude and longitude
(although the OS themselves only provide six decimal places in their
results).
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Geo/Coordinates/RDNAP.pm view on Meta::CPAN
These transformations should only be used for locations in or close to
the Netherlands.
See http://www.rdnap.nl/ for a description of the RD-NAP system;
especially http://www.rdnap.nl/download/rdnaptrans.pdf for the formulas
used in this module.
=head2 Precision
This module implements an approximated transformation, which should be
view all matches for this distribution
view release on metacpan or search on metacpan
* B = -2[(Ex cos(arc to W) - Wx cos(arc to E))(ExWz-EzWx) -
* (Ey cos(arc to W) -Wy cos(arc to E))(EyWz-EzWy)];
* C = (Ex cos(arc to W) - Wx cos(arc to E))^2 +
* (Ey cos(arc to W) - Wy cos(arc to E))^2 -
* (ExWy - EyWx)^2.
* Solve with the quadratic formula. The latitude is simply the
* arc sine of Pz. Px and Py satisfy
* ExPx + EyPy + EzPz = cos(arc to E);
* WxPx + WyPy + WzPz = cos(arc to W).
* Substitute Pz's value, and solve linearly to get Px and Py.
* The longitude is the arc tangent of Px/Py.
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Geo/DNA.pm view on Meta::CPAN
my ( $ga, $gb ) = @_;
my ( $alat, $alon ) = decode( $ga );
my ( $blat, $blon ) = decode( $gb );
# if a[1] and b[1] have different signs, we need to translate
# everything a bit in order for the formulae to work.
if ( $alon * $blon < 0.0 && abs( $alon - $blon ) > 180.0 ) {
( $alat, $alon ) = add_vector( $ga, 0.0, 180.0 );
( $blat, $blon ) = add_vector( $gb, 0.0, 180.0 );
}
my $x = ( deg2rad( $blon ) - deg2rad( $alon ) ) * cos( ( deg2rad( $alat ) + deg2rad( $blat ) ) / 2 );
view all matches for this distribution