📄 ghmm_intmatrix.h
字号:
/* @(#)GHMM_IntMatrix.h created by Peter Pipenbacher at 04 Mar 2002 * * Authors: Peter Pipenbacher (pipenb@zpr.uni-koeln.de) * file : $Source: /cvsroot/ghmm/ghmm/ghmm++/GHMM_IntMatrix.h,v $ * $Id: GHMM_IntMatrix.h,v 1.2 2003/02/28 15:09:21 wasinee Exp $ * * Copyright (C) 1998-2001, ZAIK/ZPR, Universit鋞 zu K鰈n * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * * */#ifndef _GHMM_INTMATRIX_H#define _GHMM_INTMATRIX_H 1#include <ghmm++/begin_code.h>#ifdef HAVE_NAMESPACESnamespace std {#endifclass GHMM_IntMatrix;class GHMM_IntVector;/** */class GHMM_IntMatrix { public: /** Constructor. */ GHMM_IntMatrix(int rows, int cols, int default_value = 0); /** Destructor. */ virtual ~GHMM_IntMatrix(); /** Returns name of class. */ virtual const char* toString() const; /** Writes a double matrix (without parenthesis). @param file: output file @param tab: format: leading tabs @param separator: format: separator for columns @param ending: format: end of a row */ void print(FILE *file, char *tab, char *separator, char *ending); /** C style double matrix. */ int** c_matrix; /** Rows of matrix. */ int rows; /** Columns of matrix. */ int cols;};#ifdef HAVE_NAMESPACES}#endif#include <ghmm++/close_code.h>#endif /* _GHMM_DOUBLEMATRIX_H */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -