The Vish Visualization Shell 0.3
Vish
Eagle::STA::CartesianChart4D< real >::trivector Class Reference

A Tri-Vector, or oriented volume in 4D space. More...

#include <elementary/eagle/STA.hpp>

Inheritance diagram for Eagle::STA::CartesianChart4D< real >::trivector:
Eagle::Vector< real, 4 > Eagle::STA::CartesianChart4D< real > Eagle::FixedArray< real, n >

Public Member Functions

 trivector (const bivector &a, const vector &b)
 @TODO CHECK THIS IMPLEMENTATION
Public Member Functions inherited from Eagle::Vector< real, 4 >
Base_t & fixed_array ()
 Provide access to the base class, writable.
Vectoroperator*= (const real &value)
 Self-multiplication.
Vectoroperator+= (const Vector &v)
 Self-addition.
Vectoroperator-= (const Vector &v)
 Self-subtraction.
Vectoroperator/= (const real &value)
 Self-division.
Vectoroperator= (const Vector &src)
 Assignment operator.
void set (const V &value)
 Assign all values to the same scalar.
constexpr Vector ()
 Default constructor.
Public Member Functions inherited from Eagle::FixedArray< real, n >
void expandMinMax (FixedArray &MinValues, FixedArray &MaxValues) const
 Expand a range given by MinValues,MaxValues to include the values of this array, done per component.
constexpr FixedArray () noexcept
 Default constructor.
constexpr real & get (int i)
 writable element access
constexpr const FixedArray< real, subsize > * get_subarray () const
 Helper class for retrieve a subset of the current array.
constexpr const FixedArray< real, SIZE-1 > & get_subdim () const
 Mainly introduced because of Interpolate::operator[].
const FixedArray_tgetFixedArray () const noexcept
 convenience function for base classes
constexpr real getMax () const
 Compute the maximum element value of this array.
constexpr real getMin () const
 Compute the maximum element value of this array.
constexpr bool operator!= (const FixedArray< T, N > &F) const
 Compare two arrays.
constexpr bool operator== (const FixedArray< T, N > &F) const
 Compare two arrays.
constexpr real & operator[] (int i)
 writeable element access operator
constexpr real * ptr (int i=0) noexcept
 Return a pointer to the ith element, no range checking.
constexpr void set (const Value &x)
 Set all array elements to the same value.
void setFromArray (const real *x, int length=SIZE, int offset=0)
 Set all array elements to an array's element value.
void sort (FixedArray< int, N > &I) const
 Sort the elements of an array into the index array.

Additional Inherited Members

Public Types inherited from Eagle::Vector< real, 4 >
enum  
 The number of elements in this array.
Public Types inherited from Eagle::FixedArray< real, n >
typedef FlattenedArray_t::value_type Element_t
 The maximally reduced type of elements stored here.
typedef GetFixedArrayType< real >::result_t ElementAsFixedArray_t
 Element type as fixed array, if it is convertible to a fixed array.
typedef FixedArray FixedArray_t
 Exporting the type definition of this array cass type.
typedef FixedArrayFlattener< FixedArrayOfElements_tFixedArrayFlattener_t
 Internal helper class.
typedef FixedArray< ElementAsFixedArray_t, N > FixedArrayOfElements_t
 If the value is derived from a fixed array type itself, then the FixedArrayOfElements_t is an FixedArray<FixedArray<>> type.
typedef FixedArrayFlattener_t::result_t FlattenedArray_t
 Reduction of this array type, if it is nested, to an flattened type which contains elementary types.
typedef real value_type
 Export the type of the respective element value type.
Static Public Member Functions inherited from Eagle::FixedArray< real, n >
static constexpr FixedArray convert (const FixedArray< T, N > &F, const ConversionFunctor &CF)
 Perform a type conversion on a given fixed array into another basis type:
static constexpr dimension_t size ()
 The number of elements here.
Protected Attributes inherited from Eagle::FixedArray< real, n >
real data [SIZE]
 The actual data values, intentional no-initialization for data member, which increases performance on vector creation.

Detailed Description

template<class real>
class Eagle::STA::CartesianChart4D< real >::trivector

A Tri-Vector, or oriented volume in 4D space.