Create a symmetric tensor from a stick tensor.
Create a symmetric tensor from a stick tensor.
The stick tensor to convert to a symmetric tensor.
Create a symmetric tensor.
Create a symmetric tensor.
Stickness of the tensor.
Ballness of the tensor.
Orientation of the tensor; must be in (0, Pi].
Add two symmetric tensors.
Add two symmetric tensors.
Symmetric tensor to add to this
.
View this Vector as an array with full read and write access.
View this Vector as an array with full read and write access.
Ballness of the tensor.
Helper for equals.
Helper for equals.
Compute the dot product of "this" and "that".
Compute the dot product of "this" and "that".
Test "this" and "other" for deep equality.
Test "this" and "other" for deep equality. Allows "==" to work.
Expand the vector, optionally extending the border into the expanded region.
Expand the vector, optionally extending the border into the expanded region. This operation is a key part of the FFT. The new vector is of size "bigSize" element (0) of this is anchored at (0) in the larger vector. If "borderFill" is true, then the two edges of the vector are extended evenly in all directions, as though the bigger vector were actually a loop with opposite edges touching.
Reverses the order of the elements in this
Reverses the order of the elements in this
Get the data in the tensor, flattened to a linear array.
Required because of overriding equals.
Required because of overriding equals.
The number of "numbers" held in the tensor.
The number of "numbers" held in the tensor.
Orientation of the tensor, in (0, Pi].
Tensor accessor.
Reduce a Vector to a scalar using "f".
Reduce a Vector to a scalar using "f".
Shape of the vector.
Rotates the elements of a vector, wrapping around the left side to the right side.
Rotates the elements of a vector, wrapping around the left side to the right side.
The rotation is specified by "delta"; for example, delta=2 would cause the element at location (0) to be moved to location (2). Returns the rotated vector. This was added in support of the LowPassFunction kernel, and because Matrix has a similar method. Not currently tested. -RJC XXX
Sort vector elements in ascending order (creates new Vector, "this" unchanged).
Sort vector elements in ascending order (creates new Vector, "this" unchanged).
Stickness of the tensor.
Convert Vector to an array of doubles (copy).
Convert Vector to an array of doubles (copy).
Trim "this" to a Vector of length smallSize
.
Trim "this" to a Vector of length smallSize
.
A symmetric, positive semidefinite, order-2 tensor in 2 dimensions. See the paper "An efficient method for tensor voting using steerable filters," Franken et al, 2006, for a description.
This is implemented as a vector for efficiency because the matrix representation is redundant. The matrix form of a symmetric tensor:
is represented as a length 3 vector: