/* ========================================================================= */1/* === AMD_defaults ======================================================== */2/* ========================================================================= */34/* ------------------------------------------------------------------------- */5/* AMD Version 1.1 (Jan. 21, 2004), Copyright (c) 2004 by Timothy A. Davis, */6/* Patrick R. Amestoy, and Iain S. Duff. See ../README for License. */7/* email: [email protected] CISE Department, Univ. of Florida. */8/* web: http://www.cise.ufl.edu/research/sparse/amd */9/* ------------------------------------------------------------------------- */1011/* User-callable. Sets default control parameters for AMD. See amd.h12* for details.13*/1415#include "amd_internal.h"1617GLOBAL void AMD_defaults18(19double Control [ ]20)21{22Int i ;23if (Control != (double *) NULL)24{25for (i = 0 ; i < AMD_CONTROL ; i++)26{27Control [i] = 0 ;28}29Control [AMD_DENSE] = AMD_DEFAULT_DENSE ;30Control [AMD_AGGRESSIVE] = AMD_DEFAULT_AGGRESSIVE ;31}32}333435