(* c)
(* c1 c2)
(* c1 c2 & more)
Return the element-wise product of one or more coordinates.
Return the element-wise product of one or more coordinates.
(+ c)
(+ c1 c2)
(+ c1 c2 & more)
Return the sum of one or more coordinates.
Return the sum of one or more coordinates.
(- c)
(- c1 c2)
(- c1 c2 & more)
If only one coordinate is supplied, return the negation of the coordinate. Otherwise all subsequent coordinates are subtracted from the first.
If only one coordinate is supplied, return the negation of the coordinate. Otherwise all subsequent coordinates are subtracted from the first.
(/ c)
(/ c1 c2)
(/ c1 c2 & more)
If only one coordinate is supplied, return the element-wise reciprocal. Otherwise the first coordinate is divided element-wise by all other coordinates.
If only one coordinate is supplied, return the element-wise reciprocal. Otherwise the first coordinate is divided element-wise by all other coordinates.
Returns the bearing angle of a coordinateXY.
Returns the bearing angle of a coordinateXY.
Returns the bearing of a coordinateXY, measure clockwise from N.
Returns the bearing of a coordinateXY, measure clockwise from N.
(add* c1 c2)
Add two coordinates together.
Add two coordinates together.
(div* c1 c2)
Divide one coordinate by another.
Divide one coordinate by another.
(dot c1 c2)
Find the dot-product of two coordinates.
Find the dot-product of two coordinates.
(magnitude c)
The magnitude (length) of the coordinate.
The magnitude (length) of the coordinate.
(mult* c1 c2)
Multiply one coordinate by another.
Multiply one coordinate by another.
(scale c f)
Scale a coordinate by a factor.
Scale a coordinate by a factor.
(sub* c1 c2)
Subtract the second coordinate from the first.
Subtract the second coordinate from the first.
(coordinate x y)
(coordinate x y z)
Create a new XY or XYZ coordinate.
Create a new XY or XYZ coordinate.
(cross c1 c2)
Find the cross-product of two 3D coordinates.
Find the cross-product of two 3D coordinates.
(normalize c)
Normalize a coordinate by dividing by its magnitude.
Normalize a coordinate by dividing by its magnitude.
Create a coordinateXY
Create a coordinateXY
Create a coordinateXYZ
Create a coordinateXYZ
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close