template
class
FVector<class,int>
: public FArray1D<class,int>
(Return to index)
A templated representation for vectors.
This class implements the arithmetic operations.
The copy constructor, destructor, and assignment operator generated
by the compiler perform the correct operation. For speed reasons
they are not implemented.
Type: |
Instantiable |
Superclasses: |
public FArray1D<class,int> |
Include file: |
./FixedAlgebra/FVector.hh |
Inheritance
Synopsis (including inherited members):
Documentation:
- Public members:
-
FVector
()
;
- Constructor.
Construct zero FVector.
-
FVector
(const T&)
;
- Constructor.
Set all vector elements to t.
-
FVector
(const T*)
;
- Constructor.
Fill all vector elements from the C-array t.
-
FVector
(const FArray1D<T,N>&)
;
- Conversion from one-dimensional array.
-
FVector& operator*=
(const T&)
;
- Multiply by scalar and assign.
-
FVector& operator+=
(const FVector&)
;
- Add FVector and assign.
-
FVector operator-
()const
;
- Change sign.
-
FVector& operator-=
(const FVector&)
;
- Subtract FVector and assign.
-
FVector& operator/=
(const T&)
;
- Divide by scalar and assign.
Documentation generated by fci on Mon Feb 7 11:41:39 2000