Advertisement · 728 × 90
#
Hashtag
#APLQuest
Advertisement · 728 × 90
Preview
APL Quest 2015-6: Hey! This is My Space Write a function that takes, as each of its right and left arguments, a pair of co-ordinates representing diagonally opposite corners of two rectangles and returns a `1` if the rectangles overlap.

#APLQuest 2015-06: Write a function that takes, as each of its right and left arguments, a pair of co-ordinates representing diagonally opposite corners of two rectangles and returns a 1 if the rectangles overlap (apl.quest/2015/6/ to test your solution and view ours).

#APL #ComputationalGeometry

0 0 0 0
Preview
APL Quest 2015-5: He's so mean, he has no standard deviation Write a function that returns the population standard deviation of its numeric array right argument.

#APLQuest 2015-05: Write a function that returns the population standard deviation of its numeric array right argument (see apl.quest/2015/5/ to test your solution and view ours).

#APL #Statistics #StatisticalAnalysis

2 0 0 0
Preview
APL Quest 2015-4: PDI - Progressive Dyadic Iota Write a function that implements progressive dyadic iota.

#APLQuest 2015-04: Write a function that implements progressive dyadic iota (see apl.quest/2015/4/ to test your solution and view ours). #APL #ArraySearching #IndexOf

0 1 0 0
Preview
APL Quest 2015-3: Farey Tale Write a function that takes an integer right argument and returns a vector of the terms in the Farey sequence of that order.

#APLQuest 2015-03: Write a function that takes an integer right argument and returns a vector of the terms in the Farey sequence of that order (see apl.quest/2015/3/ to test your solution and view ours). #APL #FareySequence #NumberTheory

0 0 0 0
Preview
APL Quest 2015-2: Longest Streak Write a function that takes a numeric vector and returns the length of the longest streak of positive growth.

#APLQuest 2015-02: Write a function that takes a numeric vector and returns the length of the longest streak of positive growth (see apl.quest/2015/2/ to test your solution and view ours). #APL #SequenceAnalysis #Streaks

0 0 0 0
Preview
APL Quest 2015-1: Nag A Ram Write a function that takes two character vectors as its left and right arguments and returns `1` if they are anagrams of each other.

#APLQuest 2015-01: Write a function that takes two character vectors as its left and right arguments and returns 1 if they are anagrams of each other (see apl.quest/2015/1/ to test your solution and view ours). #APL #Anagrams #WordPuzzles

0 0 0 0
Preview
APL Quest 2014-10: Sales Are Up Write a function that returns the greatest percent month to month increase.

#APLQuest 2014-10: Write a function that returns the greatest percentage month-to-month increase. (see apl.quest/2014/10/ to test your solution and view ours). #APL #DataAnalysis #SalesData

0 0 0 0
Preview
APL Quest 2014-9: Going Ballistic Write a function which calculates the distance (in meters) a projectile travels given an initial velocity in meters per second and a trajectory in degrees.

#APLQuest 2014-09: Write a function that calculates the distance (in metres) that a projectile travels, given an initial velocity (in metres per second) and a trajectory in degrees (see apl.quest/2014/9/ to test your solution and view ours). #APL #Physics #Mathematics

1 0 0 0
Preview
APL Quest 2014-8: Go The Distance Write a function that returns the distance between two points in a space of any number of dimensions.

#APLQuest 2014-08: Write a function that returns the distance between two points in a space of any number of dimensions (see apl.quest/2014/8/ to test your solution and view ours).

#APL #EuclideanDistance #VectorMath

0 0 0 0
Preview
APL Quest 2014-7: Revolutionary Thinking Write a function which takes the diameters of the stationary and mobile circles and returns the number of revolutions the mobile must traverse until the tangent points meet again.

#APLQuest 2014-07: Write a function that takes the diameters of the stationary and mobile circles and returns the number of revolutions the mobile must traverse until the tangent points meet again (see apl.quest/2014/7/ to test your solution and view ours). #APL #CircleGeometry #RotationalMotion

1 0 0 0
Preview
APL Quest 2014-6: Roll The Dice Write a function that takes an integer vector representing the sides of a number of dice and returns a 2 column matrix of the number of ways each possible total of the dice can be rolled.

#APLQuest 2014-06: Write a function that takes an integer vector representing the sides of a number of dice and returns a 2 column matrix of the number of ways each possible total of the dice can be rolled (see apl.quest/2014/6/ to test your solution and view ours). #APL #Probability #Combinatorics

1 0 0 0
Preview
APL Quest 2014-5: Mirror Mirror Write a function which returns a 1 if its character vector argument is a palindrome, 0 otherwise.

#APLQuest 2014-05: Write a function that returns a 1 if its character vector argument is a palindrome, 0 otherwise (see apl.quest/2014/5/ to test your solution and view ours). #APL #Palindrome #StringReversal

