Dew Stats Master .NET
TMtxMulLinReg.ValidSystem Method
Summary
Checks if system is valid.

Class
TMtxMulLinReg

Declaration
Function ValidSystem: boolean;
Result
True if A is not zero matrix and A.Rows (number of observables) is equal to Y.Length.
Description
Checks if system is valid.
 See Also 
A 
Y 

Example 1

Checks if defined system is valid:

// ... // y = A*b MtxMulLinReg1.A.SetIt(3,2,false,[-5,2, 1,4, 8,0.5]); MtxMulLinReg1.Y.SetIt(false,[-2, 1, 11]); MtxMulLinReg1.UseWeights := false; if MtxMulLinReg1.ValidSystem then MtxMulLinReg1.Recalc else ShowMessage('System not valid !'); // ...


Copyright 2008 Dew Research
http://www.dewresearch.com