TensorAssign< TensorEngine< 2, T, Diagonal >, T2, Op, 0, 2, 0, 2 > Struct Template Reference

Special diagonal assignment class: Has specializations for different dimensionalities (for 2, and 3, so far). More...

#include <Tensor.h>

List of all members.

Static Public Member Functions

static void apply (TensorEngine< 2, T, Diagonal > &x, const T2 &y, Op op=Op())


Detailed Description

template<class T, class T2, class Op>
struct TensorAssign< TensorEngine< 2, T, Diagonal >, T2, Op, 0, 2, 0, 2 >

Special diagonal assignment class: Has specializations for different dimensionalities (for 2, and 3, so far).

This may ultimately be replaceable with a dimensionality-independent equivalent that uses template metaprogramming.


Member Function Documentation

template<class T , class T2 , class Op >
static void TensorAssign< TensorEngine< 2, T, Diagonal >, T2, Op, 0, 2, 0, 2 >::apply ( TensorEngine< 2, T, Diagonal > &  x,
const T2 &  y,
Op  op = Op() 
) [inline, static]


The documentation for this struct was generated from the following file:

Generated on Wed Mar 16 06:20:38 2011 for FreePOOMA by  doxygen 1.5.9