Home
last modified time | relevance | path

Searched refs:Vector (Results 1 – 25 of 40) sorted by relevance

12

/cmsis-dsp-latest/dsppp/Include/dsppp/
Dfusion_ops.hpp28 using Vector= typename vector_traits<Scalar>::vector ; typedef
31 Vector const operator()(const Vector lhs) const in operator ()()
43 Vector const operator()(const Vector lhs,const pred_t p0) const in operator ()()
77 using Vector= typename vector_traits<Scalar>::vector ; typedef
81 Vector const operator()(const Vector lhs, in operator ()()
82 const Vector rhs) const in operator ()()
87 Vector const operator()(const Vector lhs, in operator ()()
93 Vector const operator()(const Scalar lhs, in operator ()()
94 const Vector rhs) const in operator ()()
101 Vector const operator()(const Vector lhs, in operator ()()
[all …]
Dvector_impl.hpp163 using Vector = typename vector_traits<P>::vector; typedef
178 void vector_store(const index_t i,const Vector val) const in vector_store()
196 void vector_store_tail(const index_t i,const vector_length_t remaining,const Vector val) const in vector_store_tail()
213 Vector const vector_op_tail(const index_t i,const vector_length_t remaining) const in vector_op_tail()
230 Vector const vector_op(const index_t i) const in vector_op()
282 typedef typename vector_traits<T>::vector Vector; typedef
295 struct Vector:Vector_Base<P> { struct
317 Vector():Vector_Base<P>(L,Vector::allocate()){}; in Vector() argument
326 explicit Vector(P init_val):Vector_Base<P>(L,Vector::allocate(),init_val){ in Vector() argument
337 Vector(const std::initializer_list<P> &l) in Vector() function
[all …]
Dvec.hpp51 struct VecRef<Vector<P,L,A>,(L<0)>
55 … static VectorView<P,1> ref(const Vector<P,L,A>&a,typename std::enable_if<(L<0)>::type* = nullptr){ in ref()
63 struct VecRef<Vector<P,L,A>,(L>0)>
65 typedef const Vector<P,L,A>& type;
66 …static const Vector<P,L,A>& ref(const Vector<P,L,A>&a,typename std::enable_if<(L>0)>::type* = null… in ref()
162 typedef typename vector_traits<T>::vector Vector; typedef
169 struct traits<Vector<P,L,Allocator>>
173 typedef typename vector_traits<P>::vector Vector; typedef
180 struct traits<const Vector<P,L,Allocator>&>
184 typedef typename vector_traits<P>::vector Vector; typedef
[all …]
Dfusion.hpp16 typedef typename vector_traits<T>::vector Vector; typedef
235 using Vector = typename traits<T>::Vector; typedef
279 Vector const vector_op(const index_t i) const {return(this->derived().vector_op(i));} in vector_op()
289Vector const vector_op_tail(const index_t i,const vector_length_t remaining) const {return(this->d… in vector_op_tail()
299Vector const matrix_op(const index_t r,const index_t c) const {return(this->derived().matrix_op(r,… in matrix_op()
310Vector const matrix_op_tail(const index_t r,const index_t c,const vector_length_t remaining) const… in matrix_op_tail()
362 using Vector = typename traits<LHS>::Vector; typedef
473 Vector const vector_op(const index_t i) const in vector_op()
483 Vector const vector_op_tail(const index_t i,const vector_length_t remaining) const
493 Vector const vector_op(const index_t i) const
[all …]
Dunroll.hpp56 …using Vector = std::tuple<typename vector_traits<typename traits<std::remove_reference_t<E>>::Scal… typedef
59 …void vector_store_impl(const index_t i,const Vector &val, const std::index_sequence<Ns...>) const … in vector_store_impl()
64 void vector_store(const index_t i,const Vector &val) const noexcept in vector_store()
71 …void vector_store_tail_impl(const index_t i,const vector_length_t remaining,const Vector &val, con… in vector_store_tail_impl()
77 …void vector_store_tail(const index_t i,const vector_length_t remaining,const Vector &val) const no… in vector_store_tail()
85 Vector vector_op_impl(const int i, const std::index_sequence<Ns...>) const noexcept in vector_op_impl()
90 Vector vector_op(const index_t i) const noexcept in vector_op()
97Vector vector_op_tail_impl(const index_t i,const vector_length_t remaining, const std::index_seque… in vector_op_tail_impl()
102 Vector vector_op_tail(const index_t i,const vector_length_t remaining) const noexcept in vector_op_tail()
130 …ple<typename vector_traits<typename traits<std::remove_reference_t<E>>::Scalar>::vector...> Vector; typedef
[all …]
Dvector_view.hpp151 using Vector = typename vector_traits<T>::vector; typedef
163 void vector_store(const index_t i,const Vector val) in vector_store()
181 void vector_store_tail(const index_t i,const vector_length_t remaining,const Vector val) in vector_store_tail()
198 Vector const vector_op_tail(const index_t i,const vector_length_t remaining) const in vector_op_tail()
215 Vector const vector_op(const index_t i) const in vector_op()
607 using Vector = typename vector_traits<T>::vector; typedef
619 void vector_store(index_t i,Vector val) in vector_store()
637 void vector_store_tail(index_t i,vector_length_t remaining,Vector val) in vector_store_tail()
654 Vector const vector_op_tail(index_t i,vector_length_t remaining) const in vector_op_tail()
671 Vector const vector_op(index_t i) const in vector_op()
Dmatrix.hpp35 typedef typename vector_traits<P>::vector Vector; typedef
44 typedef typename vector_traits<P>::vector Vector; typedef
54 typedef typename vector_traits<P>::vector Vector; typedef
63 typedef typename vector_traits<P>::vector Vector; typedef
393 typedef Vector<typename traits<V>::Scalar,
482 using Vector = typename traits<LHS>::Vector; typedef
603 Vector const matrix_op(const index_t r,const index_t c) const in matrix_op()
623Vector const matrix_op_tail(const index_t r,const index_t c,const vector_length_t remaining) const in matrix_op_tail()
678 typedef typename traits<LHS>::Vector Vector; typedef
Dmatrix_impl.hpp60 struct Matrix:Vector<P,R*C,Allocator>
80 Matrix():Vector<P,R*C,Allocator>(){}; in Matrix()
85 explicit Matrix(P init_val):Vector<P,R*C,Allocator>(init_val){}; in Matrix()
95 explicit Matrix(const Matrix<P,R,C,OtherAllocator>& other):Vector<P,R*C,Allocator>() in Matrix()
111 Matrix(const _Expr<Derived>& other):Vector<P,R*C,Allocator>(other) in Matrix()
126 Matrix(const _Expr<Derived>& other):Vector<P,R*C,Allocator>()
594 struct Matrix<P,DYNAMIC,DYNAMIC,Allocator>:Vector<P,DYNAMIC,Allocator>
616 Vector<P,DYNAMIC,Allocator>(r*c),rows_(r),columns_(c){}; in Matrix()
624 Vector<P,DYNAMIC,Allocator>(r*c,init_val),rows_(r),columns_(c){}; in Matrix()
659 Vector<P,DYNAMIC,Allocator>(other.rows()*other.columns()), in Matrix()
[all …]
Dforward.hpp15 struct Vector;
/cmsis-dsp-latest/dsppp/Examples/
Dvector_op.cpp31 Vector<float32_t,NB> a; in main()
32 Vector<float32_t,NB> b; in main()
33 Vector<float32_t,NB> c; in main()
41 Vector<float32_t,NB> d = a + b * c; in main()
60 Vector<Q15,NB> aQ15; in main()
61 Vector<Q15,NB> bQ15; in main()
62 Vector<Q15,NB> cQ15; in main()
70 Vector<Q15,NB> dQ15 = aQ15 + bQ15 * cQ15; in main()
Ddot_product.cpp28 Vector<float32_t,NB> a; in main()
29 Vector<float32_t,NB> b; in main()
30 Vector<float32_t,NB> c; in main()
31 Vector<float32_t,NB> d; in main()
/cmsis-dsp-latest/Testing/
Dbench.txt35 Vector maximum:test_max_f32
36 Vector average:test_mean_f32
37 Vector minimum:test_min_f32
38 Vector energy:test_power_f32
39 Vector root mean square:test_rms_f32
40 Vector standard deviation:test_std_f32
41 Vector variance:test_var_f32
43 Vector logsumexp:test_logsumexp_f32
45 Vector logsumexp dot product:test_logsumexp_dot_prod_f32
46 Vector max with no index:test_max_no_idx_f32
[all …]
Dbench_f16.txt35 Vector maximum:test_max_f16
36 Vector average:test_mean_f16
37 Vector minimum:test_min_f16
38 Vector energy:test_power_f16
39 Vector root mean square:test_rms_f16
40 Vector standard deviation:test_std_f16
41 Vector variance:test_var_f16
43 Vector logsumexp:test_logsumexp_f16
45 Vector logsumexp dot product:test_logsumexp_dot_prod_f16
46 Vector max with no index:test_max_no_idx_f16
[all …]
/cmsis-dsp-latest/Documentation/Doxygen/src/
Dtemplate.md32 For instance, we could have a template `Vector<T>` and thus different types `Vector<float32_t>`, `V…
37 `Vector<float32_t,10>` for a vector of `float` and of length `10`. The length being known at build …
39 The types `Vector<float32_t,10>` and `Vector<float32_t,5>` should be considered as different types …
41 …. The code for a template algorithm using `Vector<float32_t,10>` would be different from the code …
48 For instance one could use `Vector<float32_t>` or `Vector<float32_t,10>`.
50 …implicit parameter with a default value and it is equivalent to writing `Vector<float32_t,DYNAMIC>…
Dvectorop.md1 # Vector operation example {#dsppp_vector_example}
39 Vector<float32_t,NB> a;
40 Vector<float32_t,NB> b;
41 Vector<float32_t,NB> c;
44 `Vector<float32_t,NB>` is creating a vector of dimension `NB` (known at build time) and datatype `f…
55 Vector<float32_t> a(NB);
76 Vector<float32_t,NB> d = a + b * c;
82 Vector<T,NB> d = a + b * c;
Dvector.md1 # Vector {#dsppp_vector}
11 struct Vector:Vector_Base<P>
26 Vector<Q15,NB> aQ15;
27 Vector<Q15,NB> bQ15;
28 Vector<Q15,NB> cQ15;
45 Vector<Q15,NB> dQ15 = aQ15 + bQ15 * cQ15;
Dmemory_allocator.md6 Vector<float32_t,NB>
11 The definition of the `Vector` template is:
17 struct Vector:Vector_Base<P>
75 using PVector = Vector<P,L,pool_allocator>;
83 Vector<float32_t> v(NB);
Ddsppp_main.md9 * @subpage dsppp_vector_example "Vector operation example"
14 * @subpage dsppp_vector "Vector operators"
Dcode_size.md3 It was explained in previous sections that types `Vector<T,NB1>` and `Vector<T,NB2>` are considered…
Dmatrix.md46 …Matrix, Matrix`). It is only supported with vectors : `dot(Vector,Vector)` or `dot(Matrix,Vector)`.
Dintroduction.md42 ### Vector operations
56 Vector<float32_t,NB> d = a + b * c;
Dmemory_static_dynamic.md5 * `Vector<T>` with a dimension known at runtime
6 * `Vector<T,NB>` with a dimension known at build time
/cmsis-dsp-latest/dsppp/tests/
Dcommon_tests.h30 using PVector = Vector<P,L,malloc_allocator>;
39 using PVector = Vector<P,L,pool_allocator>;
47 using PVector = Vector<P,L,stat_allocator>;
61 void init_array(Vector<T,L,A> &pDst,std::size_t nb) in init_array()
72 void init_array(Vector<float16_t,L,A> &pDst,std::size_t nb) in init_array()
Dmatrix_test.cpp1131 inline T _householder(Vector<T,L,A> &res,const V&v,const T eps) in _householder()
1175 Vector<T,NB,TMP_ALLOC> res; in householder()
1177 return std::tuple<T,Vector<T,NB,TMP_ALLOC>>(beta,res); in householder()
1187 Vector<T,DYNAMIC,TMP_ALLOC> res(v.length()); in householder()
1189 return std::tuple<T,Vector<T,DYNAMIC,TMP_ALLOC>>(beta,res); in householder()
1286 Vector<T,C,TMP_ALLOC> tau; in QR()
1292 Vector<T,R,TMP_ALLOC> tmpvec; in QR()
1295 Vector<T> tau(m.columns()); in QR()
1301 Vector<T> tmpvec(m.rows()); in QR()
1475 Vector<T,R,TMP_ALLOC> tmp; in cholesky()
[all …]
/cmsis-dsp-latest/dsppp/Include/dsppp/Helium/
Dbasic.hpp296 using Vector = typename vector_traits<Scalar>::vector; in _swap() typedef
300 Vector tmpa,tmpb; in _swap()

12