0 0 0 0
Preview
APL Quest 2014-4: Space The Final Frontier Write a function that removes extraneous (leading, trailing, and multiple) spaces from a character vector.

#APLQuest 2014-04: Write a function that removes extraneous (leading, trailing, and multiple) spaces from a character vector (see apl.quest/2014/4/ to test your solution and view ours). #APL #StringNormalization #WhitespaceHandling

1 0 0 0
Preview
APL Quest 2014-2: How Tweet It Is Write a function which takes a character vector and removes the interior vowels from each word.

#APLQuest 2014-01: Write a function that takes a character vector and removes the interior vowels from each word. (apl.quest/2014/2/ to test your solution) #APL #TextCompression #StringManipulation

0 0 0 0
Preview
APL Quest 2014-1: It Is All Right Write a function that takes the length of the legs of a triangle as its left argument, and the length of the hypotenuse as its right argument and returns 1 if the triangle is a right triangle, 0 other...

#APLQuest 2014-01: Write a function that takes the length of the legs of a triangle as its left argument, and the length of the hypotenuse as its right, and returns 1 if the triangle is a right triangle, 0 otherwise (apl.quest/2014/1/ to test your solution) #APL #PythagoreanTheorem #Geometry

0 0 1 0
Preview
APL Quest 2013-10: Solution Salvation Write a function which solves a set of linear equations.

#APLQuest 2013-10: Write a function that solves a set of linear equations (see apl.quest/2013/10/ to test your solution and view ours). #APL #LinearEquations #MatrixDivision

1 0 0 0
Preview
APL Quest 2013-9: It Is a Moving Experience Write a function which produces n month moving averages for a year's worth of data.

#APLQuest 2013-09: Write a function that produces n month moving averages for a year's worth of data (see apl.quest/2013/9/ to test your solution and view ours). #APL #MovingAverage #TimeSeriesAnalysis

2 0 0 0
Preview
APL Quest 2013-8: Go Forth And Multiply Write a function which produces a multiplication table.

#APLQuest 2013-08: Write a function that produces a multiplication table (see apl.quest/2013/8/ to test your solution and view ours). #APL #MultiplicationTable #MatrixGeneration

1 0 0 0
Preview
APL Quest 2013-7: Float Your Boat Write a function which selects the floating point (non-integer) numbers from a numeric vector.

#APLQuest 2013-07: Write a function that selects the floating point (non-integer) numbers from a numeric vector (see apl.quest/2013/7/ to test your solution and view ours). #APL #DataFiltering #FloatingPoint

1 0 0 0
Preview
APL Quest 2013-6: Home On The Range Write a function which returns the magnitude of the range of a numeric array.

#APLQuest 2013-06: Write a function that returns the magnitude of the range of a numeric array. (see apl.quest/2013/6/ to test your solution and view ours).

#APL #Statistics #RangeCalculation

2 0 0 0
Preview
APL Quest 2013-5: Identity Crisis Write a function which produces an n×n identity matrix.

#APLQuest 2013-05: Write a function that produces an n×n identity matrix (see apl.quest/2013/5/ to test your solution and view ours). #APL #Matrix #LinearAlgebra

0 0 0 0
Preview
APL Quest 2013-4: Keeping Things In Balance Write a function which returns a 1 if the opening and closing parentheses in a character vector are balanced, or a zero otherwise.

#APLQuest 2013-04: Write a function that returns a 1 if the opening and closing parentheses in a character vector are balanced, or a zero otherwise. (see apl.quest/2013/4/ to test your solution and view ours). #APL #Balance #Parenthesis

0 0 0 0
Preview
APL Quest 2013-3: What Is In a Word Write a function which returns the number of words in the given character scalar or vector.

#APLQuest 2013-03: Write a function that returns the number of words in the given character scalar or vector (see apl.quest/2013/3/ to test your solution and view ours). #APL #WordCount #TextProcessing

0 0 0 0
Preview
APL Quest 2013-2: Making The Grade Write a function which returns the percent (from 0 to 100) of passing (65 or higher) grades in a vector of grades.

#APLQuest 2013-02: Write a function that returns the percent (from 0 to 100) of passing (65 or higher) grades in a vector of grades (see apl.quest/2013/2/ to test your solution and view ours). #APL #DataAnalysis #Percentages

3 0 0 0
Preview
APL Quest 2013-1: Seems a Bit Odd To Me Write a function to produce a vector of the first n odd numbers.

Our #APLMonday series is changing! From this week, we will be posting questions from #APLQuest. This week's question is 2013-01: Write a function to produce a vector of the first n odd numbers (see apl.quest/2013/1/ to test your solution and view ours). #APL #OddNumbers #SequenceGeneration

1 0 0 0