Jump to content

Vector products: Difference between revisions

m
Line 1,885:
console.log(unlines(
zipWith(k => f => k + show(
fappsaturated(f)([a, b, c])
))(['a . b', 'a x b', 'a . (b x c)', 'a x (b x c)'])(
[dotProduct, crossProduct, scalarTriple, vectorTriple]
Line 1,929:
) : undefined;
 
// Curried function -> arguments[Argument] -> fully-a more saturated value.
const fappsaturated = f =>
// A curried function applied successively to the available
// a list of arguments up to, but not beyond,
// the point of saturation.
args => 0 < args.length ? (
9,659

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.