36 #ifndef RFC_VECTOR_N_H
37 #define RFC_VECTOR_N_H
164 for (
Real *p=
_start; p!=
_end; ++p) { *p = (t==0) ? 1. : *p / t; }
171 for (
Real *p=
_start; p!=
_end; ++p, ++
q) { *p = (*q==0) ? 1. : *p / *q; }
176 for (
Real *p=
_start; p!=
_end; ++p) { *p = (*p==0) ? 0. : 1. / *p; }
213 return reinterpret_cast<const Base&
>(*this);
277 if ( *p != *
q)
return false;
Self & operator+=(const Array_n_const &v1)
Self & operator-=(const Array_n_const &v)
Vector_n divide(const Array_n_const &v1, const Array_n_const &v2)
CGAL_END_NAMESPACE CGAL_BEGIN_NAMESPACE bool operator==(const Origin &o, const Point_2< R > &p)
Vector_3< T > operator*(T t, const Vector_3< T > &v)
Real squared_norm() const
Self & operator=(const Array_n_const &v)
Reference operator[](Size i)
Real const * Const_pointer
Self & operator*=(Real t)
Vector_n(const Array_n_const &v)
Vector_n max(const Array_n_const &v1, const Array_n_const &v2)
friend Vector_n max(const Array_n_const &v1, const Array_n_const &v2)
Real const * Const_pointer
friend Vector_n multiply(const Array_n_const &v1, const Array_n_const &v2)
Iterator_from_circulator< C, Ref, Ptr > operator+(Dist n, const Iterator_from_circulator< C, Ref, Ptr > &circ)
Self & operator=(const Self &)
friend Vector_n operator-(const Array_n_const &v1, const Array_n_const &v2)
Self & operator*=(Real t)
const Real & Const_reference
Vector_n multiply(const Array_n_const &v1, const Array_n_const &v2)
friend Vector_n multiply(const Array_n_const &v1, const Array_n_const &v2)
*********************************************************************Illinois Open Source License ****University of Illinois NCSA **Open Source License University of Illinois All rights reserved ****Developed free of to any person **obtaining a copy of this software and associated documentation to deal with the Software without including without limitation the rights to and or **sell copies of the and to permit persons to whom the **Software is furnished to do subject to the following this list of conditions and the following disclaimers ****Redistributions in binary form must reproduce the above **copyright this list of conditions and the following **disclaimers in the documentation and or other materials **provided with the distribution ****Neither the names of the Center for Simulation of Advanced the University of nor the names of its **contributors may be used to endorse or promote products derived **from this Software without specific prior written permission ****THE SOFTWARE IS PROVIDED AS WITHOUT WARRANTY OF ANY **EXPRESS OR INCLUDING BUT NOT LIMITED TO THE WARRANTIES **OF FITNESS FOR A PARTICULAR PURPOSE AND **NONINFRINGEMENT IN NO EVENT SHALL THE CONTRIBUTORS OR **COPYRIGHT HOLDERS BE LIABLE FOR ANY DAMAGES OR OTHER WHETHER IN AN ACTION OF TORT OR **ARISING OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE **USE OR OTHER DEALINGS WITH THE SOFTWARE v
Const_reference operator[](Size i) const
#define RFC_END_NAME_SPACE
Const_pointer begin() const
*********************************************************************Illinois Open Source License ****University of Illinois NCSA **Open Source License University of Illinois All rights reserved ****Developed free of to any person **obtaining a copy of this software and associated documentation to deal with the Software without including without limitation the rights to ** copy
friend bool operator==(const Array_n_const &v1, const Array_n_const &v2)
Array_n(Real *v1, Real *v2)
Const_pointer end() const
Real squared_norm() const
Const_reference operator[](Size i) const
Self & operator*=(const Array_n_const &v1)
friend Vector_n operator/(const Array_n_const &v1, Real a)
Self & operator/=(const Array_n_const &v1)
Array_n_const(const Real *v, Size n)
Array_n_const(const Real *v1, const Real *v2)
friend Real operator*(const Array_n_const &v1, const Array_n_const &v2)
Self & operator/=(const Array_n_const &v)
Self & operator*=(const Array_n_const &v1)
#define RFC_BEGIN_NAME_SPACE
Const_pointer end() const
friend Vector_n operator+(const Array_n_const &v1, const Array_n_const &v2)
Self & operator/=(Real t)
Self & operator/=(Real t)
Self & operator-=(const Array_n_const &v1)
friend Vector_n min(const Array_n_const &v1, const Array_n_const &v2)
Vector_n(const Vector_n &v)
Vector_n min(const Array_n_const &v1, const Array_n_const &v2)
Self & operator+=(const Array_n_const &v)
friend Vector_n min(const Array_n_const &v1, const Array_n_const &v2)
friend Vector_n operator-(const Array_n_const &v1, const Array_n_const &v2)
Const_pointer begin() const
const Real & Const_reference
friend Vector_n operator*(Real a, const Array_n_const &v1)
Self & operator=(const Array_n_const &v)
std::ostream & operator<<(std::ostream &os, const COM_exception &ex)
Print out a given exception.
friend Vector_n max(const Array_n_const &v1, const Array_n_const &v2)
const Real & Const_reference
Vector_n operator/(const Array_n_const &v1, Real a)
Real const * Const_pointer
friend Vector_n divide(const Array_n_const &v1, const Array_n_const &v2)
Array_n_const(const Self &v)
Point_2< R > operator-(const Origin &o, const Vector_2< R > &v)
friend Vector_n operator+(const Array_n_const &v1, const Array_n_const &v2)
friend Vector_n divide(const Array_n_const &v1, const Array_n_const &v2)
friend Vector_n operator/(const Array_n_const &v1, Real a)