matrix_tft_vectorized_multiply_helper< C > Struct Template Reference

#include <matrix_tft_vectorized.hpp>

List of all members.

Public Types

Public Member Functions

Static Public Member Functions


Detailed Description

template<typename C>
struct mmx::matrix_tft_vectorized_multiply_helper< C >

Definition at line 176 of file matrix_tft_vectorized.hpp.


Member Typedef Documentation

Definition at line 180 of file matrix_tft_vectorized.hpp.

Definition at line 179 of file matrix_tft_vectorized.hpp.

Definition at line 181 of file matrix_tft_vectorized.hpp.


Member Function Documentation

typedef Scalar_type ( C   ) 
static nat size ( const C s1,
nat  s1_rs,
nat  s1_cs,
const C s2,
nat  s2_rs,
nat  s2_cs,
nat  r,
nat  l,
nat  c 
) [inline, static]

Definition at line 182 of file matrix_tft_vectorized.hpp.

References mmx::C, max(), and mmx::N().

00184                                         {
00185     nat sz= 0;
00186     for (nat k= 0; k < l; k++) {
00187       nat sz1= 0, sz2= 0;
00188       const C* ss1= s1 + k * s1_cs;
00189       const C* ss2= s2 + k * s2_rs;
00190       for (nat i= 0; i < r; i++, ss1 += s1_rs) sz1= max (sz1, N (*ss1));
00191       for (nat j= 0; j < c; j++, ss2 += s2_cs) sz2= max (sz2, N (*ss2));
00192       sz= max (sz, (sz1 == 0 || sz2 == 0) ? 0 : (sz1 + sz2 - 1));
00193     }
00194     return sz; }

typedef Vector_simd_variant (  ) 

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

Generated on 20 Mar 2013 for algebramix by  doxygen 1.6.1