Lines Matching refs:Hash

34 template<class Key, class Hash>
35 bool SparseWeightVector<Key, Hash>::IsValid() const {
47 template<class Key, class Hash>
48 void SparseWeightVector<Key, Hash>::AdditiveWeightUpdate(
50 const SparseWeightVector<Key, Hash> &w1,
61 template<class Key, class Hash>
62 void SparseWeightVector<Key, Hash>::AdditiveSquaredWeightUpdate(
64 const SparseWeightVector<Key, Hash> &w1,
76 template<class Key, class Hash>
77 void SparseWeightVector<Key, Hash>::AdditiveInvSqrtWeightUpdate(
79 const SparseWeightVector<Key, Hash> &w1,
93 template<class Key, class Hash>
94 void SparseWeightVector<Key, Hash>::AdditiveWeightUpdateBounded(
96 const SparseWeightVector<Key, Hash> &w1,
121 template<class Key, class Hash>
122 void SparseWeightVector<Key, Hash>::MultWeightUpdate(
123 const SparseWeightVector<Key, Hash> &w1) {
133 template<class Key, class Hash>
134 void SparseWeightVector<Key, Hash>::MultWeightUpdateBounded(
135 const SparseWeightVector<Key, Hash> &w1) {
160 template<class Key, class Hash>
161 void SparseWeightVector<Key, Hash>::ResetNormalizer() {
170 template<class Key, class Hash>
171 void SparseWeightVector<Key, Hash>::ReprojectToBounds() {
193 template<class Key, class Hash>
194 double SparseWeightVector<Key, Hash>::DotProduct(
195 const SparseWeightVector<Key, Hash> &w1) const {
215 template<class Key, class Hash>
216 double SparseWeightVector<Key, Hash>::LxNorm(const double x) const {
227 template<class Key, class Hash>
228 double SparseWeightVector<Key, Hash>::L2Norm() const {
238 template<class Key, class Hash>
239 double SparseWeightVector<Key, Hash>::L1Norm() const {
249 template<class Key, class Hash>
250 double SparseWeightVector<Key, Hash>::L0Norm(
264 template<class Key, class Hash>
265 void SparseWeightVector<Key, Hash>::ReprojectL0(const double l0_norm) {
302 template<class Key, class Hash>
303 void SparseWeightVector<Key, Hash>::ReprojectL1(const double l1_norm) {
350 template<class Key, class Hash>
351 void SparseWeightVector<Key, Hash>::ReprojectL2(const double l2_norm) {
360 template<class Key, class Hash>
361 int32 SparseWeightVector<Key, Hash>::Reproject(const double norm,