Sha256: dae1333aea9f49dab6ad38dd628aab1956921b46d288ddc2b0ea2ade83c46266

Contents?: true

Size: 1.23 KB

Versions: 12

Compression:

Stored size: 1.23 KB

Contents

/* ========================================================================= */
/* === AMD_defaults ======================================================== */
/* ========================================================================= */

/* ------------------------------------------------------------------------- */
/* AMD, Copyright (c) Timothy A. Davis,					     */
/* Patrick R. Amestoy, and Iain S. Duff.  See ../README.txt for License.     */
/* email: DrTimothyAldenDavis@gmail.com                                      */
/* ------------------------------------------------------------------------- */

/* User-callable.  Sets default control parameters for AMD.  See amd.h
 * for details.
 */

#include "amd_internal.h"

/* ========================================================================= */
/* === AMD defaults ======================================================== */
/* ========================================================================= */

GLOBAL void AMD_defaults
(
    scs_float Control [ ]
)
{
    Int i ;

    if (Control != (scs_float *) NULL)
    {
	for (i = 0 ; i < AMD_CONTROL ; i++)
	{
	    Control [i] = 0 ;
	}
	Control [AMD_DENSE] = AMD_DEFAULT_DENSE ;
	Control [AMD_AGGRESSIVE] = AMD_DEFAULT_AGGRESSIVE ;
    }
}

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
scs-0.5.0 vendor/scs/linsys/external/amd/amd_defaults.c
scs-0.4.3 vendor/scs/linsys/external/amd/amd_defaults.c
scs-0.4.2 vendor/scs/linsys/external/amd/amd_defaults.c
scs-0.4.1 vendor/scs/linsys/external/amd/amd_defaults.c
scs-0.4.0 vendor/scs/linsys/external/amd/amd_defaults.c
scs-0.3.2 vendor/scs/linsys/external/amd/amd_defaults.c
scs-0.3.1 vendor/scs/linsys/external/amd/amd_defaults.c
scs-0.3.0 vendor/scs/linsys/external/amd/amd_defaults.c
scs-0.2.3 vendor/scs/linsys/external/amd/amd_defaults.c
scs-0.2.2 vendor/scs/linsys/external/amd/amd_defaults.c
scs-0.2.1 vendor/scs/linsys/external/amd/amd_defaults.c
scs-0.2.0 vendor/scs/linsys/external/amd/amd_defaults.c