24 |
Cos : : 1 : |
Cos : : 1 : |
25 |
Pow : : 2 : |
Pow : : 2 : |
26 |
# |
# |
27 |
# vector operations |
### vector operations |
28 |
|
# Dot<ty>(u, v) -- computes dot product of u and v; ty specifies u and v's type |
29 |
Dot : ty : 2 : |
Dot : ty : 2 : |
30 |
|
# Cross(u, v) -- computes cross product of u and v |
31 |
Cross : : 2 : |
Cross : : 2 : |
32 |
|
# Select<i>(u) -- select ith element of vector u |
33 |
Select : int : 1 : |
Select : int : 1 : |
34 |
|
# Norm<ty>(u) -- computes length of vector u; ty specifies u's type |
35 |
Norm : ty : 1 : |
Norm : ty : 1 : |
36 |
|
# Scale<ty>(s,u) -- multiply scalar s time vector u; ty specifies u's type |
37 |
Scale : ty : 2 : scalar*vector multiplication |
Scale : ty : 2 : scalar*vector multiplication |
38 |
|
# IncScale<ty>(s,u) -- divide vector u by scalar s; ty specifies u's type |
39 |
InvScale : ty : 2 : vector/scalar division |
InvScale : ty : 2 : vector/scalar division |
40 |
CL : : 1 : linear anisotropy measures |
CL : : 1 : linear anisotropy measures |
41 |
PrincipleEvec : ty : 2 : principle eigenvector; ty is result vector type |
PrincipleEvec : ty : 2 : principle eigenvector; ty is result vector type |
42 |
Subscript : ty : 2 : |
Subscript : ty : 2 : |
43 |
Floor : int : 1 : compute real floor of a vector |
Floor : int : 1 : compute real floor of a vector |
44 |
# |
# |
45 |
# conversions |
### conversions |
46 |
IntToReal : : 1 : |
IntToReal : : 1 : |
47 |
TruncToInt : int : 1 : |
TruncToInt : int : 1 : |
48 |
RoundToInt : int : 1 : |
RoundToInt : int : 1 : |
49 |
CeilToInt : int : 1 : |
CeilToInt : int : 1 : |
50 |
FloorToInt : int : 1 : |
FloorToInt : int : 1 : |
51 |
# |
# |
52 |
# image/kernel operations |
### image/kernel operations |
53 |
VoxelAddress : ImageInfo.info : * : compute the address of a voxel |
VoxelAddress : ImageInfo.info : * : compute the address of a voxel |
54 |
LoadVoxels : RawTypes.ty * int : 1 : load a vector of voxel values from an address |
LoadVoxels : RawTypes.ty * int : 1 : load a vector of voxel values from an address |
55 |
Transform : ImageInfo.info : 1 : transform a position to image-space |
Transform : ImageInfo.info : 1 : transform a position to image-space |
56 |
|
# EvalKernel<i,h,k>(u) |
57 |
EvalKernel : int * Kernel.kernel * int : 1 : apply a kernel function to a scalar or vector of arguments |
EvalKernel : int * Kernel.kernel * int : 1 : apply a kernel function to a scalar or vector of arguments |
58 |
LoadImage : ImageInfo.info : 0 : image-file loading |
LoadImage : ImageInfo.info : 0 : image-file loading |
59 |
Inside : : 2 : |
Inside : : 2 : |