24 #ifndef KALDI_MATRIX_KALDI_VECTOR_INL_H_ 25 #define KALDI_MATRIX_KALDI_VECTOR_INL_H_ 1 29 template<
typename Real>
30 std::ostream & operator << (std::ostream &os, const VectorBase<Real> &rv) {
35 template<
typename Real>
41 template<
typename Real>
58 #endif // KALDI_MATRIX_KALDI_VECTOR_INL_H_ This code computes Goodness of Pronunciation (GOP) and extracts phone-level pronunciation feature for...
void Read(std::istream &in, bool binary, bool add=false)
Reads from C++ stream (option to add to existing contents).
std::istream & operator>>(std::istream &is, Matrix< Real > &M)
A class representing a vector.
Provides a vector abstraction class.
void AddVec(const Real alpha, const VectorBase< OtherReal > &v)
Add vector : *this = *this + alpha * rv (with casting between floats and doubles) ...
void Read(std::istream &in, bool binary, bool add=false)
Read function using C++ streams.