00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027 #ifndef CEYLAN_VECTOR_H_
00028 #define CEYLAN_VECTOR_H_
00029
00030
00031 #include "CeylanTextDisplayable.h"
00032 #include "CeylanLinear.h"
00033
00034
00035 #include <string>
00036
00037
00038
00039 namespace Ceylan
00040 {
00041
00042
00043 namespace Maths
00044 {
00045
00046
00047
00048 namespace Linear
00049 {
00050
00051
00052
00076 class CEYLAN_DLL Vector: public TextDisplayable
00077 {
00078
00079
00080 public:
00081
00082
00083
00088 Vector() ;
00089
00090
00092 virtual ~Vector() throw() ;
00093
00094
00095
00101 virtual void nullify() ;
00102
00103
00104
00110 virtual void setAllElementsTo( Real commonValue ) = 0 ;
00111
00112
00113
00121 virtual void normalize() = 0 ;
00122
00123
00124
00131 virtual Real magnitude() const = 0 ;
00132
00133
00134
00147 virtual const std::string toString(
00148 VerbosityLevels level = high ) const ;
00149
00150
00151
00156 static const MatrixIndex Dimensions = 0 ;
00157
00158
00159
00160 } ;
00161
00162
00163 }
00164
00165 }
00166
00167 }
00168
00169
00170
00171 #endif // CEYLAN_VECTOR_H_
00172