Lines Matching refs:Scalar

45   typedef _Scalar Scalar;
55 CoeffReadCost = NumTraits<Scalar>::ReadCost,
67 typedef _Scalar Scalar;
93 typedef MappedSparseMatrix<Scalar,Flags> Map;
95 typedef internal::CompressedStorage<Scalar,Index> Storage;
102 typedef SparseMatrix<Scalar,(Flags&~RowMajorBit)|(IsRowMajor?RowMajorBit:0)> TransposedSparseMatrix;
131 inline const Scalar* valuePtr() const { return &m_data.value(0); }
135 inline Scalar* valuePtr() { return &m_data.value(0); }
170 * This function returns Scalar(0) if the element is an explicit \em zero */
171 inline Scalar coeff(Index row, Index col) const
189 inline Scalar& coeffRef(Index row, Index col)
220 Scalar& insert(Index row, Index col)
276 inline void reserve(const SizesType& reserveSizes, const typename SizesType::Scalar& enableif =
280 SizesType::Scalar())
374 inline Scalar& insertBack(Index row, Index col)
381 inline Scalar& insertBackByOuterInner(Index outer, Index inner)
393 inline Scalar& insertBackByOuterInnerUnordered(Index outer, Index inner)
442 Scalar& insertByOuterInner(Index j, Index i)
490 void prune(const Scalar& reference, const RealScalar& epsilon = NumTraits<RealScalar>::dummy_precision())
498 * bool operator() (const Index& row, const Index& col, const Scalar& value) const;
500 * \sa prune(Scalar,RealScalar)
649 EIGEN_STATIC_ASSERT((internal::is_same<Scalar, typename OtherDerived::Scalar>::value),
700 Eigen::Map<Matrix<Scalar, Dynamic, 1> >(&this->m_data.value(0), rows()).setOnes();
791 Scalar sum() const;
813 EIGEN_DONT_INLINE Scalar& insertCompressed(Index row, Index col);
832 EIGEN_DONT_INLINE Scalar& insertUncompressed(Index row, Index col);
837 EIGEN_STRONG_INLINE Scalar& insertBackUncompressed(Index row, Index col)
858 default_prunning_func(const Scalar& ref, const RealScalar& eps) : reference(ref), epsilon(eps) {}
859 inline bool operator() (const Index&, const Index&, const Scalar& value) const
863 Scalar reference;
868 template<typename Scalar, int _Options, typename _Index>
869 class SparseMatrix<Scalar,_Options,_Index>::InnerIterator
883 inline const Scalar& value() const { return m_values[m_id]; }
884 inline Scalar& valueRef() { return const_cast<Scalar&>(m_values[m_id]); }
894 const Scalar* m_values;
901 template<typename Scalar, int _Options, typename _Index>
902 class SparseMatrix<Scalar,_Options,_Index>::ReverseInnerIterator
916 inline const Scalar& value() const { return m_values[m_id-1]; }
917 inline Scalar& valueRef() { return const_cast<Scalar&>(m_values[m_id-1]); }
927 const Scalar* m_values;
941 typedef typename SparseMatrixType::Scalar Scalar;
943 SparseMatrix<Scalar,IsRowMajor?ColMajor:RowMajor,Index> trMat(mat.rows(),mat.cols());
984 * Scalar value() const; // the value
985 * Scalar row() const; // the row index i
986 * Scalar col() const; // the column index j
1009 template<typename Scalar, int _Options, typename _Index>
1011 void SparseMatrix<Scalar,_Options,_Index>::setFromTriplets(const InputIterators& begin, const InputIterators& end)
1017 template<typename Scalar, int _Options, typename _Index>
1018 void SparseMatrix<Scalar,_Options,_Index>::sumupDuplicates()
1056 template<typename Scalar, int _Options, typename _Index>
1058 EIGEN_DONT_INLINE SparseMatrix<Scalar,_Options,_Index>& SparseMatrix<Scalar,_Options,_Index>::operator=(const SparseMatrixBase<OtherDerived>& other)
1060 EIGEN_STATIC_ASSERT((internal::is_same<Scalar, typename OtherDerived::Scalar>::value),
1119 EIGEN_DONT_INLINE typename SparseMatrix<_Scalar,_Options,_Index>::Scalar& SparseMatrix<_Scalar,_Options,_Index>::insertUncompressed(Index row, Index col)
1151 EIGEN_DONT_INLINE typename SparseMatrix<_Scalar,_Options,_Index>::Scalar& SparseMatrix<_Scalar,_Options,_Index>::insertCompressed(Index row, Index col)