Initializing help system before first use

getqexpstat

Purpose
Get information about a quadratic expression.
Synopsis
int getqexpstat(XPRMctx ctx, void *quadctx, mmquad_qexp q, int *nblin, int *nbqd, int *changed, XPRMmpvar **lsvar);
Arguments
ctx 
Mosel's execution context
quadctx 
Context of mmquad
Reference to a quadratic expression
nblin 
Pointer to which the number of linear terms is returned (may be NULL)
nbqd 
Pointer to which the number of quadratic terms is returned (may be NULL)
changed 
Pointer to which the change flag is returned (may be NULL). Possible values of this flag:
The expression q has been modified since the last call to this function
Otherwise
lsvar 
Pointer to which is returned the table of variables that appear in the quadratic expression q (may be NULL)
Return value
Total number of terms in the expression.
Further information
This function returns in its arguments information about a given quadratic expression. Any of these arguments may be NULL to indicate that the corresponding information is not required. The last entry of the table lsvar is NULL to indicate its end. This table is allocated by the module mmquad, it must be freed by the next call to this function or with function clearqexpstat.
Module

© 2001-2025 Fair Isaac Corporation. All rights reserved. This documentation is the property of Fair Isaac Corporation (“FICO”). Receipt or possession of this documentation does not convey rights to disclose, reproduce, make derivative works, use, or allow others to use it except solely for internal evaluation purposes to determine whether to purchase a license to the software described in this documentation, or as otherwise set forth in a written software license agreement between you and FICO (or a FICO affiliate). Use of this documentation and the software described in it must conform strictly to the foregoing permitted uses, and no other use is permitted.