# Chapter 6. Numbers and Math

 IntroductionRecipe 6.1.  Using Compact Operator NotationRecipe 6.2.  Choosing Integers of the Right Size and Type for the JobRecipe 6.3.  Using Unsigned IntegersRecipe 6.4.  Swapping Two Integers Without Using a ThirdRecipe 6.5.  Using Single- and Double-Precision VariablesRecipe 6.6.  Using Decimal Variables for Maximum PrecisionRecipe 6.7.  Converting Between Number TypesRecipe 6.8.  Rounding Numbers AccuratelyRecipe 6.9.  Declaring Loop Counters Within LoopsRecipe 6.10.  Converting Between Radians and DegreesRecipe 6.11.  Limiting Angles to a RangeRecipe 6.12.  Creating Double-Precision Point VariablesRecipe 6.13.  Converting Between Rectangular and Polar CoordinatesRecipe 6.14.  Creating Three-Dimensional VariablesRecipe 6.15.  Converting Between Rectangular, Spherical, and Cylindrical CoordinatesRecipe 6.16.  Working with Complex NumbersRecipe 6.17.  Solving Right TrianglesRecipe 6.18.  Solving Any TriangleRecipe 6.19.  Determining if a String Contains a Valid NumberRecipe 6.20.  Converting Numbers to IntegersRecipe 6.21.  Calculating π to Thousands of DigitsRecipe 6.22.  Getting a Number's Prime FactorsRecipe 6.23.  Using Recursion to Calculate FactorialsRecipe 6.24.  Manipulating Bits with Bitwise OperatorsRecipe 6.25.  Storing and Retrieving Bits in a BitArrayRecipe 6.26.  Enhancing the Random Number GeneratorRecipe 6.27.  Generating Random Integers in a RangeRecipe 6.28.  Generating Random Real Numbers in a RangeRecipe 6.29.  Generating Normal-Distribution Random NumbersRecipe 6.30.  Generating Exponential-Distribution Random NumbersRecipe 6.31.  Creating a MatrixRecipe 6.32.  Inverting a MatrixRecipe 6.33.  Calculating the Determinant of a MatrixRecipe 6.34.  Solving Simultaneous EquationsRecipe 6.35.  Listing of the MatrixHelper Class Visual Basic 2005 Cookbook: Solutions for VB 2005 Programmers (Cookbooks (OReilly))
ISBN: 0596101775
EAN: 2147483647
Year: 2006
Pages: 400