Vector products: Difference between revisions
Content added Content deleted
m (→JS ES6) |
m (→JS ES6) |
||
Line 1,885:
console.log(unlines(
zipWith(k => f => k + show(
))(['a . b', 'a x b', 'a . (b x c)', 'a x (b x c)'])(
[dotProduct, crossProduct, scalarTriple, vectorTriple]
Line 1,929:
) : undefined;
// Curried function ->
const
// A curried function applied successively to
// a list of arguments up to, but not beyond,
// the point of saturation.
args => 0 < args.length ? (
|