Combines separate values for year, month, and day and returns a date/time value.
Input macOS high sierra or macOS mojave in the Name field, select Mac OS X in Type drop down list, select Mac OS X (64-bit) in Version drop down list, then click Next button. Set the virtual machine’s memory size in the next wizard window, you had better set half memory size of.
Returns the number of days, months, or years between two dates.
Converts a date text string and returns a date/time value. This function is provided for compatibility with other spreadsheet programs.
Returns the day of the month for a given date/time value.
Returns the name of the day of the week from a date/time value or a number. Day 1 is Sunday.
Returns the number of days between two dates based on twelve 30‑day months and a 360‑day year.
Returns a date that is some number of months before or after a given date.
Returns a date that is the last day of the month some number of months before or after a given date.
Returns the hour for a given date/time value.
Returns the minutes for a given date/time value.
Returns the month for a given date/time value.
Returns the name of the month from a number. Month 1 is January.
Returns the number of working days between two dates. Working days exclude weekends and any other specified dates.
Returns the current date/time value from the system clock.
Returns the seconds for a given date/time value.
Converts separate values for hours, minutes, and seconds into a date/time value.
Returns the time as a decimal fraction of a 24‑hour day from a given date/time value or from a text string.
Returns the current system date. The time is set to 12:00 a.m.
Returns a number that is the day of the week for a given date.
Returns the number of the week within the year for a given date.
Returns the date that is the given number of working days before or after a given date. Working days exclude weekends and any other dates specifically excluded.
Returns the year for a given date/time value.
Finds the fraction of a year represented by the number of whole days between two dates.
Converts a duration value to a number of days.
Converts a duration value to a number of hours.
Converts a duration value to a number of milliseconds.
Converts a duration value to a number of minutes.
Converts a duration value to a number of seconds.
Converts a duration value to a number of weeks.
Combines separate values for weeks, days, hours, minutes, seconds, and milliseconds and returns a duration value.
Evaluates a given value and returns either the number of days represented, if a duration value; or the given value. This function is included for compatibility with other spreadsheet applications.
Converts a number of the specified base into a number in base 10.
Returns the integer Bessel function Jn(x).
Returns the integer Bessel function Yn(x).
Converts a binary number to the corresponding decimal number.
Converts a binary number to the corresponding hexadecimal number.
Converts a binary number to the corresponding octal number.
Converts a number from one measurement system to its corresponding value in another measurement system.
Converts a decimal number to the corresponding binary number.
Converts a decimal number to the corresponding hexadecimal number.
Converts a decimal number to the corresponding octal number.
Determines whether two values are exactly equal.
Returns the error function integrated between two values.
Returns the complementary ERF function integrated between a given lower bound and infinity.
Determines if one value is greater than or exactly equal to another value.
Converts a hexadecimal number to the corresponding binary number.
Converts a hexadecimal number to the corresponding decimal number.
Converts a hexadecimal number to the corresponding octal number.
Converts a number from base 10 into a number in the specified base.
Converts an octal number to the corresponding binary number.
Converts an octal number to the corresponding decimal number.
Converts an octal number to the corresponding hexadecimal number.
Calculates the accrued interest added to the purchase price of a security and paid to the seller when the security pays periodic interest.
Calculates the total accrued interest added to the purchase price of a security and paid to the seller when the security pays interest only at maturity.
Calculates the weighted average of the present value of the cash flows for an assumed par value of $100.
Calculates the modified weighted average of the present value of the cash flows for an assumed par value of $100.
Returns the number of days between the beginning of the coupon period in which settlement occurs and the settlement date.
Returns the number of days in the coupon period in which settlement occurs.
Returns the number of days between the settlement date and the end of the coupon period in which settlement occurs.
Returns the number of coupons remaining to be paid between the settlement date and the maturity date.
Returns the total interest included in loan or annuity payments over a chosen time interval based on fixed periodic payments and a fixed interest rate.
Returns the total principal included in loan or annuity payments over a chosen time interval based on fixed periodic payments and a fixed interest rate.
Returns data from the previous market day’s close about the exchange rate between two currencies, retrieved remotely via the Internet.
Returns the ISO currency code of a given currency value, or the currency code for the language and region set for the computer or for the current document.
Returns the price of a given currency value in a different currency, using exchange rate data from the previous market day’s close, retrieved remotely via the Internet.
Returns historical data on the exchange rate between two currencies for a given date. The value returned is in the target currency (the currency to which you’re converting).
Returns the amount of depreciation of an asset for a specified period using the fixed‑declining balance method.
Returns the amount of depreciation of an asset based on a specified depreciation rate.
Returns the annual discount rate of a security that pays no interest and is sold at a discount to its redemption value.
Returns the effective annual interest rate from the nominal annual interest rate based on the number of compounding periods per year.
Returns the future value of an investment based on a series of regular periodic cash flows (payments of a constant amount and all cash flows at constant intervals) and a fixed interest rate.
Returns the effective annual interest rate for a security that pays interest only at maturity.
Returns the interest portion of a specified loan or annuity payment based on fixed, periodic payments and a fixed interest rate.
Returns the internal rate of return for an investment that is based on a series of potentially irregular cash flows that occur at regular time intervals.
Returns the interest portion of a specified loan or annuity payment based on fixed, periodic payments and a fixed interest rate. This function is provided for compatibility with tables imported from other spreadsheet applications.
Returns the modified internal rate of return for an investment that is based on a series of potentially irregular cash flows that occur at regular time intervals. The rate earned on positive cash flows and the rate paid to finance negative cash flows can differ.
Returns the nominal annual interest rate from the effective annual interest rate based on the number of compounding periods per year.
Returns the number of payment periods for a loan or annuity based on a series of regular periodic cash flows (payments of a constant amount and all cash flows at constant intervals) and a fixed interest rate.
Returns the net present value of an investment based on a series of potentially irregular cash flows that occur at regular time intervals.
Returns the fixed periodic payment for a loan or annuity based on a series of regular periodic cash flows (payments of a constant amount and all cash flows at constant intervals) and a fixed interest rate.
Returns the principal portion of a specified loan or annuity payment based on fixed periodic payments and a fixed interest rate.
Returns the price of a security that pays periodic interest per $100 of redemption (par) value.
Returns the price of a security that is sold at a discount to redemption value and does not pay interest per $100 of redemption (par) value.
Returns the price of a security that pays interest only at maturity per $100 of redemption (par) value.
Returns the present value of an investment or annuity based on a series of regular periodic cash flows (payments of a constant amount and all cash flows at constant intervals) and a fixed interest rate.
Returns the interest rate of an investment, loan, or annuity based on a series of regular periodic cash flows (payments of a constant amount and all cash flows at constant intervals) and a fixed interest rate.
Returns the maturity value for a security that pays interest only at maturity.
Returns the amount of depreciation of an asset for a single period using the straight‑line method.
Returns data from the previous market day’s close about a given stock, retrieved remotely via the Internet.
Returns historical price information about a stock for a given date, retrieved remotely via the Internet.
Returns the amount of depreciation of an asset for a specified period using the sum‑of‑the‑years‑digits method.
Returns the amount of depreciation of an asset over a chosen time interval, based on a specified depreciation rate.
Returns the internal rate of return for an investment that is based on a series of irregularly spaced cash flows.
Returns the present value of an investment or annuity based on a series of irregularly spaced cash flows and at a discount interest rate.
Returns the effective annual interest rate for a security that pays regular periodic interest.
Returns the effective annual interest rate for a security that is sold at a discount to redemption value and pays no interest.
Returns the effective annual interest rate for a security that pays interest only at maturity.
Returns TRUE if all arguments are true; otherwise it returns FALSE.
Returns the Boolean value FALSE. This function is included for compatibility with tables imported from other spreadsheet applications.
Returns one of two values depending on whether a specified expression evaluates to a Boolean value of TRUE or FALSE.
Returns a value that you specify if a given value evaluates to an error; otherwise it returns the given value.
Checks specified expressions returns a value based on the first condition that evaluates to a boolean value of TRUE.
Returns TRUE if the specified cell is empty; otherwise it returns FALSE.
Returns the boolean value TRUE if the given expression evaluates to a date and the boolean value FALSE otherwise.
Returns TRUE if a given expression evaluates to an error; otherwise it returns FALSE.
Returns TRUE if the value is even (leaves no remainder when divided by 2); otherwise it returns FALSE.
Returns the boolean value TRUE if the given expression evaluates to a number and the boolean value FALSE otherwise.
Returns TRUE if the value is odd (leaves a remainder when divided by 2); otherwise it returns FALSE.
Returns the boolean value TRUE if the given expression evaluates to a string and the boolean value FALSE otherwise.
Returns the opposite of the Boolean value of a specified expression.
Returns TRUE if any argument is true; otherwise it returns FALSE.
Returns the Boolean value TRUE. This function is included for compatibility with tables imported from other spreadsheet applications.
Returns the absolute value of a number or duration.
Rounds a number away from zero to the nearest multiple of the specified factor.
Returns the number of different ways you can combine a number of items into groups of a specific size, ignoring the order within the groups.
Rounds a number away from zero to the next even number.
Returns e (the base of natural logarithms) raised to the specified power.
Returns the factorial of a number.
Returns the double factorial of a number.
Rounds a number toward zero to the nearest multiple of the specified factor.
Returns the greatest common divisor of the specified numbers.
Returns the nearest integer that is less than or equal to the number.
Returns the least common multiple of the specified numbers.
Returns the natural logarithm of a number, the power to which e must be raised to result in the number.
Returns the logarithm of a number using a specified base.
Returns the base‑10 logarithm of a number.
Returns the remainder from a division.
Rounds a number to the nearest multiple of a specified factor.
Returns the closed form of the multinomial coefficient of the given numbers.
Rounds a number away from zero to the next odd number.
Returns the approximate value of π (pi), the ratio of a circle’s circumference to its diameter.
Evaluates a polynomial at a given point.
Returns a number raised to a power.
Returns the product of one or more numbers.
Returns the integer quotient of two numbers.
Returns a random number that is greater than or equal to 0 and less than 1.
Returns a random integer within the specified range.
Converts a number to Roman numerals.
Returns a number rounded to the specified number of places.
Returns a number rounded toward zero (rounded down) to the specified number of places.
Returns a number rounded away from zero (rounded up) to the specified number of places.
Computes and returns the sum of a power series.
Returns 1 when a given number is positive, –1 when it is negative, and 0 when it is zero.
Returns the square root of a number.
Returns the square root of a number multiplied by π (pi).
Returns the sum of a collection of numbers.
Returns the sum of a collection of numbers, including only numbers that satisfy a specified condition.
Returns the sum of the cells in a collection where the test values meet the given conditions.
Returns the sum of the products of corresponding numbers in one or more ranges.
Returns the sum of the squares of a collection of numbers.
Returns the sum of the difference of the squares of corresponding values in two collections.
Returns the sum of the squares of corresponding values in two collections.
Returns the sum of the squares of the differences between corresponding values in two collections.
Truncates a number to the specified number of digits.
Constructs a cell address string from separate row, column, and table identifiers.
Returns the number of ranges the function references.
Returns a value from a collection of values based on a specified index value.
Returns the column number of the column containing a specified cell.
Returns the number of columns included in a specified range of cells.
Returns a value from a range of rows by using the top row of values to pick a column and a row number to pick a row within that column.
Returns the value in the cell located at the intersection of the specified row and column within a range of cells.
Returns the contents of a cell or range referenced by an address specified as a string.
Returns a range that is the intersection of the specified ranges.
Finds a match for a given search value in one range, then returns the value in the cell with the same relative position in a second range.
Returns the position of a value within a range.
Returns a range of cells that is the specified number of rows and columns away from the specified base cell.
Returns the row number of the row containing a specified cell.
Returns the number of rows included in a specified range of cells.
Returns a vertical range of cells as a horizontal range of cells, or vice versa.
Returns a range that represents a range representing the union of the specified ranges.
Returns a value from a range of columns by using the left column of values to pick a row and a column number to pick a column in that row.
Searches a range for a specified value and returns the value from the same row in another column.
Returns the average of the difference of a collection of numbers from their average (arithmetic mean).
Returns the average (arithmetic mean) of a collection of numbers.
Returns the average (arithmetic mean) of a collection of values, including text and Boolean values.
Returns the average (arithmetic mean) of the cells in a range that meet a given condition.
Returns the average (arithmetic mean) of the cells in a collection that meet all the given conditions.
Returns the cumulative beta distribution probability value.
Returns the inverse of the given cumulative beta distribution probability value.
Returns the individual term binomial distribution probability of the specified form.
Returns the one‑tailed probability of the chi‑square distribution.
Returns the inverse of the one‑tailed probability of the chi‑square distribution.
Returns the value from the chi‑square distribution for the given data.
Returns a value for creating a statistical confidence interval for a sample from a population with a known standard deviation.
Returns the correlation between two collections using linear regression analysis.
Returns the number of its arguments that contain numbers, numeric expressions, or dates.
Returns the number of its arguments that are not empty.
Returns the number of cells in a range that are empty.
Returns the number of cells in a range that satisfy a given condition.
Returns the number of cells in one or more ranges that satisfy given conditions (one condition per range).
Returns the covariance of two collections.
Returns the smallest value for which the cumulative binomial distribution is greater than or equal to a given value.
Returns the sum of the squares of deviations of a collection of numbers from their average (arithmetic mean).
Returns the exponential distribution of the specified form.
Returns the F probability distribution.
Returns the inverse of the F probability distribution.
Returns the forecasted y value for a given x value based on sample values using linear regression analysis.
Returns an array of how often data values occur within a range of interval values.
Returns the gamma distribution in the specified form.
Returns the inverse gamma cumulative distribution.
Returns the natural logarithm of the gamma function, G(x).
Returns the geometric mean.
Returns the harmonic mean.
Returns the y‑intercept of the best‑fit line for the collection using linear regression analysis.
Returns the nth‑largest value within a collection. The largest value is ranked number 1.
Returns an array of the statistics for a straight line that best fits the given data using the least squares method.
Returns the inverse of the log‑normal cumulative distribution function of x.
Returns the log‑normal distribution.
Returns the largest number in a collection.
Returns the largest number in a collection of values that may include text and Boolean values.
Returns the median value in a collection of numbers. The median is the value where half the numbers in the collection are less than the median and half are greater.
Returns the smallest number in a collection.
Returns the smallest number in a collection of values that may include text and Boolean values.
Returns the most frequently occurring value in a collection of numbers.
Returns the negative binomial distribution.
Returns the normal distribution of the specified function form.
Returns the inverse of the cumulative normal distribution.
Returns the standard normal distribution.
Returns the inverse of the cumulative standard normal distribution.
Returns the value within a collection that corresponds to a particular percentile.
Returns the rank of a value in a collection as a percentage of the collection.
Returns the number of permutations for a given number of objects that can be selected from a total number of objects.
Returns the probability that a specific number of events will occur using the Poisson distribution.
Returns the probability of a range of values if you know the probabilities of the individual values.
Returns the value for the specified quartile of a given collection.
Returns the rank of a number within a range of numbers.
Returns the slope of the best‑fit line for the collection using linear regression analysis.
Returns the nth‑smallest value within a range. The smallest value is ranked number 1.
Returns a normalized value from a distribution characterized by a given mean and standard deviation.
Returns the standard deviation, a measure of dispersion, of a collection of values based on their sample (unbiased) variance.
Returns the standard deviation, a measure of dispersion, of a collection of values that may include text and Boolean values, based on the sample (unbiased) variance.
Returns the standard deviation, a measure of dispersion, of a collection of values based on their population (true) variance.
Returns the standard deviation, a measure of dispersion, of a collection of values that may include text and Boolean values, based on the population (true) variance.
Returns the probability from the Student’s t‑distribution.
Returns the t value (a function of the probability and degrees of freedom) from the Student’s t‑distribution.
Returns the probability associated with a Student’s t‑test, based on the t‑distribution function.
Returns the sample (unbiased) variance, a measure of dispersion, of a collection of values.
Returns the sample (unbiased) variance, a measure of dispersion, of a collection of values, including text and Boolean values.
Returns the population (true) variance, a measure of dispersion, of a collection of values.
Returns the sample (unbiased) variance, a measure of dispersion, of a collection of values, including text and Boolean values.
Returns the values of the Weibull distribution.
Returns the one‑tailed probability value of the Z‑test.
Returns the character that corresponds to a decimal Unicode character code.
Removes most common nonprinting characters (Unicode character codes 0–31) from text.
Returns the decimal Unicode number of the first character in a specified string.
Joins (concatenates) strings.
Returns a number value representing the number of times a given substring appears in the original string value.
Returns a string formatted as a dollar amount from a given number.
Returns TRUE if the argument strings are identical in case and content.
Returns the starting position of one string within another.
Rounds a number to the specified number of decimal places and then returns the result as a string value.
Returns a string consisting of the specified number of characters from the left end of a given string.
Returns the number of characters in a string.
Returns a string that is entirely lowercase, regardless of the case of the characters in the specified string.
Returns a string consisting of the given number of characters from a string starting at the specified position.
Returns a string value stripped of any rich text attributes in the input value.
Returns a string where the first letter of each word is uppercase and all remaining characters are lowercase, regardless of the case of the characters in the specified string.
Enables usage of regular expressions in other text and conditional functions. It can be used with all functions that expect a condition (IF, COUNTIF, …) or a string match (SUBSTITUTE, TEXTBEFORE, …). When not used as a condition or to match text, REGEX returns the underlying regular expression as a string value.
Returns the matches or capture groups in a match of a given regular expression in a source string.
Returns a string where a specified number of characters of a given string have been replaced with a new string.
Returns a string that contains a given string repeated a specified number of times.
Returns a string consisting of the given number of characters from the right end of a specified string.
Returns the starting position of one string within another, ignoring case and allowing wildcards.
Returns a string where the specified characters of a given string have been replaced with a new string.
Returns a string value consisting of all characters that appear after a given substring in the original string value.
Returns a string value consisting of all characters that appear before a given substring in the original string value.
Returns a string value consisting of all characters that appear between two given substrings in the original string value.
Returns the text contained in a cell. This function is included for compatibility with tables imported from other spreadsheet applications.
Returns a string based on a given string, after removing extra spaces.
Returns a string that is entirely uppercase, regardless of the case of the characters in the specified string.
Returns a number value even if the argument is formatted as text.
Returns the inverse cosine (arccosine) of a number.
Returns the inverse hyperbolic cosine (hyperbolic arccosine) of a number.
Returns the arcsine (the inverse sine) of a number.
Returns the inverse hyperbolic sine of a number.
Returns the inverse tangent (arctangent) of a number.
Returns the angle, relative to the positive x‑axis, of the line passing through the origin and the specified point.
Returns the inverse hyperbolic tangent of a number.
Returns the cosine of an angle that is expressed in radians.
Returns the hyperbolic cosine of a number.
Returns the number of degrees in an angle expressed in radians.
Returns the number of radians in an angle expressed in degrees.
Returns the sine of an angle that is expressed in radians.
Returns the hyperbolic sine of the specified number.
Returns the tangent of an angle that is expressed in radians.
Returns the hyperbolic tangent of the specified number.
Java programming environment.Here are instructions for setting up an IntelliJ-based Java programming environment forMac OS X,Windows, andLinux.
1 | ELEMENTS OF PROGRAMMING | |
---|---|---|
1.1.1 | HelloWorld.java | Hello, World |
1.1.2 | UseArgument.java | using a command-line argument |
1.2.1 | Ruler.java | string concatenation example |
1.2.2 | IntOps.java | integer multiplication and division |
1.2.3 | Quadratic.java | quadratic formula |
1.2.4 | LeapYear.java | leap year |
1.2.5 | RandomInt.java | casting to get a random integer |
1.3.1 | Flip.java | flippling a fair coin |
1.3.2 | TenHellos.java | your first while loop |
1.3.3 | PowersOfTwo.java | computing powers of 2 |
1.3.4 | DivisorPattern.java | your first nested loops |
1.3.5 | HarmonicNumber.java | harmonic numbers |
1.3.6 | Sqrt.java | Newton's method |
1.3.7 | Binary.java | converting to binary |
1.3.8 | Gambler.java | gambler's ruin simulation |
1.3.9 | Factors.java | factoring integers |
1.4.1 | Sample.java | sampling without replacement |
1.4.2 | CouponCollector.java | coupon collector simulation |
1.4.3 | PrimeSieve.java | sieve of Eratosthenes |
1.4.4 | SelfAvoidingWalk.java | self-avoiding random walks |
1.5.1 | RandomSeq.java | generating a random sequence |
1.5.2 | TwentyQuestions.java | interactive user input |
1.5.3 | Average.java | averaging a stream of numbers |
1.5.4 | RangeFilter.java | a simple filter |
1.5.5 | PlotFilter.java | standard input-to-drawing filter |
1.5.6 | BouncingBall.java | bouncing ball |
1.5.7 | PlayThatTune.java | digital signal processing |
1.6.1 | Transition.java | computing the transition matrix |
1.6.2 | RandomSurfer.java | simulating a random surfer |
1.6.3 | Markov.java | mixing a Markov chain |
2 | FUNCTIONS | |
2.1.1 | Harmonic.java | harmonic numbers (revisited) |
2.1.2 | Gaussian.java | Gaussian functions |
2.1.3 | Coupon.java | coupon collector (revisited) |
2.1.4 | PlayThatTuneDeluxe.java | play that tune (revisited) |
2.2.1 | StdRandom.java | random number library |
2.2.2 | StdArrayIO.java | array I/O library |
2.2.3 | IFS.java | iterated function systems |
2.2.4 | StdStats.java | data analysis library |
2.2.5 | StdStats.java | data analysis library |
2.2.6 | Bernoulli.java | Bernoulli trials |
2.3.1 | Euclid.java | Euclid's algorithm |
2.3.2 | TowersOfHanoi.java | towers of Hanoi |
2.3.3 | Beckett.java | Gray code |
2.3.4 | Htree.java | recursive graphics |
2.3.5 | Brownian.java | Brownian bridge |
2.3.6 | LongestCommonSubsequence.java | longest common subsequence |
2.4.1 | Percolation.java | percolation scaffolding |
2.4.2 | VerticalPercolation.java | vertical percolation |
2.4.3 | PercolationVisualizer.java | percolation visualization client |
2.4.4 | PercolationProbability.java | percolation probability estimate |
2.4.5 | Percolation.java | percolation detection |
2.4.6 | PercolationPlot.java | adaptive plot client |
3 | OBJECT ORIENTED PROGRAMMING | |
3.1.1 | PotentialGene.java | identifying a potential gene |
3.1.2 | AlbersSquares.java | Albers squares |
3.1.3 | Luminance.java | luminance library |
3.1.4 | Grayscale.java | converting color to grayscale |
3.1.5 | Scale.java | image scaling |
3.1.6 | Fade.java | fade effect |
3.1.7 | Cat.java | concatenating files |
3.1.8 | StockQuote.java | screen scraping for stock quotes |
3.1.9 | Split.java | splitting a file |
3.2.1 | Charge.java | charged-particle data type |
3.2.2 | Stopwatch.java | stopwatch data type |
3.2.3 | Histogram.java | histogram data type |
3.2.4 | Turtle.java | turtle graphics data type |
3.2.5 | Spiral.java | spira mirabilis |
3.2.6 | Complex.java | complex number data type |
3.2.7 | Mandelbrot.java | Mandelbrot set |
3.2.8 | StockAccount.java | stock account data type |
3.3.1 | Complex.java | complex number data type (revisited) |
3.3.2 | Counter.java | counter data type |
3.3.3 | Vector.java | spatial vector data type |
3.3.4 | Sketch.java | document sketch data type |
3.3.5 | CompareDocuments.java | similarity detection |
3.4.1 | Body.java | gravitational body data type |
3.4.2 | Universe.java | n-body simulation |
4 | DATA STRUCTURES | |
4.1.1 | ThreeSum.java | 3-sum problem |
4.1.2 | DoublingTest.java | validating a doubling hypothesis |
4.2.1 | Questions.java | binary search (20 questions) |
4.2.2 | Gaussian.java | bisection search |
4.2.3 | BinarySearch.java | binary search (in a sorted array) |
4.2.4 | Insertion.java | insertion sort |
4.2.5 | InsertionTest.java | doubling test for insertion sort |
4.2.6 | Merge.java | mergesort |
4.2.7 | FrequencyCount.java | frequency counts |
4.3.1 | ArrayStackOfStrings.java | stack of strings (array) |
4.3.2 | LinkedStackOfStrings.java | stack of strings (linked list) |
4.3.3 | ResizingArrayStackOfStrings.java | stack of strings (resizing array) |
4.3.4 | Stack.java | generic stack |
4.3.5 | Evaluate.java | expression evaluation |
4.3.6 | Queue.java | generic queue |
4.3.7 | MM1Queue.java | M/M/1 queue simulation |
4.3.8 | LoadBalance.java | load balancing simulation |
4.4.1 | Lookup.java | dictionary lookup |
4.4.2 | Index.java | indexing |
4.4.3 | HashST.java | hash table |
4.4.4 | BST.java | binary search tree |
4.4.5 | DeDup.java | dedup filter |
– | ST.java | symbol table data type |
– | SET.java | set data type |
4.5.1 | Graph.java | graph data type |
4.5.2 | IndexGraph.java | using a graph to invert an index |
4.5.3 | PathFinder.java | shortest-paths client |
4.5.4 | PathFinder.java | shortest-paths implementation |
4.5.5 | SmallWorld.java | small-world test |
4.5.6 | Performer.java | performer–performer graph |
1 | ELEMENTS OF PROGRAMMING | |
---|---|---|
1.1.1 | TenHelloWorlds.java | ten Hello, Worlds |
1.1.5 | UseThree.java | three command-line arguments |
1.2.20 | SumOfTwoDice.java | sum of two dice |
1.2.23 | SpringSeason.java | is month and day in Spring? |
1.2.25 | WindChill.java | compute wind chill factor |
1.2.26 | CartesianToPolar.java | Cartesian to polar coordinates |
1.2.29 | DayOfWeek.java | compute day of week from date |
1.2.30 | Stats5.java | average, min, max of 5 random numbers |
1.2.34 | ThreeSort.java | sort three integers |
1.2.35 | Dragon.java | dragon curve of order 5 |
1.3.8 | FivePerLine.java | print integers five per line |
1.3.11 | FunctionGrowth.java | table of functions |
1.3.12 | DigitReverser.java | reverse digits |
1.3.13 | Fibonacci.java | Fibonacci numbers |
1.3.15 | SeriesSum.java | convergent sum |
1.3.31 | Ramanujan.java | taxicab numbers |
1.3.32 | ISBN.java | ISBN checksum |
1.3.38 | Sin.java | sine function via Taylor series |
1.3.41 | MonteHall.java | Monte Hall problem |
1.4.2 | HugeArray.java | creating a huge array |
1.4.10 | Deal.java | deal poker hands |
1.4.13 | Transpose.java | tranpose a square matrix |
1.4.25 | InversePermutation.java | compute inverse permutation |
1.4.26 | Hadamard.java | compute Hadamard matrix |
1.4.30 | Minesweeper.java | create Minesweeper board |
1.4.33 | RandomWalkers.java | N random walkers |
1.4.35 | Birthdays.java | birthday problem |
1.4.37 | BinomialCoefficients.java | binomial coefficients |
1.5.1 | MaxMin.java | max and min from standard input |
1.5.3 | Stats.java | mean and stddev from standard input |
1.5.5 | LongestRun.java | longest consecutive run from stdin |
1.5.11 | WordCount.java | word count from standard input |
1.5.15 | Closest.java | closest point |
1.5.18 | Checkerboard.java | draw a checkerboard |
1.5.21 | Rose.java | draw a rose |
1.5.22 | Banner.java | animate a text banner |
1.5.31 | Spirograph.java | draw spirograph |
1.5.32 | Clock.java | animate a clock |
1.5.33 | Oscilloscope.java | simulate an oscilloscope |
2 | FUNCTIONS | |
2.1.4 | ArrayEquals.java | are two integer arrays equal? |
2.1.30 | BlackScholes.java | Black-Scholes option valuation |
2.1.32 | Horner.java | Horner's method to evaluate a polynomial |
2.1.33 | Benford.java | Benford's law |
2.1.38 | Calendar.java | create a calendar |
2.2.1 | Gaussian.java | overloaded gaussian distribution functions |
2.2.2 | Hyperbolic.java | hyperbolic trig functions |
2.2.4 | StdRandom.java | shuffle an array of doubles |
2.2.6 | StdArrayIO.java | array IO methods |
2.2.11 | Matrix.java | matrix operations |
2.2.12 | MarkovSquaring.java | page rank via matrix squaring |
2.2.14 | StdRandom.java | exponential random variable |
2.3.14 | AnimatedHtree.java | animated H-tree |
2.3.15 | IntegerToBinary.java | integer to binary conversion |
2.3.17 | Permutations.java | all permutations |
2.3.18 | PermutationsK.java | all permutations of size k |
2.3.19 | Combinations.java | all combinations |
2.3.20 | CombinationsK.java | all combinations of size k |
2.3.22 | RecursiveSquares.java | recursive squares |
2.3.24 | GrayCode.java | Gray code |
2.3.26 | AnimatedHanoi.java | animated Towers of Hanoi |
2.3.29 | Collatz.java | Collatz function |
2.3.30 | BrownianIsland.java | Brownian island |
2.3.31 | PlasmaCloud.java | plama cloud |
2.3.32 | McCarthy.java | McCarthy's 91 function |
2.3.33 | Tree.java | fractal tree |
2.4.15 | PercolationDirectedNonrecursive.java | directed percolation |
Last modified on March 14, 2020.
Copyright © 2000–2019Robert SedgewickandKevin Wayne.All rights reserved.