Changeset b16644 in git


Ignore:
Timestamp:
Jun 30, 1998, 6:31:24 PM (26 years ago)
Author:
Jens Schmidt <schmidt@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
a27df307c91f70f0f5d41b82d969ab659daea3b6
Parents:
1b43cfe16aa9a713a667bfa57eb3f37d7fe9400f
Message:
	* cf_algorithm.h: doc fixes


git-svn-id: file:///usr/local/Singular/svn/trunk@2266 2c84dea3-7e68-4137-9b89-c4e89433aadc
File:
1 edited

Legend:

Unmodified
Added
Removed
  • factory/cf_algorithm.h

    r1b43cf rb16644  
    11/* emacs edit mode for this file is -*- C++ -*- */
    2 /* $Id: cf_algorithm.h,v 1.10 1998-03-12 10:26:47 schmidt Exp $ */
     2/* $Id: cf_algorithm.h,v 1.11 1998-06-30 16:31:24 schmidt Exp $ */
    33
    44#ifndef INCL_CF_ALGORITHM_H
     
    99// cf_algorithm.h - declarations of higher level algorithms.
    1010//
     11// Header file corresponds to: cf_algorithms.cc, cf_chinese.cc,
     12//   cf_factor.cc, cf_linsys.cc, cf_resultant.cc
     13//
     14// Hierarchy: mathematical algorithms on canonical forms
     15//
     16// Developers note:
     17// ----------------
    1118// This header file collects declarations of most of the
    12 // functions in factory which implement higher level algorithms
     19// functions in Factory which implement higher level algorithms
    1320// on canonical forms (factorization, gcd, etc.) and declarations
    14 // of some low level mathematical functions, too (absolute vale,
     21// of some low level mathematical functions, too (absolute value,
    1522// euclidean norm, etc.).
    16 //
    17 // This header file corresponds to:
    18 //
    19 // cf_algorithms.cc, cf_chinese.cc, cf_factor.cc, cf_linsys.cc,
    20 // cf_resultant.cc
    2123//
    2224//}}}
     
    8284// returned, otherwise `f'.
    8385//
    84 // Most useful for integers and rationals.  May be used to
    85 // sign-normalize the leading coefficient of arbitrary
    86 // polynomials, too.
     86// This behaviour is most useful for integers and rationals.  But
     87// it may be used to sign-normalize the leading coefficient of
     88// arbitrary polynomials, too.
     89//
     90// Type info:
     91// ----------
     92// f: CurrentPP
    8793//
    8894//}}}
     
    9096abs ( const CanonicalForm & f )
    9197{
    92     // it is not only more general using `sign()', it is faster, too
     98    // it is not only more general to use `sign()' instead of a
     99    // direct comparison `f < 0', it is faster, too
    93100    if ( sign( f ) < 0 )
    94101        return -f;
Note: See TracChangeset for help on using the changeset viewer.