HMLP: High-performance Machine Learning Primitives
pvfmm::Permutation< ValueType > Class Template Reference

#include <matrix.hpp>

Public Member Functions

 Permutation (Long size)
 
Matrix< ValueType > GetMatrix () const
 
Long Dim () const
 
Permutation< ValueType > Transpose ()
 
Permutation< ValueType > operator* (const Permutation< ValueType > &P) const
 
Matrix< ValueType > operator* (const Matrix< ValueType > &M) const
 

Static Public Member Functions

static Permutation< ValueType > RandPerm (Long size)
 

Public Attributes

Vector< Long > perm
 
Vector< ValueType > scal
 

Detailed Description

template<class ValueType>
class pvfmm::Permutation< ValueType >

/brief P=[e(p1)*s1 e(p2)*s2 ... e(pn)*sn], where e(k) is the kth unit vector, perm := [p1 p2 ... pn] is the permutation vector, scal := [s1 s2 ... sn] is the scaling vector.


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