.
=head2 sys.std.Core.Numeric.remainder
C<< function remainder (Numeric <--
dividend@ : Numeric, divisor@ : Numeric, round_meth : RoundMeth) {...} >>
This virtual function results in the possibly-fractional remainder when its
C argument is divided by its C argument using the
semantics of real number division, and then the latter's result is rounded
to the same or nearest whole number. The semantics of this function
preserve the identity C (read C as
C and C as C) where the division has the same
semantics as C (rounding guided by
C); the sign of this function's result always matches the sign
of the dividend or the divisor if C is C (aka
I) or C (aka I), respectively. This function will
fail if C is zero. Note that this operation is also known as
I or C.
=head2 sys.std.Core.Numeric.quot_and_rem
C<< function quot_and_rem (Tuple <--
dividend@ : Numeric, divisor@ : Numeric, round_meth : RoundMeth) {...} >>
This virtual function results in a binary tuple whose attribute names are
C and C and whose respective attribute values are what
C and
C would result in when given the same
arguments. This function will fail if C is zero.
=head2 sys.std.Core.Numeric.range
C<< function range (Numeric <-- topic@ : set_of.Numeric) {...} >>
This virtual function results in the difference between the lowest and
highest element values of its argument. If C has zero values, then
this function will fail.
=head2 sys.std.Core.Numeric.frac_mean
C<< function frac_mean (Numeric <-- topic@ : bag_of.Numeric) {...} >>
This virtual function results in the possibly-fractional mean or arithmetic
average of the N element values of its argument. It is equivalent to first
taking the sum of the input values, and dividing that sum by the count of
the input values using the semantics of real number division. If C
has zero values, then this function will fail.
=head2 sys.std.Core.Numeric.median
C<< function median (set_of.Numeric <-- topic@ : bag_of.Numeric) {...} >>
This virtual function results in the 1 or 2 median values of the N element
values of its argument; they are returned as a set. It is equivalent to
first arranging the input values from least to greatest, and then taking
the single middle value, if the count of input values is odd, or taking the
2 middle values, if the count of input values is even (but if the 2 middle
values are the same value, the output has one element). If C has
zero values, then the result set is empty.
=head2 sys.std.Core.Numeric.frac_mean_of_median
C<< function frac_mean_of_median (Numeric <--
topic@ : bag_of.Numeric) {...} >>
This virtual function is a wrapper over C that
will result in the possibly-fractional mean of its result elements; it will
fail if there are zero elements.
=head2 sys.std.Core.Numeric.mode
C<< function mode (set_of.Numeric <-- topic@ : bag_of.Numeric) {...} >>
This virtual function results in the mode of the N element values of its
argument; it is the set of values that appear the most often as input
elements, and all have the same count of occurrances. As a trivial case,
if all input elements have the same count of occurrances, then they will
all be in the output. If C has zero values, then the result set is
empty.
=head2 sys.std.Core.Numeric.power_with_whole_exp
C<< function power_with_whole_exp (Numeric <--
radix@ : Numeric, exponent@ : Numeric) {...} >>
This virtual function results in a possibly-fractional number that is the
result of its possibly-fractional C argument taken to the power of
its whole-number C argument. Because this function constrains
its C argument to being a whole number, then when its C
argument is any real or rational number at all, this function is guaranteed
to have a naturally real and rational result, even when C is a
negative number. The only way that this operation could conceivably result
in a naturally complex or irrational number when its C is rational
is if its C is a fractional number. This function will result in
1 if C and C are both zero (rather than failing). Note
that this operation is also known as I or C<^>.
=head1 SEE ALSO
Go to L for the majority of distribution-internal
references, and L for the majority of
distribution-external references.
=head1 AUTHOR
Darren Duncan (C)
=head1 LICENSE AND COPYRIGHT
This file is part of the formal specification of the Muldis D language.
Muldis D is Copyright © 2002-2011, Muldis Data Systems, Inc.
See the LICENSE AND COPYRIGHT of L for details.
=head1 TRADEMARK POLICY
The TRADEMARK POLICY in L applies to this file too.
=head1 ACKNOWLEDGEMENTS
The ACKNOWLEDGEMENTS in L apply to this file too.
=cut