1 ! Copyright (C) 2008 Jeff Bigot.
2 ! See http://factorcode.org/license.txt for BSD license.
3 USING: arrays help.markup help.syntax kernel sequences ;
8 { "array" "array" } { "name" "name" }
11 { $description "array : xmin xmax ymin ymax zmin zmax"
12 "returns a 3D solid with given limits"
17 { "array" "array" } { "name" "name" }
20 { $description "array : xmin xmax ymin ymax zmin zmax wmin wmax"
21 "returns a 4D solid with given limits"
25 HELP: equation-system-for-normal
27 { "points" "a list of n points" }
30 { $description "From a list of points, return the matrix"
31 "to solve in order to find the vector normal to the plan defined by the points" }
36 { "points" "a list of n points" }
39 { $description "From a list of points, returns the vector normal to the plan defined by the points"
40 "With n points, creates n-1 vectors and then find a vector orthogonal to every others"
41 "returns { f } if a normal vector can not be found" }
44 HELP: points-to-hyperplane
46 { "points" "a list of n points" }
47 { "hyperplane" "an hyperplane equation" }
49 { $description "From a list of points, returns the equation of the hyperplan"
50 "Finds a normal vector and then translate it so that it includes one of the points"
55 ARTICLE: "adsoda.tools" "Tools"
56 { $vocab-link "adsoda.tools" }
57 "Tools to help in building an " { $vocab-link "adsoda" } "-space"