データ構造 | ネームスペース | 関数
tensor.h

Tensor classes for higher-order singular value decomposition. [詳細]

#include "mist.h"
#include "matrix.h"
#include "numeric.h"
#include <numeric>
#include <functional>

ソースコードを見る。

データ構造

class  mist::tensor< M, V, A >
 Tensor class. [詳細]

ネームスペース

namespace  mist

関数

template<int M, typename V , typename A >
tensor< M, V, A > mist::operator+ (const tensor< M, V, A > &t1, const tensor< M, V, A > &t2)
 addition operator to calculate summation of two tensors
template<int M, typename V , typename A >
tensor< M, V, A > mist::operator- (const tensor< M, V, A > &t1, const tensor< M, V, A > &t2)
 subtraction operator to calculate difference betwwen two tensors
template<int M, typename V , typename A >
tensor< M, V, A > mist::operator* (const tensor< M, V, A > &t, const typename type_trait< V >::value_type &v)
 multiplication operator to calculate product of a tensor and a value
template<int M, typename V , typename A >
tensor< M, V, A > mist::operator* (const typename type_trait< V >::value_type &v, const tensor< M, V, A > &t)
 multiplication operator to calculate product of a value and a tensor
template<int M, typename V , typename A >
tensor< M, V, A > mist::operator/ (const tensor< M, V, A > &t, const typename type_trait< V >::value_type &v)
 division operator to calculate quotient of a tensor and a value
template<int M, typename V , typename A >
inline::std::ostream & mist::operator<< (::std::ostream &o, const tensor< M, V, A > &t)
 output stream operator
template<typename TV , typename TA , typename MV , typename MA >
void mist::hosvd (const tensor< 2, TV, TA > &t, tensor< 2, TV, TA > &z, matrix< MV, MA > &u1, matrix< MV, MA > &u2)
 apply higher order singular value decomposition (HOSVD) to a 2nd order tensor
template<typename TV , typename TA , typename MV , typename MA >
void mist::hosvd (const tensor< 3, TV, TA > &t, tensor< 3, TV, TA > &z, matrix< MV, MA > &u1, matrix< MV, MA > &u2, matrix< MV, MA > &u3)
 apply higher order singular value decomposition (HOSVD) to a 3rd order tensor
template<typename TV , typename TA , typename MV , typename MA >
void mist::hosvd (const tensor< 4, TV, TA > &t, tensor< 4, TV, TA > &z, matrix< MV, MA > &u1, matrix< MV, MA > &u2, matrix< MV, MA > &u3, matrix< MV, MA > &u4)
 apply higher order singular value decomposition (HOSVD) to a 4th order tensor
template<typename TV , typename TA , typename MV , typename MA >
void mist::hosvd (const tensor< 5, TV, TA > &t, tensor< 5, TV, TA > &z, matrix< MV, MA > &u1, matrix< MV, MA > &u2, matrix< MV, MA > &u3, matrix< MV, MA > &u4, matrix< MV, MA > &u5)
 apply higher order singular value decomposition (HOSVD) to a 5th order tensor

説明

Tensor classes for higher-order singular value decomposition.

2nd, 3rd, 4th, and 5th order tensors are available.


Generated on Wed Nov 12 2014 19:44:28 for MIST by doxygen 1.8.1.2