SourceForge Logo Tiny Vector Matrix library using Expression Templates Sourceforge Project Page

include/tvmet/tvmet.h File Reference

#include <tvmet/config.h>
#include <tvmet/TvmetBase.h>

Include dependency graph for tvmet.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  std
namespace  tvmet
namespace  tvmet::meta
namespace  tvmet::loop
namespace  tvmet::element_wise
namespace  tvmet::util

Defines

#define TVMET_CXX_ALWAYS_INLINE
 Compiler specific stuff to force inline code if supported.
#define TVMET_COMPLEXITY_DEFAULT_TRIGGER   1000
 Trigger for changing the matrix-product strategy.
#define TVMET_COMPLEXITY_M_ASSIGN_TRIGGER   8*8
 Trigger for changing the matrix assign strategy.
#define TVMET_COMPLEXITY_MM_TRIGGER   8*8
 Trigger for changing the matrix-matrix-product strategy.
#define TVMET_COMPLEXITY_V_ASSIGN_TRIGGER   8
 Trigger for changing the vector assign strategy.
#define TVMET_COMPLEXITY_MV_TRIGGER   8*8
 Trigger for changing the matrix-vector strategy.
#define _ALL_SOURCE
#define _XOPEN_SOURCE
#define _XOPEN_SOURCE_EXTENDED
#define TVMET_CXX_ALWAYS_INLINE
 Compiler specific stuff to force inline code if supported.


Define Documentation

#define _ALL_SOURCE

#define _XOPEN_SOURCE

#define _XOPEN_SOURCE_EXTENDED

#define TVMET_COMPLEXITY_DEFAULT_TRIGGER   1000

Trigger for changing the matrix-product strategy.

#define TVMET_COMPLEXITY_M_ASSIGN_TRIGGER   8*8

Trigger for changing the matrix assign strategy.

#define TVMET_COMPLEXITY_MM_TRIGGER   8*8

Trigger for changing the matrix-matrix-product strategy.

One strategy to build the matrix-matrix-product is to use meta templates. The other to use looping.

#define TVMET_COMPLEXITY_MV_TRIGGER   8*8

Trigger for changing the matrix-vector strategy.

One strategy to build the matrix-vector-product is to use meta templates. The other to use looping.

#define TVMET_COMPLEXITY_V_ASSIGN_TRIGGER   8

Trigger for changing the vector assign strategy.

#define TVMET_CXX_ALWAYS_INLINE

Compiler specific stuff to force inline code if supported.

Mainly, this declares the functions using g++'s __attribute__((always_inline)). This features is enabled on defined TVMET_OPTIMIZE.

#define TVMET_CXX_ALWAYS_INLINE

Compiler specific stuff to force inline code if supported.

Mainly, this declares the functions using g++'s __attribute__((always_inline)). This features is enabled on defined TVMET_OPTIMIZE.


Author: