list.3.man

来自「COOOL:CWP面向对象最优化库(CWP Object Oriented Op」· MAN 代码 · 共 61 行

MAN
61
字号
LIST(base)          C++ UTILITY CLASSES           LIST(base)                                                     Jun  1 15:25NAME    List - a simple class for lists of numbersSYNOPSIS    #include <List.hh>    class List        \fIPublic members\fP            int		l;            Type*	d;            List();            List(const List<Type>&);            ~List();            const Type& operator[](const int) const;            Type& operator[](const int);            List<Type> normalize();            void Reset();            int	length();            Type last();            Type first();            Vector<Type> ToVect();            Vector<Type> ToVect(int);            List<Type>& operator+=(const Type);            List<Type>& operator+=(const List<Type>&);            List<Type>& operator=(const List<Type>&);        \fIFriends\fP            List<Type> ToList(Vector<Type>&);            ostream& operator <<(ostream& os, const List<Type>&);            istream& operator >>(istream& is, List<Type>&);        \fIPrivate members\fP            void addvals(const int n, const Type* dv);            void ensureSubs(const int i);DESCRIPTION    List<Type>    is a simple array of floats that supports formatted i/o    with curly braces around the list.    It also supports convenient extension and combination of    arrays of Types.    CAVEATS    DEFINED MACROS    LIST_HHINCLUDED FILES    <iostream.h>SOURCE FILES    List.cc

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?