Rocstar  1.0
Rocstar multiphysics simulation application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
NTS Namespace Reference

Functions

template<class NT >
NT abs (const NT &x)
 
CGAL_TEMPLATE_NULL double abs (const double &d)
 

Function Documentation

NT NTS::abs ( const NT &  x)

Definition at line 130 of file number_utils.h.

References x.

Referenced by cimg_library::cimg::abs(), FaceOffset_3::build_ridge_neighbor_list(), SegmentS2< FT >::collinear_has_on(), RFC_Window_overlay::comp_angle_defect(), compare_deltax_deltayC2(), Alg_Metric_Base_3::compute_shape(), Alg_Metric_Base_3::compute_skew(), Propagation_3::convert_constraints(), Pane_connectivity::create_b2map(), Bbox_3::do_match(), FaceOffset_3::eigen_analyze_vertex(), Rocmop::eigen_analyze_vertex(), Rocmop::get_constraint_directions(), Overlay::get_green_parent(), RFC_Window_overlay::identify_features_0(), init_constraints_labscale(), init_constraints_myacm(), init_constraints_staraft(), init_constraints_starslice(), Overlay::insert_node_in_blue_edge(), Overlay::intersect_link_helper(), Segment_2_Segment_2_pair< R >::intersection_type(), FaceOffset_3::is_acute_corner(), FaceOffset_3::is_acute_ridge(), nHops(), FaceOffset_3::nulaplacian_smooth(), FaceOffset_3::obtain_constrained_directions(), FaceOffset_3::obtain_face_offset(), Rocblas::limit1v< T >::operator()(), Abs< NT >::operator()(), output_solution(), rational_rotation_approximation(), FaceOffset_3::reclassify_ridge_vertices(), reduce_maxabs(), reduce_minabs(), FaceOffset_3::solve_quadratic_func(), TestingObject< ResultsType >::Test__MidPointQuadrature(), TestingObject< ResultsType >::Test__TrapezoidQuadrature(), tet_vol(), and Element_node_enumerator::vertex().

131 {
132 #ifndef CGAL_NO_NTS_NAMESPACE
133  bool abs_is_obsolete__qualify_call_by_CGAL_NTS;
134 #endif // CGAL_NO_NTS_NAMESPACE
135  return (x < NT(0)) ? -x: x;
136 }
void int int REAL * x
Definition: read.cpp:74

Here is the caller graph for this function:

CGAL_TEMPLATE_NULL double NTS::abs ( const double &  d)
inline

Definition at line 212 of file double.h.

213 { return CGAL_CLIB_STD::fabs(d); }
const NT & d