( * ) [Gg.V] | t * v is smul t v .
|
( * ) [Gg.V4] | t * v is smul t v .
|
( * ) [Gg.V3] | t * v is smul t v .
|
( * ) [Gg.V2] | t * v is smul t v .
|
(+) [Gg.V] | u + v is add u v .
|
(+) [Gg.V4] | u + v is add u v .
|
(+) [Gg.V3] | u + v is add u v .
|
(+) [Gg.V2] | u + v is add u v .
|
(-) [Gg.V] | u - v is sub u v .
|
(-) [Gg.V4] | u - v is sub u v .
|
(-) [Gg.V3] | u - v is sub u v .
|
(-) [Gg.V2] | u - v is sub u v .
|
(/) [Gg.V] | v / t is smul (1. /. t) v .
|
(/) [Gg.V4] | v / t is smul (1. /. t) v .
|
(/) [Gg.V3] | v / t is smul (1. /. t) v .
|
(/) [Gg.V2] | v / t is smul (1. /. t) v .
|
A | |
a [Gg.Color] | a c is the alpha component of c .
|
add [Gg.M] | add a b is the matrix addition a + b .
|
add [Gg.V] | add u v is the vector addition u + v .
|
add [Gg.M4] | add a b is the matrix addition a + b .
|
add [Gg.M3] | add a b is the matrix addition a + b .
|
add [Gg.M2] | add a b is the matrix addition a + b .
|
add [Gg.V4] | add u v is the vector addition u + v .
|
add [Gg.V3] | add u v is the vector addition u + v .
|
add [Gg.V2] | add u v is the vector addition u + v .
|
angle [Gg.V2] | |
apply3 [Gg.Quat] | apply3 q v applies the 3D rotation of the unit quaternion
q to the vector (or point) v .
|
apply4 [Gg.Quat] | apply4 q v apply the 3D rotation of the unit quaternion
q to the homogenous vector (or point) v .
|
area [Gg.Box] | area b is the surface area of b .
|
area [Gg.Box3] | area b is the surface area of b .
|
area [Gg.Box2] | area b is the surface area of b .
|
area [Gg.Box1] | area b is the surface area of b .
|
aspect [Gg.Size2] | aspect s is w s /. h s .
|
azimuth [Gg.V3] | |
B | |
b [Gg.Color] | b c is the blue component of c .
|
ba_kind_of_ba_scalar_type [Gg.Ba] | ba_kind_of_ba_scalar_type st is the bigarray kind corresponding
to st .
|
basis [Gg.V] | basis i is the i th vector of an
orthonormal basis
of the vector space Gg.V.t with inner product Gg.V.dot .
|
basis [Gg.V4] | basis i is the i th vector of an
orthonormal basis
of the vector space Gg.V4.t with inner product Gg.V4.dot .
|
basis [Gg.V3] | basis i is the i th vector of an
orthonormal basis
of the vector space Gg.V3.t with inner product Gg.V3.dot .
|
basis [Gg.V2] | basis i is the i th vector of an
orthonormal basis
of the vector space Gg.V2.t with inner product Gg.V2.dot .
|
bl_pt [Gg.Box2] | bl b is the bottom-left corner of b .
|
black [Gg.Color] | black is (v 0. 0. 0. 1.)
|
blend [Gg.Color] | blend src dst is src blended over dst using
source over destination alpha blending.
|
blit [Gg.Ba] | blit src si dst di len copies len scalar values starting at si
in src to dst starting at di .
|
blue [Gg.Color] | blue is (v 0. 0. 1. 1.)
|
bm_pt [Gg.Box2] | bm_pt b is the bottom-mid point of b .
|
box1 [Gg.Raster] | box1 meters mid o r is a box with origin o and size (size1
meters r) .
|
box2 [Gg.Raster] | box2 meters mid o r is a box with origin o and size (size2
meters r) .
|
box3 [Gg.Raster] | box3 meters mid o r is a box with origin o and size
(size3 meters r) .
|
br_pt [Gg.Box2] | br_pt b is the bottom-right corner of b .
|
buffer [Gg.Raster] | buffer r is r 's format.
|
byte_length [Gg.Ba.Buffer] | buffer_byte_length b is b 's buffer byte length.
|
C | |
chop [Gg.Float] | chop eps x is round x if abs_float (x -. round x) < eps and x
otherwise.
|
clamp [Gg.Color] | clamp c is c with all components clamped to [0;1 ].
|
clamp [Gg.Float] | clamp min max x is min if x < min , max if x > max and
x otherwise.
|
col [Gg.M] | col j a is the j th column of a .
|
col [Gg.M4] | col j a is the j th column of a .
|
col [Gg.M3] | col j a is the j th column of a .
|
col [Gg.M2] | col j a is the j th column of a .
|
comp [Gg.V] | comp i v is v i , the i th component of v .
|
comp [Gg.V4] | comp i v is v i , the i th component of v .
|
comp [Gg.V3] | comp i v is v i , the i th component of v .
|
comp [Gg.V2] | comp i v is v i , the i th component of v .
|
compare [Gg.Box] | compare u v is Pervasives.compare u v .
|
compare [Gg.M] | compare a b is Pervasives.compare a b .
|
compare [Gg.V] | compare u v is Pervasives.compare u v .
|
compare [Gg.Raster] | compare r r' is Pervasives.compare r r' .
|
compare [Gg.Box3] | compare u v is Pervasives.compare u v .
|
compare [Gg.Box2] | compare u v is Pervasives.compare u v .
|
compare [Gg.Box1] | compare u v is Pervasives.compare u v .
|
compare [Gg.M4] | compare a b is Pervasives.compare a b .
|
compare [Gg.M3] | compare a b is Pervasives.compare a b .
|
compare [Gg.M2] | compare a b is Pervasives.compare a b .
|
compare [Gg.V4] | compare u v is Pervasives.compare u v .
|
compare [Gg.V3] | compare u v is Pervasives.compare u v .
|
compare [Gg.V2] | compare u v is Pervasives.compare u v .
|
compare [Gg.Float] | compare x y is Pervasives.compare x y .
|
compare_f [Gg.Box] | compare_f cmp b b' compares b and b' like Gg.Box.compare
but uses cmp to compare floating point values.
|
compare_f [Gg.M] | |
compare_f [Gg.V] | |
compare_f [Gg.Box3] | compare_f cmp b b' compares b and b' like Gg.Box3.compare
but uses cmp to compare floating point values.
|
compare_f [Gg.Box2] | compare_f cmp b b' compares b and b' like Gg.Box2.compare
but uses cmp to compare floating point values.
|
compare_f [Gg.Box1] | compare_f cmp b b' compares b and b' like Gg.Box1.compare
but uses cmp to compare floating point values.
|
compare_f [Gg.M4] | compare_f cmp a b compares a and b like Gg.M4.compare
but uses cmp to compare floating point values.
|
compare_f [Gg.M3] | compare_f cmp a b compares a and b like Gg.M3.compare
but uses cmp to compare floating point values.
|
compare_f [Gg.M2] | compare_f cmp a b compares a and b like Gg.M2.compare
but uses cmp to compare floating point values.
|
compare_f [Gg.V4] | compare_f cmp u v compares u and v like Gg.V4.compare
but uses cmp to compare floating point values.
|
compare_f [Gg.V3] | compare_f cmp u v compares u and v like Gg.V3.compare
but uses cmp to compare floating point values.
|
compare_f [Gg.V2] | compare_f cmp u v compares u and v like Gg.V2.compare
but uses cmp to compare floating point values.
|
compare_tol [Gg.Float] | compare_tol ~eps x y is 0 iff equal_tol ~eps x y is true
and Pervasives.compare x y otherwise.
|
conj [Gg.Quat] | |
create [Gg.Ba.Buffer] | create st count is a buffer of scalar type st with
count scalars.
|
create [Gg.Ba] | create k count is a bigarray of kind k with count scalars.
|
cross [Gg.V3] | |
D | |
d [Gg.Raster] | d r is r 's index depth.
|
d [Gg.Box3] | d b is Size3.d (size b) .
|
d [Gg.Size3] | d s is the depth of s .
|
deg_of_rad [Gg.Float] | |
det [Gg.M] | |
det [Gg.M4] | |
det [Gg.M3] | |
det [Gg.M2] | |
di [Gg.Raster] | d r is r 's index height in number of samples.
|
dim [Gg.Box] | dim is the dimension of the boxes of type Gg.Box.t .
|
dim [Gg.Size] | dim is the dimension of sizes of type Gg.Size.t .
|
dim [Gg.M] | dim is the dimension of rows and columns.
|
dim [Gg.P] | dim is the dimension of points of type Gg.P.t .
|
dim [Gg.V] | dim is the dimension of vectors of type Gg.V.t .
|
dim [Gg.Raster.Sample] | dim sf is sf 's sample dimension.
|
dim [Gg.Raster] | dim r is r 's index dimension from 1 to 3.
|
dim [Gg.Box3] | dim is the dimension of the boxes of type Gg.box3 .
|
dim [Gg.Box2] | dim is the dimension of the boxes of type Gg.box2 .
|
dim [Gg.Box1] | dim is the dimension of the boxes of type Gg.box2 .
|
dim [Gg.Size3] | dim is the dimension of sizes of type Gg.size3 .
|
dim [Gg.Size2] | dim is the dimension of sizes of type Gg.size2 .
|
dim [Gg.Size1] | dim is the dimension of sizes of type Gg.size1
|
dim [Gg.M4] | dim is the dimension of rows and columns.
|
dim [Gg.M3] | dim is the dimension of rows and columns.
|
dim [Gg.M2] | dim is the dimension of rows and columns.
|
dim [Gg.P3] | dim is the dimension of points of type Gg.p3 .
|
dim [Gg.P2] | dim is the dimension of points of type Gg.p2 .
|
dim [Gg.V4] | dim is the dimension of vectors of type Gg.v4 .
|
dim [Gg.V3] | dim is the dimension of vectors of type Gg.v3 .
|
dim [Gg.V2] | dim is the dimension of vectors of type Gg.v2 .
|
div [Gg.V] | div u v is the component wise division u / v .
|
div [Gg.V4] | div u v is the component wise division u / v .
|
div [Gg.V3] | div u v is the component wise division u / v .
|
div [Gg.V2] | div u v is the component wise division u / v .
|
dot [Gg.V] | |
dot [Gg.V4] | |
dot [Gg.V3] | |
dot [Gg.V2] | |
E | |
e [Gg.Float] |
The constant e.
|
e00 [Gg.M4] | |
e00 [Gg.M3] | |
e00 [Gg.M2] | |
e01 [Gg.M4] | |
e01 [Gg.M3] | |
e01 [Gg.M2] | |
e02 [Gg.M4] | |
e02 [Gg.M3] | |
e03 [Gg.M4] | |
e10 [Gg.M4] | |
e10 [Gg.M3] | |
e10 [Gg.M2] | |
e11 [Gg.M4] | |
e11 [Gg.M3] | |
e11 [Gg.M2] | |
e12 [Gg.M4] | |
e12 [Gg.M3] | |
e13 [Gg.M4] | |
e20 [Gg.M4] | |
e20 [Gg.M3] | |
e21 [Gg.M4] | |
e21 [Gg.M3] | |
e22 [Gg.M4] | |
e22 [Gg.M3] | |
e23 [Gg.M4] | |
e30 [Gg.M4] | |
e31 [Gg.M4] | |
e32 [Gg.M4] | |
e33 [Gg.M4] | |
ediv [Gg.M] | ediv a b is the element wise division of a and b .
|
ediv [Gg.M4] | ediv a b is the element wise division of a and b .
|
ediv [Gg.M3] | ediv a b is the element wise division of a and b .
|
ediv [Gg.M2] | ediv a b is the element wise division of a and b .
|
el [Gg.M] | el i j a is the element a ij .
|
el [Gg.M4] | el i j a is the element a ij .
|
el [Gg.M3] | el i j a is the element a ij .
|
el [Gg.M2] | el i j a is the element a ij .
|
empty [Gg.Box] | empty is the empty box.
|
empty [Gg.Box3] | empty is the empty box.
|
empty [Gg.Box2] | empty is the empty box.
|
empty [Gg.Box1] | empty is the empty box.
|
emul [Gg.M] | emul a b is the element wise multiplication of a and b .
|
emul [Gg.M4] | emul a b is the element wise multiplication of a and b .
|
emul [Gg.M3] | emul a b is the element wise multiplication of a and b .
|
emul [Gg.M2] | emul a b is the element wise multiplication of a and b .
|
equal [Gg.Box] | equal b b' is b = b' .
|
equal [Gg.M] | equal a b is a = b .
|
equal [Gg.V] | equal u v is u = v .
|
equal [Gg.Raster] | equal r r' is r = r' .
|
equal [Gg.Box3] | equal b b' is b = b' .
|
equal [Gg.Box2] | equal b b' is b = b' .
|
equal [Gg.Box1] | equal b b' is b = b' .
|
equal [Gg.M4] | equal a b is a = b .
|
equal [Gg.M3] | equal a b is a = b .
|
equal [Gg.M2] | equal a b is a = b .
|
equal [Gg.V4] | equal u v is u = v .
|
equal [Gg.V3] | equal u v is u = v .
|
equal [Gg.V2] | equal u v is u = v .
|
equal [Gg.Float] | equal x y is x = y .
|
equal_f [Gg.Box] | |
equal_f [Gg.M] | |
equal_f [Gg.V] | |
equal_f [Gg.Box3] | |
equal_f [Gg.Box2] | |
equal_f [Gg.Box1] | |
equal_f [Gg.M4] | |
equal_f [Gg.M3] | |
equal_f [Gg.M2] | |
equal_f [Gg.V4] | |
equal_f [Gg.V3] | |
equal_f [Gg.V2] | |
equal_tol [Gg.Float] | equal_tol eps x y is true iff |x - y | <= eps * max
(1,|x |,|y |).
|
exists [Gg.M] | exists p a is p a 00 || p a 10 || ...
|
exists [Gg.V] | exists p v is p v 0 || p v 1 || ...
|
exists [Gg.M4] | exists p a is p a 00 || p a 10 || ...
|
exists [Gg.M3] | exists p a is p a 00 || p a 10 || ...
|
exists [Gg.M2] | exists p a is p a 00 || p a 10 || ...
|
exists [Gg.V4] | exists p v is p v 0 || p v 1 || ...
|
exists [Gg.V3] | exists p v is p v 0 || p v 1 || ...
|
exists [Gg.V2] | exists p v is p v 0 || p v 1 || ...
|
F | |
fbl_pt [Gg.Box3] | fbl_pt b is the far-bottom-left corner of b .
|
fbr_pt [Gg.Box3] | fbl_pt b is the far-bottom-right corner of b .
|
fill [Gg.Ba] | fill ba v sets each scalar value of ba to v .
|
first [Gg.Raster] | first r is the buffer scalar index where the first sample
is stored.
|
fmax [Gg.Float] | fmax x y is y if x < y and x otherwise.
|
fmin [Gg.Float] | fmin x y is x if x < y and y otherwise.
|
fold [Gg.M] | fold f acc a is f ( ...
|
fold [Gg.V] | fold f acc v is f ( ...
|
fold [Gg.M4] | fold f acc a is f ( ...
|
fold [Gg.M3] | fold f acc a is f ( ...
|
fold [Gg.M2] | fold f acc a is f ( ...
|
fold [Gg.V4] | fold f acc v is f ( ...
|
fold [Gg.V3] | fold f acc v is f ( ...
|
fold [Gg.V2] | fold f acc v is f ( ...
|
foldi [Gg.M] | foldi f acc a is
f ( ...
|
foldi [Gg.V] | foldi f acc v is f ( ...
|
foldi [Gg.M4] | foldi f acc a is
f ( ...
|
foldi [Gg.M3] | foldi f acc a is
f ( ...
|
foldi [Gg.M2] | foldi f acc a is
f ( ...
|
foldi [Gg.V4] | foldi f acc v is f ( ...
|
foldi [Gg.V3] | foldi f acc v is f ( ...
|
foldi [Gg.V2] | foldi f acc v is f ( ...
|
for_all [Gg.M] | for_all p a is p a 00 && p a 10 && ...
|
for_all [Gg.V] | for_all p v is p v 0 && p v 1 && ...
|
for_all [Gg.M4] | for_all p a is p a 00 && p a 10 && ...
|
for_all [Gg.M3] | for_all p a is p a 00 && p a 10 && ...
|
for_all [Gg.M2] | for_all p a is p a 00 && p a 10 && ...
|
for_all [Gg.V4] | for_all p v is p v 0 && p v 1 && ...
|
for_all [Gg.V3] | for_all p v is p v 0 && p v 1 && ...
|
for_all [Gg.V2] | for_all p v is p v 0 && p v 1 && ...
|
format [Gg.Raster.Sample] | format pack sem st is a sample format with semantics
sem and scalar type st .
|
ftl_pt [Gg.Box3] | fbl_pt b is the far-top-left corner of b .
|
ftr_pt [Gg.Box3] | fbl_pt b is the far-top-right corner of b .
|
G | |
g [Gg.Color] | g c is the green component of c .
|
get_2d [Gg.Ba] | get_v2 b i is the i th to i+1 th scalars of b .
|
get_3d [Gg.Ba] | get_v3 b i is the i th to i+2 th scalars of b .
|
get_4d [Gg.Ba] | get_v4 b i is the i th to i+3 th scalars of b .
|
get_res [Gg.Raster] | get_res r is Gg.Raster.res but
|
get_v2 [Gg.Ba] | get_v2 b i is the i th to i+1 th scalars of b as a vector.
|
get_v3 [Gg.Ba] | get_v3 b i is the i th to i+2 th scalars of b as a vector.
|
get_v4 [Gg.Ba] | get_v4 b i is the i th to i+3 th scalars of b as a vector.
|
geti_2d [Gg.Ba] | get_v2 b i is the i th to i+1 th scalars of b .
|
geti_3d [Gg.Ba] | get_v3 b i is the i th to i+2 th scalars of b .
|
gray [Gg.Color] | gray a g is the sRGB color (g, g, g, a) converted to color a
value.
|
gray_l [Gg.Raster.Sample] | gray_l is for linear Gray samples from the Gg.Color.p_gray_l
profile.
|
graya_l [Gg.Raster.Sample] | graya_l is for linear Gray samples from the Gg.Color.p_gray_l
luminance with an alpha component.
|
green [Gg.Color] | green is (v 0. 1. 0. 1.)
|
H | |
h [Gg.Raster] | h r is r 's index height.
|
h [Gg.Box3] | h b is Size3.h (size b) .
|
h [Gg.Box2] | h b is Size2.h (size b) .
|
h [Gg.Size3] | h s is the height of s .
|
h [Gg.Size2] | h s is the height of s .
|
h_stride [Gg.Raster] | h_stride r is the number of lines to skip to go
from the first line of a plane to the first
line of the next plane.
|
half [Gg.V] | half v is the half vector smul 0.5 v .
|
half [Gg.V4] | half v is the half vector smul 0.5 v .
|
half [Gg.V3] | half v is the half vector smul 0.5 v .
|
half [Gg.V2] | half v is the half vector smul 0.5 v .
|
hi [Gg.Raster] | hi r is r 's index height in number of samples.
|
homogene [Gg.V] | homogene v is the vector v/(comp (dim - 1) v) if
comp (dim - 1) v <> 0 and v otherwise.
|
homogene [Gg.V4] | homogene v is the vector v/v w if v w <> 0 and v
otherwise.
|
homogene [Gg.V3] | homogene v is the vector v/v z if v z <> 0 and
v otherwise.
|
homogene [Gg.V2] | homogene v is the vector v/v y if v y <> 0 and v
otherwise.
|
I | |
id [Gg.M] | id is the identity matrix, the neutral element for Gg.M.mul .
|
id [Gg.M4] | id is the identity matrix, the neutral element for Gg.M4.mul .
|
id [Gg.M3] | id is the identity matrix, the neutral element for Gg.M3.mul .
|
id [Gg.M2] | id is the identity matrix, the neutral element for Gg.M2.mul .
|
id [Gg.Quat] | id is the identity quaternion 1 .
|
infinity [Gg.V] | infinity is the vector whose components are infinity .
|
infinity [Gg.V4] | infinity is the vector whose components are infinity .
|
infinity [Gg.V3] | infinity is the vector whose components are infinity .
|
infinity [Gg.V2] | infinity is the vector whose components are infinity .
|
inset [Gg.Box] | inset d b is b whose edges are inset in each dimension
according to amounts in d .
|
inset [Gg.Box3] | inset d b is b whose edges are inset in each dimension
according to amounts in d .
|
inset [Gg.Box2] | inset d b is b whose edges are inset in each dimension
according to amounts in d .
|
inset [Gg.Box1] | inset d b is b whose edges are inset in each dimension
according to amounts in d .
|
int_of_round [Gg.Float] | int_of_round x is truncate (round v) .
|
inter [Gg.Box] | inter b b' is a box whose space is the intersection of S(b )
and S(b' ).
|
inter [Gg.Box3] | inter b b' is a box whose space is the intersection of S(b )
and S(b' ).
|
inter [Gg.Box2] | inter b b' is a box whose space is the intersection of S(b )
and S(b' ).
|
inter [Gg.Box1] | inter b b' is a box whose space is the intersection of S(b )
and S(b' ).
|
inv [Gg.M] | |
inv [Gg.M4] | |
inv [Gg.M3] | |
inv [Gg.M2] | |
inv [Gg.Quat] | inv q is the quaternion inverse q -1.
|
inv_pi [Gg.Float] | 1 /. pi .
|
is_empty [Gg.Box] | |
is_empty [Gg.Box3] | |
is_empty [Gg.Box2] | |
is_empty [Gg.Box1] | |
is_inf [Gg.Float] | is_inf x is true iff x is infinity or neg_infinity .
|
is_int [Gg.Float] | is_int x is true iff x is an integer.
|
is_nan [Gg.Float] | is_nan x is true iff x is a NaN.
|
is_plane [Gg.Box3] | is_plane b is true iff the size of b is equal to 0 in exactly
one dimension.
|
is_pt [Gg.Box] | |
is_pt [Gg.Box3] | |
is_pt [Gg.Box2] | |
is_pt [Gg.Box1] | |
is_seg [Gg.Box3] | |
is_seg [Gg.Box2] | |
is_zero [Gg.Float] | is_zero eps x is true if abs_float x < eps
and false otherwise.
|
isects [Gg.Box] | isects b b' is not (is_empty (inter b b')) .
|
isects [Gg.Box3] | isects b b' is not (is_empty (inter b b')) .
|
isects [Gg.Box2] | isects b b' is not (is_empty (inter b b')) .
|
isects [Gg.Box1] | isects b b' is not (is_empty (inter b b')) .
|
iter [Gg.M] | iter f a is f a 00; f a 10; ...
|
iter [Gg.V] | iter f v is f v 0; f v 1; ...
|
iter [Gg.M4] | iter f a is f a 00; f a 10; ...
|
iter [Gg.M3] | iter f a is f a 00; f a 10; ...
|
iter [Gg.M2] | iter f a is f a 00; f a 10; ...
|
iter [Gg.V4] | iter f v is f v 0; f v 1; ...
|
iter [Gg.V3] | iter f v is f v 0; f v 1; ...
|
iter [Gg.V2] | iter f v is f v 0; f v 1; ...
|
iteri [Gg.M] | iteri f a is f 0 0 a 00; f 1 0 a 10; ...
|
iteri [Gg.V] | iteri f v is f 0 v 0; f 1 v 1; ...
|
iteri [Gg.M4] | iteri f a is f 0 0 a 00; f 1 0 a 10; ...
|
iteri [Gg.M3] | iteri f a is f 0 0 a 00; f 1 0 a 10; ...
|
iteri [Gg.M2] | iteri f a is f 0 0 a 00; f 1 0 a 10; ...
|
iteri [Gg.V4] | iteri f v is f 0 v 0; f 1 v 1; ...
|
iteri [Gg.V3] | iteri f v is f 0 v 0; f 1 v 1; ...
|
iteri [Gg.V2] | iteri f v is f 0 v 0; f 1 v 1; ...
|
K | |
kind [Gg.Raster] | kind r is like Gg.Raster.dim but symbolically.
|
L | |
left [Gg.Box1] | left b is minx b .
|
length [Gg.Ba.Buffer] | buffer_length b is b 's buffer scalar length.
|
length [Gg.Ba] | length ba is the length of ba .
|
ltr [Gg.Box] | ltr m b is the smallest box containing the corners of b transformed
by m .
|
ltr [Gg.V] | |
ltr [Gg.Box3] | ltr m b is the smallest box containing the corners of b transformed
by m .
|
ltr [Gg.Box2] | ltr m b is the smallest box containing the corners of b transformed
by m .
|
ltr [Gg.Box1] | ltr m b is the smallest box containing the corners of b transformed
by m .
|
ltr [Gg.V4] | |
ltr [Gg.V3] | |
ltr [Gg.V2] | |
M | |
map [Gg.M] | map f a is the element wise application of f to a .
|
map [Gg.V] | map f v is the component wise application of f to v .
|
map [Gg.M4] | map f a is the element wise application of f to a .
|
map [Gg.M3] | map f a is the element wise application of f to a .
|
map [Gg.M2] | map f a is the element wise application of f to a .
|
map [Gg.V4] | map f v is the component wise application of f to v .
|
map [Gg.V3] | map f v is the component wise application of f to v .
|
map [Gg.V2] | map f v is the component wise application of f to v .
|
map_f [Gg.Box] | map_f f b is the box whose origin and size are those of b with
their components mapped by f .
|
map_f [Gg.Box3] | map_f f b is the box whose origin and size are those of b with
their components mapped by f .
|
map_f [Gg.Box2] | map_f f b is the box whose origin and size are those of b with
their components mapped by f .
|
map_f [Gg.Box1] | map_f f b is the box whose origin and size are those of b with
their components mapped by f .
|
mapi [Gg.M] | mapi f a is like Gg.M.map but the element indices are also given.
|
mapi [Gg.V] | mapi f v is like Gg.V.map but the component index is also given.
|
mapi [Gg.M4] | mapi f a is like Gg.M4.map but the element indices are also given.
|
mapi [Gg.M3] | mapi f a is like Gg.M3.map but the element indices are also given.
|
mapi [Gg.M2] | mapi f a is like Gg.M2.map but the element indices are also given.
|
mapi [Gg.V4] | mapi f v is like Gg.V4.map but the component index is also given.
|
mapi [Gg.V3] | mapi f v is like Gg.V3.map but the component index is also given.
|
mapi [Gg.V2] | mapi f v is like Gg.V2.map but the component index is also given.
|
max [Gg.Box] | max b is the greatest point of b (its size added to the origin).
|
max [Gg.Box3] | max b is the greatest point of b (its size added to the origin).
|
max [Gg.Box2] | max b is the greatest point of b (its size added to the origin).
|
max [Gg.Box1] | max b is the greatest point of b (its size added to the origin).
|
max_frac_float [Gg.Float] |
The greatest positive floating point number with a fractional
part (the
float before 252).
|
max_int_arith [Gg.Float] |
The greatest positive floating point number (253) such that
any integer in the range
[
-max_int_arith;max_int_arith ] is represented exactly.
|
max_sub_float [Gg.Float] |
The greatest positive subnormal floating point number.
|
maxx [Gg.Box3] | maxx b is V3.x (max b) .
|
maxx [Gg.Box2] | maxx b is V2.x (max b) .
|
maxx [Gg.Box1] | maxx b is max b .
|
maxy [Gg.Box3] | maxy b is V3.y (max b) .
|
maxy [Gg.Box2] | maxy b is V2.y (max b) .
|
maxz [Gg.Box3] | maxz b is V3.z (max b) .
|
mem [Gg.Box] | mem p b is true iff p is in S(b ).
|
mem [Gg.Box3] | mem p b is true iff p is in S(b ).
|
mem [Gg.Box2] | mem p b is true iff p is in S(b ).
|
mem [Gg.Box1] | mem p b is true iff p is in S(b ).
|
mid [Gg.Box] | mid b is the mid point between min and max .
|
mid [Gg.P] | mid p q is the mid point (p + q)/2 .
|
mid [Gg.Box3] | mid b is the mid point between min and max .
|
mid [Gg.Box2] | mid b is the mid point between min and max .
|
mid [Gg.Box1] | mid b is the mid point between min and max .
|
mid [Gg.P3] | mid p q is the mid point (p + q)/2 .
|
mid [Gg.P2] | mid p q is the mid point (p + q)/2 .
|
midx [Gg.Box3] | midx b is V3.x (mid b) .
|
midx [Gg.Box2] | midx b is V2.x (mid b) .
|
midx [Gg.Box1] | midx b is mid b .
|
midy [Gg.Box3] | midy b is V3.y (mid b) .
|
midy [Gg.Box2] | midy b is V2.y (mid b) .
|
midz [Gg.Box3] | midz b is V3.z (mid b) .
|
min [Gg.Box] | min b is the smallest point of b (its origin).
|
min [Gg.Box3] | min b is the smallest point of b (its origin).
|
min [Gg.Box2] | min b is the smallest point of b (its origin).
|
min [Gg.Box1] | min b is the smallest point of b (its origin).
|
min_sub_float [Gg.Float] |
The smallest positive subnormal floating point number.
|
minx [Gg.Box3] | minx b is V3.x (min b) .
|
minx [Gg.Box2] | minx b is V2.x (min b) .
|
minx [Gg.Box1] | minx b is min b .
|
miny [Gg.Box3] | miny b is V3.y (min b) .
|
miny [Gg.Box2] | miny b is V2.y (min b) .
|
minz [Gg.Box3] | minz b is V3.z (min b) .
|
mix [Gg.V] | mix u v t is the linear interpolation u + t(v - u) .
|
mix [Gg.V4] | mix u v t is the linear interpolation u + t(v - u) .
|
mix [Gg.V3] | mix u v t is the linear interpolation u + t(v - u) .
|
mix [Gg.V2] | mix u v t is the linear interpolation u + t(v - u) .
|
mix [Gg.Float] | mix x y t is the linear interpolation x +. t *. (y -. x) .
|
ml_pt [Gg.Box2] | ml_pt b is the mid-left corner of b .
|
mm_pt [Gg.Box2] | ml_pt b is {!mid} b .
|
move [Gg.Box] | move d b is b translated by d .
|
move [Gg.Box3] | move d b is b translated by d .
|
move [Gg.Box2] | move d b is b translated by d .
|
move [Gg.Box1] | move d b is b translated by d .
|
move2 [Gg.M4] |
See
Gg.M3.move2 .
|
move2 [Gg.M3] | move2 d translates 2D space in the x and y dimensions according
to d .
|
move3 [Gg.M4] | move d translates 3D space in the x, y and z dimensions according
to d .
|
mr_pt [Gg.Box2] | mr_pt b is the mid-right point of b .
|
mul [Gg.M] | |
mul [Gg.V] | mul u v is the component wise multiplication u * v .
|
mul [Gg.M4] | |
mul [Gg.M3] | |
mul [Gg.M2] | |
mul [Gg.Quat] | mul q r is the quaternion multiplication q * r .
|
mul [Gg.V4] | mul u v is the component wise multiplication u * v .
|
mul [Gg.V3] | mul u v is the component wise multiplication u * v .
|
mul [Gg.V2] | mul u v is the component wise multiplication u * v .
|
N | |
nan [Gg.Float] | nan payload is a NaN whose 51 lower significand bits are
defined by the 51 lower (or less, as int allows) bits of
payload .
|
nan_payload [Gg.Float] | nan_payload x is the 51 lower significand bits (or less, as
int allows) of the NaN x .
|
nbl_pt [Gg.Box3] | nbl_pt b is the near-bottom-left corner of b .
|
nbr_pt [Gg.Box3] | nbl_pt b is the near-bottom-right corner of b .
|
neg [Gg.M] | neg a is the negated matrix -a .
|
neg [Gg.V] | neg v is the inverse vector -v .
|
neg [Gg.M4] | neg a is the negated matrix -a .
|
neg [Gg.M3] | neg a is the negated matrix -a .
|
neg [Gg.M2] | neg a is the negated matrix -a .
|
neg [Gg.V4] | neg v is the inverse vector -v .
|
neg [Gg.V3] | neg v is the inverse vector -v .
|
neg [Gg.V2] | neg v is the inverse vector -v .
|
neg_infinity [Gg.V] | neg_infinity is the vector whose components are neg_infinity .
|
neg_infinity [Gg.V4] | neg_infinity is the vector whose components are neg_infinity .
|
neg_infinity [Gg.V3] | neg_infinity is the vector whose components are neg_infinity .
|
neg_infinity [Gg.V2] | neg_infinity is the vector whose components are neg_infinity .
|
nlerp [Gg.Quat] | nlerp q r t is the normalized linear interpolation between q
and r at t .
|
norm [Gg.V] | norm v is the norm |v| = sqrt v.v .
|
norm [Gg.V4] | norm v is the norm |v| = sqrt v.v .
|
norm [Gg.V3] | norm v is the norm |v| = sqrt v.v .
|
norm [Gg.V2] | norm v is the norm |v| = sqrt v.v .
|
norm2 [Gg.V] | norm2 v is the squared norm |v| 2 .
|
norm2 [Gg.V4] | norm2 v is the squared norm |v| 2 .
|
norm2 [Gg.V3] | norm2 v is the squared norm |v| 2 .
|
norm2 [Gg.V2] | norm2 v is the squared norm |v| 2 .
|
ntl_pt [Gg.Box3] | nbl_pt b is the near-top-left corner of b .
|
ntr_pt [Gg.Box3] | nbl_pt b is the near-top-right corner of b .
|
O | |
o [Gg.Box] | o b is the origin of b .
|
o [Gg.P] | o is the point whose coordinates are all zero.
|
o [Gg.Box3] | o b is the origin of b .
|
o [Gg.Box2] | o b is the origin of b .
|
o [Gg.Box1] | o b is the origin of b .
|
o [Gg.P3] | o is the point (0 0 0) .
|
o [Gg.P2] | o is the point (0 0) .
|
of_array [Gg.Ba] | of_array st a is a bigarray from array a .
|
of_bigarray [Gg.Ba.Buffer] | of_bigarray ba is a buffer for the bigarray ba .
|
of_bytes [Gg.Ba] | of_bytes be s k is a bigarray of kind k from s .
|
of_cols [Gg.M4] | of_cols c0 c1 c2 c3 is the matrix whose columns are c0 , c1 , c2
and c3 .
|
of_cols [Gg.M3] | of_cols c0 c1 c2 is the matrix whose columns are c0 , c1 and c2 .
|
of_cols [Gg.M2] | of_cols c0 c1 is the matrix whose columns are c0 and c1 .
|
of_h [Gg.Size2] | of_h h aspect is v (h *. aspect) h .
|
of_lab [Gg.Color] | of_lab c is the L*a*b* color c as a Gg color value.
|
of_lch_ab [Gg.Color] | of_lch_ab c is the L*C*hab color c as a Gg color.
|
of_lch_uv [Gg.Color] | of_lch_uv c is the L*C*huv color c as a Gg color.
|
of_list [Gg.Ba] | of_list st l is a bigarray from list l .
|
of_luv [Gg.Color] | of_luv c is the L*u*v* color c as a Gg color.
|
of_m2_v2 [Gg.M3] | of_m2_v2 m v is the matrix whose first two rows are
those of m ,v side by side and the third is 0 0 1 .
|
of_m3 [Gg.M2] | of_m3 m extracts the 2D linear part (top-left 2x2 matrix) of m .
|
of_m3 [Gg.Quat] | of_m3 m is the unit quaternion for the rotation in m .
|
of_m3_v3 [Gg.M4] | of_m3_v3 m v is the matrix whose first three rows are
those of m ,v side by side and the fourth is 0 0 0 1 .
|
of_m4 [Gg.M3] | of_m4 m extracts the 3D linear part (top-left 3x3 matrix) of m .
|
of_m4 [Gg.M2] | of_m4 m extracts the 2D linear part (top-left 2x2 matrix) of m .
|
of_m4 [Gg.Quat] | of_m4 m is the unit quaternion for the rotation in the 3x3
top left matrix in m .
|
of_polar [Gg.V2] | of_polar pv is a vector whose cartesian coordinates (x, y)
correspond to the radial and angular
polar
coordinates (r, theta) given by (V2.x pv, V2.y pv) .
|
of_pts [Gg.Box] | of_pts p p' is the smallest box whose space contains p and p' .
|
of_pts [Gg.Box3] | of_pts p p' is the smallest box whose space contains p and p' .
|
of_pts [Gg.Box2] | of_pts p p' is the smallest box whose space contains p and p' .
|
of_pts [Gg.Box1] | of_pts p p' is the smallest box whose space contains p and p' .
|
of_quat [Gg.M4] | to_quat q is the rotation of the unit quaternion q as
4D matrix.
|
of_quat [Gg.M3] | of_quat q is the rotation of the unit quaternion q as
3D matrix.
|
of_rows [Gg.M4] | of_rows r0 r1 r2 r3 is the matrix whose rows are r0 , r1 , r2 and
r3 .
|
of_rows [Gg.M3] | of_rows r0 r1 r2 is the matrix whose rows are r0 , r1 and r2 .
|
of_rows [Gg.M2] | of_rows r0 r1 is the matrix whose rows are r0 and r1 .
|
of_spherical [Gg.V3] | of_spherical sv is the vector whose cartesian coordinates
(x, y, z) correspond to the radial, azimuth
angle and zenith angle
spherical
coordinates (r, theta, phi) given by (V3.x sv, V2.y sv, V3.z sv) .
|
of_srgb [Gg.Color] | of_srgb c is the sRGB color c as a Gg color.
|
of_tuple [Gg.V4] | of_tuple (x, y, z, w) is v x y z w .
|
of_tuple [Gg.V3] | of_tuple (x, y, z) is v x y z .
|
of_tuple [Gg.V2] | of_tuple (x, y) is V2.v x y .
|
of_v2 [Gg.V4] | of_v2 u z w is v (V2.x u) (V2.y u) z w .
|
of_v2 [Gg.V3] | of_v2 u z is v (V2.x u) (V2.y u) z .
|
of_v3 [Gg.V4] | of_v3 u w is v (V3.x u) (V3.y u) (V3.z u) w .
|
of_v3 [Gg.V2] | of_v3 u is v (V3.x u) (V3.y u) .
|
of_v4 [Gg.V3] | of_v4 u z is v (V4.x u) (V4.y u) (V4.z u) .
|
of_v4 [Gg.V2] | of_v4 u is v (V4.x u) (V4.y u) .
|
of_w [Gg.Size2] | of_w w aspect is v w (w /. aspect) .
|
ortho [Gg.M4] | ortho left right bot top near far maps the axis aligned box with
corners (left, bot, -near) and (right, top, -far) to
the axis aligned cube with corner (-1, -1, -1) and (1, 1, 1) .
|
ortho [Gg.V2] | ortho v is v rotated by pi / 2.
|
ow [Gg.V4] | ow is the unit vector (0. 0. 0. 1.) .
|
ox [Gg.Box3] | ox b is V3.x (o b) .
|
ox [Gg.Box2] | ox b is V2.x (o b) .
|
ox [Gg.Box1] | ox b is o b .
|
ox [Gg.V4] | ox is the unit vector (1. 0. 0. 0.) .
|
ox [Gg.V3] | ox is the unit vector (1. 0. 0.) .
|
ox [Gg.V2] | ox is the unit vector (1. 0.) .
|
oy [Gg.Box3] | oy b is V3.y (o b) .
|
oy [Gg.Box2] | oy b is V2.y (o b) .
|
oy [Gg.V4] | oy is the unit vector (0. 1. 0. 0.) .
|
oy [Gg.V3] | oy is the unit vector (0. 1. 0.) .
|
oy [Gg.V2] | oy is the unit vector (0. 1.) .
|
oz [Gg.Box3] | oz b is V3.z (o b) .
|
oz [Gg.V4] | oz is the unit vector (0. 0. 1. 0.) .
|
oz [Gg.V3] | oz is the unit vector (0. 0. 1.) .
|
P | |
p_gray_l [Gg.Color] | p_gray_l is a linear gray color profile
|
p_rgb_l [Gg.Color] | p_rgb_l is the color profile of color values.
|
pack [Gg.Raster.Sample] | pack sf is sf 's sample pack, if any.
|
persp [Gg.M4] | persp left right bot top near far maps the frustum with top of
the underlying pyramid at the origin, near clip rectangle corners
(left, bot, -near) , (right, top, -near) and far plane at
-far to the axis aligned cube with corners (-1, -1, -1) and
(1,1,1) .
|
pi [Gg.Float] |
The constant pi.
|
pi_div_2 [Gg.Float] | pi /. 2 .
|
pi_div_4 [Gg.Float] | pi /. 4 .
|
polar [Gg.V2] | polar r theta is V2.of_polar (V2.v r theta) .
|
pp [Gg.Box] | pp ppf b prints a textual representation of b on ppf .
|
pp [Gg.M] | pp ppf a prints a textual representation of a on ppf .
|
pp [Gg.V] | pp ppf v prints a textual representation of v on ppf .
|
pp [Gg.Raster] | pp ppf t prints a textual represenation of t on ppf .
|
pp [Gg.Ba.Buffer] | pp b prints a textual representation of b on
ppf .
|
pp [Gg.Ba] | pp count stride first dim pp_scalar ppf b prints on ppf ,
count groups of size dim of scalars of b , starting at first
using pp_scalar , and striding stride scalars to go from group
to group.
|
pp [Gg.Box3] | pp ppf b prints a textual representation of b on ppf .
|
pp [Gg.Box2] | pp ppf b prints a textual representation of b on ppf .
|
pp [Gg.Box1] | pp ppf b prints a textual representation of b on ppf .
|
pp [Gg.M4] | pp ppf a prints a textual representation of a on ppf .
|
pp [Gg.M3] | pp ppf a prints a textual representation of a on ppf .
|
pp [Gg.M2] | pp ppf a prints a textual representation of a on ppf .
|
pp [Gg.V4] | pp ppf v prints a textual representation of v on ppf .
|
pp [Gg.V3] | pp ppf v prints a textual representation of v on ppf .
|
pp [Gg.V2] | pp ppf v prints a textual representation of v on ppf .
|
pp [Gg.Float] | pp ppf x prints a lossless textual representation of x on ppf .
|
pp_f [Gg.Box] | |
pp_f [Gg.M] | |
pp_f [Gg.V] | |
pp_f [Gg.Box3] | |
pp_f [Gg.Box2] | |
pp_f [Gg.Box1] | |
pp_f [Gg.M4] | |
pp_f [Gg.M3] | |
pp_f [Gg.M2] | |
pp_f [Gg.V4] | |
pp_f [Gg.V3] | |
pp_f [Gg.V2] | |
pp_format [Gg.Raster.Sample] | pp_format ppf sf prints a textual representation of sf
on ppf .
|
pp_pack [Gg.Raster.Sample] | pp_pack ppf pack prints a textual representation of pack
on ppf .
|
pp_scalar_type [Gg.Ba] | pp_scalar_type ppf st prints a textual representation of st
on ppf .
|
pp_semantics [Gg.Raster.Sample] | pp_sample_semantics ppf sem prints a textual representation of sem
on ppf .
|
pp_space [Gg.Color] | pp_space s prints a textual representation of s on ppf .
|
pred [Gg.Float] | pred x is -. succ (-.x) , i.e.
|
profile_dim [Gg.Color] | profile_space p is space_dim (profile_space d) .
|
profile_of_icc [Gg.Color] | profile_of_icc s is a profile from the ICC profile byte
stream s .
|
profile_space [Gg.Color] | profile_space p is p 's color space.
|
profile_to_icc [Gg.Color] | profile_to_icc p is p 's ICC profile byte stream.
|
R | |
r [Gg.Color] | r c is the red component of c .
|
rad_of_deg [Gg.Float] | |
random [Gg.Float] | random min len () is a random float in the interval
[min;min+len ] (min defaults to 0.).
|
red [Gg.Color] | red is (v 1. 0. 0. 1.)
|
remap [Gg.Float] | |
res [Gg.Raster] | res r is r 's resolution in sample per meters, if any.
|
res_default [Gg.Raster] | res_default is 11811spm (300spi).
|
rgb_l [Gg.Raster.Sample] | rgb_l is for linear RGB samples from the Gg.Color.p_rgb_l
profile.
|
rgba_l [Gg.Raster.Sample] | rgba_l is for linear RGB samples from the Gg.Color.p_rgb_l
profile with an alpha component.
|
right [Gg.Box1] | right b is maxx b .
|
rigid2 [Gg.M4] |
See
Gg.M3.rigid2 .
|
rigid2 [Gg.M3] | rigid2 move theta is the rigid body transformation of
2D space that rotates by theta and then translates by move .
|
rigid3 [Gg.M4] | rigid3 move rot is the rigid body transformation
of 3D space that rotates by the axis/angle rot
and then translates by move .
|
rigid3q [Gg.M4] | rigid3q move rot is the rigid body transformation of 3D space
that rotates by the quaternion rot and then translates by
move .
|
rot2 [Gg.M4] |
See
Gg.M3.rot2 .
|
rot2 [Gg.M3] | rot2 pt theta rotates 2D space around the point pt by theta .
|
rot2 [Gg.M2] | rot2 theta rotates 2D space around the origin by theta .
|
rot3_axis [Gg.M4] |
See
Gg.M3.rot3_axis .
|
rot3_axis [Gg.M3] | rot_axis v theta rotates 3D space by theta around
the unit vector v .
|
rot3_axis [Gg.Quat] |
Unit quaternion for the rotation, see
Gg.M3.rot3_axis .
|
rot3_map [Gg.M4] |
See
Gg.M3.rot3_map .
|
rot3_map [Gg.M3] | rot3_map u v rotates 3D space to map the unit vector u on
the unit vector v .
|
rot3_map [Gg.Quat] |
Unit quaternion for the rotation, see
Gg.M3.rot3_map .
|
rot3_zyx [Gg.M4] |
See
Gg.M3.rot3_zyx .
|
rot3_zyx [Gg.M3] | rot3_zyx r rotates 3D space first by V3.x r around the
x-axis, then by V3.y r around the y-axis and finally by V3.z
r around the z-axis.
|
rot3_zyx [Gg.Quat] |
Unit quaternion for the rotation, see
Gg.M3.rot3_zyx .
|
round [Gg.Box] | round b is the smallest box containing b with integer valued
corners.
|
round [Gg.Box3] | round b is the smallest box containing b with integer valued
corners.
|
round [Gg.Box2] | round b is the smallest box containing b with integer valued
corners.
|
round [Gg.Box1] | round b is the smallest box containing b with integer valued
corners.
|
round [Gg.Float] | round x is the integer nearest to x .
|
round_dfrac [Gg.Float] | round_dfrac d x rounds x to the d th decimal fractional
digit.
|
round_dsig [Gg.Float] | round_dsig d x rounds the normalized decimal significand
of x to the d th decimal fractional digit.
|
round_zero [Gg.Float] | round_zero eps x is 0. if abs_float x < eps and x otherwise.
|
row [Gg.M] | row i a is the i th row of a .
|
row [Gg.M4] | row i a is the i th row of a .
|
row [Gg.M3] | row i a is the i th row of a .
|
row [Gg.M2] | row i a is the i th row of a .
|
S | |
sample_format [Gg.Raster] | sample_format r is r 's sample format.
|
scalar_count [Gg.Raster.Sample] | sf_scalar_count first w_stride h_stride size sf is the minimal
number of scalars needed to hold a raster data with the
corresponding parameters, see Gg.Raster.v for their description.
|
scalar_strides [Gg.Raster] | scalar_strides r is (x_stride, y_stride, z_stride) where
x_stride is the number of buffer scalars from sample to sample., y_stride is the number of buffer scalars from line to line., z_stride is the number of buffer scalars from plane to plane.
The buffer index where the sample (x,y,z) starts is given by:
|
scalar_type [Gg.Raster.Sample] | scalar_type sf is sf 's buffer scalar type
|
scalar_type [Gg.Ba.Buffer] | buffer_scalar_type b is b 's buffer scalar type.
|
scalar_type_byte_count [Gg.Ba] | scalar_type_byte_count st is the number of bytes used by a scalar
of type st .
|
scalar_type_of_ba_scalar_type [Gg.Ba] | scalar_type_of_ba_scalar_type st is the scalar type corresponding
to st .
|
scale2 [Gg.M4] |
See
Gg.M2.scale2 .
|
scale2 [Gg.M3] |
See
Gg.M2.scale2 .
|
scale2 [Gg.M2] | scale2 s scales 2D space in the x and y dimensions
according to s .
|
scale3 [Gg.M4] |
See
Gg.M3.scale3 .
|
scale3 [Gg.M3] | scale3 s scales 3D space in the x , y and z dimensions
according to s .
|
scale4 [Gg.M4] | scale4 s scales 4D space in the x, y, z and w dimensions according
to s .
|
semantics [Gg.Raster.Sample] | semantics sf is sf 's semantics.
|
set_2d [Gg.Ba] | set_2d b i s1 s2 sets the i th to i+1 th scalar of b to
s1 , s2 .
|
set_3d [Gg.Ba] | set_3d b i s1 s2 s3 sets the i th to i+2 th scalar of b to
s1 , s2 , s3 .
|
set_4d [Gg.Ba] | set_4d b i s1 s2 s3 s4 sets the i th to i+3 th scalar of b
to s1 , s2 , s3 , s4 .
|
set_v2 [Gg.Ba] | set_v2 b i v sets the i th to i+1 th scalars of b with
v .
|
set_v3 [Gg.Ba] | set_v3 b i v sets the i th to i+2 th scalars of b with
v .
|
set_v4 [Gg.Ba] | set_v4 b i v sets the i th to i+3 th scalars of b with
v .
|
seti_2d [Gg.Ba] | set_2d b i s1 s2 sets the i th to i+1 th scalar of b to
s1 , s2 .
|
seti_3d [Gg.Ba] | set_3d b i s1 s2 s3 sets the i th to i+2 th scalar of b to
s1 , s2 , s3 .
|
sign [Gg.Float] | sign x is 1. if x > 0. , 0. if x = 0. , -1. if x < 0.
|
sign_bit [Gg.Float] | sign_bit x is true iff the sign bit is set in x .
|
size [Gg.Box] | size b is the size of b .
|
size [Gg.Box3] | size b is the size of b .
|
size [Gg.Box2] | size b is the size of b .
|
size [Gg.Box1] | size b is the size of b .
|
size1 [Gg.Raster] | size1 r is r 's index width.
|
size2 [Gg.Raster] | size2 r is r 's index width and height.
|
size3 [Gg.Raster] | size3 r is r 's index width, height and depth.
|
slerp [Gg.Quat] | slerp q r t is the spherical linear interpolation between q
and r at t .
|
smooth_step [Gg.Float] | smooth_step e0 e1 x is 0. if x <= e0 , 1. if x >= e1
and cubic hermite interpolation between 0.
|
smul [Gg.M] | smul s a is a 's elements multiplied by the scalar s .
|
smul [Gg.V] | smul s v is the scalar multiplication sv .
|
smul [Gg.M4] | smul s a is a 's elements multiplied by the scalar s .
|
smul [Gg.M3] | smul s a is a 's elements multiplied by the scalar s .
|
smul [Gg.M2] | smul s a is a 's elements multiplied by the scalar s .
|
smul [Gg.V4] | smul s v is the scalar multiplication sv .
|
smul [Gg.V3] | smul s v is the scalar multiplication sv .
|
smul [Gg.V2] | smul s v is the scalar multiplication sv .
|
space_dim [Gg.Color] | space_dim s is the dimension of the color space s .
|
spherical [Gg.V3] | spherical r theta phi is of_spherical (V3.v r theta phi) .
|
spm_of_spi [Gg.Raster] | spm_of_spi spi is the samples per meter corresponding to
the samples per inch spi .
|
spm_to_spi [Gg.Raster] | spm_to_spi spm is the samples per inch corresponding to the
samples per meters spm .
|
squad [Gg.Quat] | squad q cq cr r t is the spherical cubic interpolation
between q and r at t .
|
srandom [Gg.Float] | |
srigid2 [Gg.M4] |
See
Gg.M3.srigid2 .
|
srigid2 [Gg.M3] | |
srigid3 [Gg.M4] | |
srigid3q [Gg.M4] | |
step [Gg.Float] | step edge x is 0. if x < edge and 1. otherwise.
|
sub [Gg.M] | sub a b is the matrix subtraction a - b .
|
sub [Gg.V] | sub u v is the vector subtraction u - v .
|
sub [Gg.Raster] | sub region is a raster corresponding to a subset of the
index of r .
|
sub [Gg.Ba] | sub ba i len are the i th to i th + n scalars of ba
as a bigarray.
|
sub [Gg.M4] | sub a b is the matrix subtraction a - b .
|
sub [Gg.M3] | sub a b is the matrix subtraction a - b .
|
sub [Gg.M2] | sub a b is the matrix subtraction a - b .
|
sub [Gg.V4] | sub u v is the vector subtraction u - v .
|
sub [Gg.V3] | sub u v is the vector subtraction u - v .
|
sub [Gg.V2] | sub u v is the vector subtraction u - v .
|
subset [Gg.Box] | subset b b' is true iff S(b ) is included in S(b' ).
|
subset [Gg.Box3] | subset b b' is true iff S(b ) is included in S(b' ).
|
subset [Gg.Box2] | subset b b' is true iff S(b ) is included in S(b' ).
|
subset [Gg.Box1] | subset b b' is true iff S(b ) is included in S(b' ).
|
succ [Gg.Float] | succ x is the floating point value just after x towards positive
infinity.
|
T | |
tl_pt [Gg.Box2] | tl_pt b is the top-left corner of b .
|
tm_pt [Gg.Box2] | tm_pt b is the top-middle corner of b .
|
to_lab [Gg.Color] | to_lab c is the Gg color c as a L*a*b* color.
|
to_lch_ab [Gg.Color] | to_lch_ab c is the Gg color c as a L*C*hab.
|
to_lch_uv [Gg.Color] | to_lch_uv c is the Gg color c as a L*C*huv.
|
to_luv [Gg.Color] | to_luv c is the Gg color c as a L*u*v* color.
|
to_polar [Gg.V2] | to_polar v is a vector whose coordinates (r, theta) are the
radial and angular
polar
coordinates of v .
|
to_rot3_axis [Gg.Quat] | to_rot3_axis q is the rotation axis and angle of the unit
quaternion q .
|
to_rot3_zyx [Gg.Quat] | to_rot_zyx q is the x, y, z axis angles of the unit
quaternion q .
|
to_spherical [Gg.V3] | to_spherical v is the vector whose coordinate (r, theta,
phi) are the radial, azimuth angle and zenith angle
spherical
coordinates of v .
|
to_srgb [Gg.Color] | to_srgb c is the Gg color c as a sRGB color.
|
to_tuple [Gg.V4] | to_tuple v is (x v, y v, z v, w v) .
|
to_tuple [Gg.V3] | to_tuple v is (x v, y v, z v) .
|
to_tuple [Gg.V2] | of_tuple v is (V2.x v, V2.y v ).
|
tr [Gg.P] | |
tr [Gg.Box3] | tr m b is the smallest box containing the corners of b transformed
by m in homogenous 3D space.
|
tr [Gg.Box2] | tr m b is the smallest box containing the corners of b transformed
by m in homogenous 2D space.
|
tr [Gg.Box1] | tr m b is the smallest box containing the corners of b transformed
by m in homogenous 1D space.
|
tr [Gg.P3] | |
tr [Gg.P2] | |
tr [Gg.V3] | |
tr [Gg.V2] | |
tr_pt [Gg.Box2] | tr_pt b is the top-right corner of b .
|
trace [Gg.M] | |
trace [Gg.M4] | |
trace [Gg.M3] | |
trace [Gg.M2] | |
transpose [Gg.M] | |
transpose [Gg.M4] | |
transpose [Gg.M3] | |
transpose [Gg.M2] | |
two_pi [Gg.Float] | 2 *. pi
|
U | |
union [Gg.Box] | union b b' is the smallest box whose space contains
S(b ) and S(b' ).
|
union [Gg.Box3] | union b b' is the smallest box whose space contains
S(b ) and S(b' ).
|
union [Gg.Box2] | union b b' is the smallest box whose space contains
S(b ) and S(b' ).
|
union [Gg.Box1] | union b b' is the smallest box whose space contains
S(b ) and S(b' ).
|
unit [Gg.Box] | unit is the unit box which extends from zero to
one in all dimensions.
|
unit [Gg.Size] | unit is the unit size, one extent in each dimension.
|
unit [Gg.V] | unit v is the unit vector v/|v| .
|
unit [Gg.Box3] | unit is the unit box which extends from zero to
one in all dimensions.
|
unit [Gg.Box2] | unit is the unit box which extends from zero to
one in all dimensions.
|
unit [Gg.Box1] | unit is the unit box which extends from zero to
one in all dimensions.
|
unit [Gg.Size3] | unit is the unit size, one width, height and depth.
|
unit [Gg.Size2] | unit is the unit size, one width and height.
|
unit [Gg.Size1] | unit is the unit size, one width.
|
unit [Gg.Quat] | |
unit [Gg.V4] | unit v is the unit vector v/|v| .
|
unit [Gg.V3] | unit v is the unit vector v/|v| .
|
unit [Gg.V2] | unit v is the unit vector v/|v| .
|
V | |
v [Gg.Box] | v o size is a box whose origin is o and size is size .
|
v [Gg.Raster] | v res first w_stride h_stride size sf buf is raster data with
sample format sf and buffer b .
|
v [Gg.Color] | v r g b a is the linear sRGB color (r, g, b, a) as
a color value.
|
v [Gg.Box3] | v o size is a box whose origin is o and size is size .
|
v [Gg.Box2] | v o size is a box whose origin is o and size is size .
|
v [Gg.Box1] | v o size is a box whose origin is o and size is size .
|
v [Gg.Size3] | v w h d is a size of width w , height h and depth d .
|
v [Gg.Size2] | v w h is a size of width w and height h .
|
v [Gg.Size1] | v w is a size of width w .
|
v [Gg.M4] | v e00 e01 e02 e03 e10 e11 e12 e13 e20 e21 e22 e23 e30 e31 e32 e33
is a matrix whose components are specified in
row-major order
|
v [Gg.M3] | v e00 e01 e02 e10 e11 e12 e20 e21 e22 is a matrix whose components
are specified in
row-major order
|
v [Gg.M2] | v e00 e01 e10 e11 is a matrix whose components are
specified in
row-major order
|
v [Gg.Quat] | v x y z w is the quaternion x i+ y j + z k + w .
|
v [Gg.P3] | v x y z is the point (x y z) .
|
v [Gg.P2] | v x y is the point (x y) .
|
v [Gg.V4] | v x y z w is the vector (x y z w) .
|
v [Gg.V3] | v x y z is the vector (x y z) .
|
v [Gg.V2] | v x y is the vector (x y) .
|
v_mid [Gg.Box] | |
v_mid [Gg.Box3] | |
v_mid [Gg.Box2] | |
v_mid [Gg.Box1] | |
v_srgb [Gg.Color] | v r g b ~a is the sRGB color (r, g, b, a) converted to a color
value.
|
v_srgbi [Gg.Color] | v_srgbi r g b ~a is the sRGB color (r,g,b,a) converted to
a color value by (v_srgb (float r /. 255.) (float g /. 255.)
(float b /. 255.) ~a )
|
void [Gg.Color] | void is (v 0. 0. 0. 0.) an invisible color.
|
volume [Gg.Box3] | volume b is the volume of b .
|
W | |
w [Gg.Raster] | w r is r 's index width.
|
w [Gg.Box3] | w b is Size3.w (size b) .
|
w [Gg.Box2] | w b is Size2.w (size b) .
|
w [Gg.Box1] | w b is size b .
|
w [Gg.Size3] | w s is the width of s .
|
w [Gg.Size2] | w s is the width of s .
|
w [Gg.Size1] | w s is the width of s .
|
w [Gg.V4] | z v is the z component of v .
|
w_stride [Gg.Raster] | w_stride r is the number of samples to skip to go
from the first sample of a line to the first sample of
the next line.
|
white [Gg.Color] | white is (v 1. 1. 1. 1.)
|
wi [Gg.Raster] | wi r is r 's index width in number of samples.
|
with_a [Gg.Color] | with_a c a is the same color as c but with the alpha
component a .
|
wrap_angle [Gg.Float] | wrap_angle r is the angle r in the interval [-pi;pi [.
|
X | |
x [Gg.P3] | x p is the x coordinate of p .
|
x [Gg.P2] | x p is the x coordinate of p .
|
x [Gg.V4] | x v is the x component of v .
|
x [Gg.V3] | x v is the x component of v .
|
x [Gg.V2] | x v is the x component of v .
|
Y | |
y [Gg.P3] | y p is the y coordinate of p .
|
y [Gg.P2] | y p is the y coordinate of p .
|
y [Gg.V4] | y v is the y component of v .
|
y [Gg.V3] | y v is the y component of v .
|
y [Gg.V2] | y v is the y component of v .
|
Z | |
z [Gg.P3] | y p is the z coordinate of p .
|
z [Gg.V4] | z v is the z component of v .
|
z [Gg.V3] | z v is the z component of v .
|
zenith [Gg.V3] | |
zero [Gg.Box] | zero is a box whose origin and size is zero.
|
zero [Gg.Size] | zero is the zero size, zero extent in each dimension.
|
zero [Gg.M] | zero is the neutral element for Gg.M.add .
|
zero [Gg.V] | zero is the neutral element for Gg.V.add .
|
zero [Gg.Box3] | zero is a box whose origin and size is zero.
|
zero [Gg.Box2] | zero is a box whose origin and size is zero.
|
zero [Gg.Box1] | zero is a box whose origin and size is zero.
|
zero [Gg.Size3] | zero is the zero size, zero width, height and depth.
|
zero [Gg.Size2] | zero is the zero size, zero width and height.
|
zero [Gg.Size1] | zero is the zero size, zero width.
|
zero [Gg.M4] | zero is the neutral element for Gg.M4.add .
|
zero [Gg.M3] | zero is the neutral element for Gg.M3.add .
|
zero [Gg.M2] | zero is the neutral element for Gg.M2.add .
|
zero [Gg.Quat] | zero is the zero quaternion.
|
zero [Gg.V4] | zero is the neutral element for Gg.V4.add .
|
zero [Gg.V3] | zero is the neutral element for Gg.V3.add .
|
zero [Gg.V2] | zero is the neutral element for Gg.V2.add .
|