|
| | FVector () |
| | Empty constructor.
|
| |
| template<typename T2> |
| | FVector (const FArray< T2, dim > &a) |
| | Copy constructor.
|
| |
| | FVector (const T &v) |
| | Constructor with constant value.
|
| |
| template<typename T2> |
| | FVector (const T2 t[dim]) |
| | Constructor from C array.
|
| |
| | FVector (T x, T y) |
| | 2D alias.
|
| |
| | FVector (T x, T y, T z) |
| | 3D alias.
|
| |
| FVector & | fill (const T &v) |
| | Filling.
|
| |
| FVector & | normalize () |
| | Euclidean in-place normalization.
|
| |
| T | operator* (const FVector &v) const |
| | Scalar product.
|
| |
| FVector | operator* (T s) const |
| | Scalar multiplication.
|
| |
| FVector & | operator*= (T s) |
| | Scalar in place multiplication.
|
| |
| FVector | operator+ (const FVector &v) const |
| | Addition.
|
| |
| FVector | operator+ (T s) const |
| | Scalar Addition.
|
| |
| FVector & | operator+= (const FVector &v) |
| | In place Addition.
|
| |
| FVector & | operator+= (T s) |
| | Scalar in place Addition.
|
| |
| FVector | operator- () const |
| | Opposite.
|
| |
| FVector | operator- (const FVector &v) const |
| | Substraction.
|
| |
| FVector | operator- (T s) const |
| | Scalar Substraction.
|
| |
| FVector & | operator-= (const FVector &v) |
| | In place Substraction.
|
| |
| FVector & | operator-= (T s) |
| | Scalar in place substractrion.
|
| |
| FVector | operator/ (T s) const |
| | Scalar division.
|
| |
| FVector & | operator/= (T s) |
| | Scalar in place division.
|
| |
| template<typename T2> |
| FVector & | operator= (const FArray< T2, dim > &b) |
| | Assignment.
|
| |
| T | operator^ (const FVector< T, 2 > &v) const |
| | 2D cross product.
|
| |
| FVector< T, 3 > | operator^ (const FVector< T, 3 > &v) const |
| | 3D cross product.
|
| |
| T & | x () |
| | Write alias.
|
| |
| const T & | x () const |
| | Read alias.
|
| |
| T & | y () |
| | Write alias.
|
| |
| const T & | y () const |
| | Read alias.
|
| |
| T & | z () |
| | Write alias.
|
| |
| const T & | z () const |
| | Read alias.
|
| |
| | FArray () |
| | Empty constructor.
|
| |
| | FArray () |
| | Empty constructor.
|
| |
| | FArray (const FArray< T2, S > &a) |
| | Copy constructor.
|
| |
| | FArray (const FArray< T2, S > &a) |
| | Copy constructor.
|
| |
| | FArray (const T &v) |
| | Constructor with constant value.
|
| |
| | FArray (const T &v) |
| | Constructor with constant value.
|
| |
| | FArray (const T2 t[S]) |
| | Constructor from C array.
|
| |
| | FArray (const T2 t[S]) |
| | Constructor from C array.
|
| |
| | FArray (T v0, T v1) |
| | 2D alias.
|
| |
| | FArray (T v0, T v1) |
| | 2D alias.
|
| |
| | FArray (T v0, T v1, T v2) |
| | 3D alias.
|
| |
| | FArray (T v0, T v1, T v2) |
| | 3D alias.
|
| |
| | FArray (T v0, T v1, T v2, T v3) |
| | 4D alias.
|
| |
| | FArray (T v0, T v1, T v2, T v3) |
| | 4D alias.
|
| |
| iterator | begin () |
| | Begin iterator.
|
| |
| iterator | begin () |
| | Begin iterator.
|
| |
| const_iterator | begin () const |
| | Begin const iterator.
|
| |
| const_iterator | begin () const |
| | Begin const iterator.
|
| |
| FArray & | copy (const FArray< T2, S > &b) |
| | Copy.
|
| |
| FArray & | copy (const FArray< T2, S > &b) |
| | Copy.
|
| |
| FArray & | copy (const T2 t[S]) |
| | C array of different type copy.
|
| |
| FArray & | copy (const T2 t[S]) |
| | C array of different type copy.
|
| |
| T * | data () |
| | Data pointer (write).
|
| |
| T * | data () |
| | Data pointer (write).
|
| |
| const T * | data () const |
| | Data pointer (read).
|
| |
| const T * | data () const |
| | Data pointer (read).
|
| |
| bool | empty () const |
| | Is empty.
|
| |
| bool | empty () const |
| | Is empty.
|
| |
| iterator | end () |
| | End iterator.
|
| |
| iterator | end () |
| | End iterator.
|
| |
| const_iterator | end () const |
| | End const iterator.
|
| |
| const_iterator | end () const |
| | End const iterator.
|
| |
| FArray & | fill (const T &v) |
| | Filling.
|
| |
| FArray & | fill (const T &v) |
| | Filling.
|
| |
| bool | operator!= (const FArray &b) const |
| | Inequality test.
|
| |
| bool | operator!= (const FArray &b) const |
| | Inequality test.
|
| |
| FArray & | operator= (const FArray< T2, S > &b) |
| | Assignment.
|
| |
| FArray & | operator= (const FArray< T2, S > &b) |
| | Assignment.
|
| |
| bool | operator== (const FArray &b) const |
| | Equality test.
|
| |
| bool | operator== (const FArray &b) const |
| | Equality test.
|
| |
| T & | operator[] (int i) |
| | Write access.
|
| |
| T & | operator[] (int i) |
| | Write access.
|
| |
| const T & | operator[] (int i) const |
| | Read access.
|
| |
| const T & | operator[] (int i) const |
| | Read access.
|
| |
| int | size () const |
| | Size.
|
| |
| int | size () const |
| | Size.
|
| |
|
| double | dist (const FVector &a, const FVector &b) |
| | Distance.
|
| |
| FVector | div (const FVector &v, const FVector &w) |
| | Pointwise division.
|
| |
| double | doubleNorm (const FVector &v) |
| | Double Euclidean norm.
|
| |
| double | doubleNorm1 (const FVector &v) |
| | Double L1-norm.
|
| |
| double | doubleNorm2 (const FVector &v) |
| | Double squared Euclidean norm.
|
| |
| FVector | exp (const FVector &a) |
| | Pointwise exp exps of each coordinate.
|
| |
| int | intL1Dist (const FVector &a, const FVector &b) |
| | Integer L1-distance.
|
| |
| int | intNorm1 (const FVector &v) |
| | Integer L1-norm.
|
| |
| int | intNorm2 (const FVector &v) |
| | Integer squared Euclidean norm.
|
| |
| double | L1Dist (const FVector &a, const FVector &b) |
| | Double L1-distance.
|
| |
| FVector | log (const FVector &a) |
| | Pointwise log logs of each coordinate.
|
| |
| T | maxNorm (const FVector &v) |
| | Maximum norm.
|
| |
| FVector | mult (const FVector &v, const FVector &w) |
| | Pointwise multiplication.
|
| |
| T | norm (const FVector &v) |
| | Euclidean norm.
|
| |
| T | norm2 (const FVector &v) |
| | Squared Euclidean norm.
|
| |
| FVector | normalized (const FVector &v) |
| | Euclidean normalization.
|
| |
| FVector | operator* (T s, const FVector &v) |
| | Scalar multiplication.
|
| |
| FVector | operator+ (T s, const FVector &v) |
| | Scalar addition.
|
| |
| FVector | operator- (T s, const FVector &v) |
| | Scalar substraction.
|
| |
| FVector | pmax (const FVector &a, const FVector &b) |
| | Pointwise max.
|
| |
| FVector | pmin (const FVector &a, const FVector &b) |
| | Pointwise min.
|
| |
| FVector | sqrt (const FVector &a) |
| | Pointwise square root Square roots of each coordinate.
|
| |
| double | squaredDist (const FVector &a, const FVector &b) |
| | Squared distance.
|
| |
| T | sum (const FVector &v) |
| | Sum of coordinates.
|
| |
template<typename T, int dim>
class Imagine::FVector< T, dim >
Fixed size vectors.
- Parameters
-
- Examples
- Common/test/test.cpp, Images/test/test.cpp, and LinAlg/test/test.cpp.